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

Super Type Demonstration #304

Closed
wants to merge 1 commit into from
Closed

Super Type Demonstration #304

wants to merge 1 commit into from

Conversation

Hydrocharged
Copy link

This is the Vitess side of the super type demonstration implementation. This serves as a sort of "implementation guide" to see what kinds of changes a super type could potentially need. For Vitess, Doltgres will need a way to inject arbitrary expressions into the AST, since the Vitess AST is being used as an intermediate format. Currently, all nodes are for specific actions that aren't necessarily able to be generalized across SQL implementations (that is, anything that isn't MySQL). Doltgres needs to be able to add its own nodes without needing to add everything to Vitess, and Vitess should remain focused on MySQL syntax.

The best solution would require a new AST format that's generic to all SQL implementations (something like assembly being applicable to all programming languages), so this is sort of a "step 1" toward that goal.

@Hydrocharged Hydrocharged requested a review from zachmu as a code owner January 22, 2024 06:38
@Hydrocharged Hydrocharged marked this pull request as draft January 22, 2024 06:41
@Hydrocharged Hydrocharged removed the request for review from zachmu January 22, 2024 06:42
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.

1 participant