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

consider new join syntax leveraging key definitions #378

Open
agentm opened this issue Oct 31, 2024 · 0 comments
Open

consider new join syntax leveraging key definitions #378

agentm opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@agentm
Copy link
Owner

agentm commented Oct 31, 2024

Joins in TutorialD are currently a bit clunky because one must rename attributes to be equal. Instead, we propose new syntactic sugar to generate the renames from declared foreign keys:

Proposed syntax:

rvA join rvB using foreign key rvA_rvB_fk

This syntax should use the existing attribute names, if possible, otherwise the expression could create arbitrarily-named attributes, which is bad for reproducibility.

@agentm agentm self-assigned this Oct 31, 2024
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