-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide **IMPORT DATA** statement #476
Comments
Some clarification needed here @sherman-the-tank :
|
@darionyaphet has give a patch about download procedure.
|
You could go on the ingest procedure @spacewalkman |
Because the patch has not been merged in, we could discuss which communication way is better, rpc or http? |
Why MetaServer in charge? IMO, MetaServer is just a meta provider, should not involve in something like data manipulation procedure. It's QueryServer who receive the
If it's all about communication, Why not let Thrift do it? Introducing an extra HTTP layer would suffer from security vulnerability and communication inefficiency. WDYT? @dangleptr @darionyaphet |
That's a good question. Not only download/ingest, some features in coming we could take into account too. For example, compaction, balance, snapshot etc.
For http, the only advantage is it could be accessed by different terminals, for example, web console. |
We will make sure the file number is same with nebula‘s partition and how to assign the SST Files for ingest. |
@darionyaphet @dangleptr |
Not only the information, think about that some admin operations need a long procedure, maybe we want to record the state step by step, and do failover. For queryEngine, it has no states, no leader, if it crashed, we can not do failover with it. |
Fair enough |
I have two question:
|
IMO, It's a long running task, we should not block the console, but return a handle to periodically polling the task status. BUT it has following cons:
Download & Ingest are just 2 conceptual PHASE of the single |
Currently, we'd better use two command to control the whole procedure.
Yes, we need this feature. |
Awesome discussion thread 👍 Way to go, guys!! Here are some of my thoughts
The last two points also apply to the index repair and other tasks |
Regard tasks, as soon as a task is created on the Meta Service, it is global, not associated with any space |
Co-authored-by: endy.li <[email protected]>
We want to support bulk load from the console. The statement could look like this
IMPORT DATA FROM // Will be executed in console
IMPORT DATA FROM SERVER // Will be executed on the query engine
The text was updated successfully, but these errors were encountered: