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

How to get DDL/DML SQL type without catalog? #129

Open
ChariotChai opened this issue Jan 19, 2023 · 0 comments
Open

How to get DDL/DML SQL type without catalog? #129

ChariotChai opened this issue Jan 19, 2023 · 0 comments

Comments

@ChariotChai
Copy link

Hi team, I've known about how to extract table names from SQL. And I wonder could I get the SQL type (a create table statement/ a drop table statement/...) without catalog. For when I extract table names without setSupportsAllStatementKinds, it throws exception that com.google.zetasql.SqlException: Statement not supported: CreateTableStatement, so I think maybe the SQL statement type could be got without catalog.
Thanks in advance.

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

No branches or pull requests

1 participant