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

Support named schema in existing DDL statements #158

Merged
merged 14 commits into from
Nov 4, 2024

Conversation

apstndb
Copy link
Contributor

@apstndb apstndb commented Oct 21, 2024

This PR implements named schema support in existing DDL statements. #100

  • I believe testdata/input/ddl/named_schema_*.sql covers current named schema use cases.
  • Many breaking changes because of replacing *Ident with *Path.
    • It need to relax the current constraints of Path.Idents to permit len(Idents) == 1

Note

I am thinking That using Path as FQN implementation is natural because is is possible to be extended to multi level named schema, but temporarily implemented as FQN{Name string; Schema string} for PoC.

@apstndb apstndb marked this pull request as draft October 21, 2024 04:08
@apstndb
Copy link
Contributor Author

apstndb commented Oct 21, 2024

Turn to draft because it is not completed.

@apstndb apstndb changed the title Support named schema in DDL Support named schema in existing DDL statements Oct 21, 2024
@apstndb apstndb marked this pull request as ready for review November 1, 2024 05:56
Copy link
Collaborator

@makenowjust makenowjust left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@makenowjust makenowjust merged commit 57d0f92 into cloudspannerecosystem:main Nov 4, 2024
2 checks passed
@apstndb apstndb mentioned this pull request Nov 5, 2024
5 tasks
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.

2 participants