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

[SPARK-49078][SQL] Support show columns syntax in v2 table #47568

Closed
wants to merge 13 commits into from

Conversation

xuzifu666
Copy link
Contributor

@xuzifu666 xuzifu666 commented Aug 1, 2024

What changes were proposed in this pull request?

Support v2 table with show columns syntax.

Why are the changes needed?

In lakehouse format such as Paimon、Iceberg,table are v2 which not support show column syntax,this pr is aimed to support it

Does this PR introduce any user-facing change?

No

How was this patch tested?

DataSourceV2SQLSuite

Was this patch authored or co-authored using generative AI tooling?

no

@xuzifu666
Copy link
Contributor Author

xuzifu666 commented Aug 2, 2024

1722580005773.png
return columns in array

@yaooqinn
Copy link
Member

yaooqinn commented Aug 2, 2024

Also cc @cloud-fan

@yaooqinn
Copy link
Member

yaooqinn commented Aug 2, 2024

Can you retrigger the CI?

@xuzifu666
Copy link
Contributor Author

Can you retrigger the CI?

OK i try it@yaooqinn

Copy link
Member

@yaooqinn yaooqinn left a comment

Choose a reason for hiding this comment

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

LGTM

@yaooqinn yaooqinn closed this in 94f8872 Aug 5, 2024
@yaooqinn
Copy link
Member

yaooqinn commented Aug 5, 2024

Merged to master, thank you @xuzifu666

@cloud-fan
Copy link
Contributor

late LGTM

fusheng-rd pushed a commit to fusheng-rd/spark that referenced this pull request Aug 6, 2024
### What changes were proposed in this pull request?

Support v2 table with show columns syntax.

### Why are the changes needed?

In lakehouse format such as Paimon、Iceberg,table are v2 which not support show column syntax,this pr is aimed to support it

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

DataSourceV2SQLSuite

### Was this patch authored or co-authored using generative AI tooling?

no

Closes apache#47568 from xuzifu666/support_show_columns_v2.

Lead-authored-by: xuyu <11161569@vivo.com>
Co-authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Kent Yao <yao@apache.org>
dongjoon-hyun pushed a commit that referenced this pull request Aug 12, 2024
…2TablesError in QueryCompilationErrors and add more uts

### What changes were proposed in this pull request?

Clear unused error methods in QueryCompilationErrors.

### Why are the changes needed?

Due to had support show columns in v2 table(#47568), so the check method is not needed any more.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

not need

### Was this patch authored or co-authored using generative AI tooling?

Closes #47701 from xuzifu666/rm_showcolumnsv2.

Lead-authored-by: xuyu <11161569@vivo.com>
Co-authored-by: xuzifu666 <1206332514@qq.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
IvanK-db pushed a commit to IvanK-db/spark that referenced this pull request Sep 20, 2024
…2TablesError in QueryCompilationErrors and add more uts

### What changes were proposed in this pull request?

Clear unused error methods in QueryCompilationErrors.

### Why are the changes needed?

Due to had support show columns in v2 table(apache#47568), so the check method is not needed any more.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

not need

### Was this patch authored or co-authored using generative AI tooling?

Closes apache#47701 from xuzifu666/rm_showcolumnsv2.

Lead-authored-by: xuyu <11161569@vivo.com>
Co-authored-by: xuzifu666 <1206332514@qq.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
### What changes were proposed in this pull request?

Support v2 table with show columns syntax.

### Why are the changes needed?

In lakehouse format such as Paimon、Iceberg,table are v2 which not support show column syntax,this pr is aimed to support it

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

DataSourceV2SQLSuite

### Was this patch authored or co-authored using generative AI tooling?

no

Closes apache#47568 from xuzifu666/support_show_columns_v2.

Lead-authored-by: xuyu <11161569@vivo.com>
Co-authored-by: Kent Yao <yao@apache.org>
Signed-off-by: Kent Yao <yao@apache.org>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
…2TablesError in QueryCompilationErrors and add more uts

### What changes were proposed in this pull request?

Clear unused error methods in QueryCompilationErrors.

### Why are the changes needed?

Due to had support show columns in v2 table(apache#47568), so the check method is not needed any more.

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

not need

### Was this patch authored or co-authored using generative AI tooling?

Closes apache#47701 from xuzifu666/rm_showcolumnsv2.

Lead-authored-by: xuyu <11161569@vivo.com>
Co-authored-by: xuzifu666 <1206332514@qq.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants