Skip to content
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

Support CREATE TABLE ... AS SELECT in SQL Object Model #1082

Merged
merged 4 commits into from
Mar 19, 2024

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Mar 18, 2024

Description

When generating the tasks for the execution plan, the CREATE TABLE ... AS SELECT statement was not generated through the SQL object model. Instead, it was generated when the associated task ran. For better consistency and to support potential SQL-engine differences, this PR adds the appropriate SQL node to model that statement. The execution task updates will be done in a separate PR.

@cla-bot cla-bot bot added the cla:yes label Mar 18, 2024
@plypaul plypaul marked this pull request as ready for review March 18, 2024 20:27
@property
@override
def description(self) -> str:
return "Create table {self."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this didn't get finished!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

Base automatically changed from plypaul--09.2--sql-fixes to main March 19, 2024 07:20
@plypaul plypaul force-pushed the plypaul--09.3--ctas branch from 265ef74 to 07b902e Compare March 19, 2024 17:05
@plypaul plypaul merged commit 3dfa518 into main Mar 19, 2024
9 checks passed
@plypaul plypaul deleted the plypaul--09.3--ctas branch March 19, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants