-
Notifications
You must be signed in to change notification settings - Fork 28k
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
[SPARK-35283][SQL] Support query some DDL with CTES #32852
Conversation
Test build #139606 has finished for PR 32852 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139610 has finished for PR 32852 at commit
|
This is MySQL syntax:
|
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
Outdated
Show resolved
Hide resolved
Kubernetes integration test starting |
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
Show resolved
Hide resolved
Kubernetes integration test status success |
|
Test build #139623 has finished for PR 32852 at commit
|
Kubernetes integration test starting |
Test build #139638 has finished for PR 32852 at commit
|
Kubernetes integration test status success |
Test build #139647 has finished for PR 32852 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status success |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139668 has finished for PR 32852 at commit
|
ping @cloud-fan @viirya @wangyum @maropu |
Looks OK to me. cc @cloud-fan |
Kubernetes integration test starting |
Kubernetes integration test status success |
Test build #139965 has finished for PR 32852 at commit
|
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
What changes were proposed in this pull request?
Some command used to display metadata, such as:
SHOW TABLES
,SHOW TABLE EXTENDED
,SHOW TBLPROPERTIES
and so no.If the output rows much than screen height, the output very unfriendly to developers.
So we should have a way to filter the output like the behavior of
WITH s AS (SHOW NAMESPACES) SELECT * FROM s WHERE namespace = 'query_ddl_namespace';
#32513 replace commands with something like local relation that produces unsafe rows, so can be more plan nodes above commands.
Why are the changes needed?
This PR provides a better way to display DDL when output rows much than screen height.
Does this PR introduce any user-facing change?
'Yes'. A new syntax.
How was this patch tested?
New tests.