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

[Bug]: Show create table return incorrect sql with spark sql #2272

Closed
2 tasks done
Tracked by #2448
GavinH1984 opened this issue Nov 9, 2023 · 0 comments · Fixed by #2321
Closed
2 tasks done
Tracked by #2448

[Bug]: Show create table return incorrect sql with spark sql #2272

GavinH1984 opened this issue Nov 9, 2023 · 0 comments · Fixed by #2321
Labels
type:bug Something isn't working

Comments

@GavinH1984
Copy link
Contributor

What happened?

show create table with spark have some incorrect result:

  1. show create table with unkeyed table with return a magic name:
image
  1. show create table with keyed table missing the primary key definition.

Affects Versions

0.6.0

What engines are you seeing the problem on?

Spark

How to reproduce

  1. show create table with unkeyed table issue
  • create a unkey arctic table
  • using show create table xxx with spark sql
  • the return sql will showing incorect table name.
  1. show create table with key arctic table.
  • create a key arctic table
  • using show create table xxx with spark sql
  • the return sql will missing the primay key definiton

Relevant log output

N/A

Anything else

N/A

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@GavinH1984 GavinH1984 added the type:bug Something isn't working label Nov 9, 2023
@GavinH1984 GavinH1984 changed the title [Bug]: [Bug]: Show create table return incorrect sql with spark sql Nov 9, 2023
@zhoujinsong zhoujinsong mentioned this issue Dec 19, 2023
33 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant