-
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
feat: Load regex support #513
Conversation
eva/executor/rename_executor.py
Outdated
CatalogManager().rename_table(self.node.new_name, self.node.old_table.table) | ||
try: | ||
obj = self.node.old_table.table.table_obj | ||
print(obj) |
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.
Extra print here.
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, will remove it
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, will remove it
super().__init__(StatementType.DROP) | ||
self._table_refs = table_refs | ||
self._table_infos = table_infos |
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 trying to understand the difference here. Why is this changed to TableInfo
from TableRef
?
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.
The idea is that drop
will always be on a table, so it is unnecessary to use the abstraction TableRef
which can be a join, subquery etc
raise RuntimeError(str(e)) | ||
except Exception as e: | ||
logger.exception(str(e)) | ||
raise RuntimeError(str(e)) |
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.
Duplicate error handler?
LOAD VIDEO "/path/to/files/*.mp4" INTO MyVidoes;
Upload
followed byLOAD
is no longer supported._row_id
from theselect *
DROP IF EXISTS
case.