-
Notifications
You must be signed in to change notification settings - Fork 263
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
Move load and upload out of binder. #509
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ColumnDefinition( | ||
"name", ColumnType.TEXT, None, [], ColConstraintInfo(unique=True) | ||
), | ||
ColumnDefinition("id", ColumnType.INTEGER, None, []), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still want to use a explicit id
column or change to _row_id
column?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiashenC The function is moved out from the binder for clarification (since it is not used in binder anymore). No modifications are made. Regarding the id vs _row_id, I do not have preference, either works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, just get your opinion if we can get rid of this redundant column. Others LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just come to my mind, under the current implementation. id and _row_id are different when a dataset has more than 1 video. id restarts from 0/1 for every video. _row_id probably should not.
Due to the explain command, the catalog operations required by load and upload can not be completed in the binder. Move them to executor instead.