Skip to content

refactor: allow no explicit columns in maxcompute views #352

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

Conversation

ahmadnaufal
Copy link

Summary
Refactor Maxcompute view creation query so that MaxCompute views can be created without having explicitly defined the columns.

Per Maxcompute documentation on the view creation query (doc), view query can be executed without explicitly providing any columns. So this query

CREATE VIEW project.database.sample_view AS SELECT c1 FROM project.database.sample_table

is equal to

CREATE VIEW project.database.sample_view (c1) AS SELECT c1 FROM project.database.sample_table

@sbchaos sbchaos closed this May 15, 2025
@sbchaos sbchaos deleted the refactor/maxcompute-view-allow-empty-column branch May 30, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants