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

[CALCITE-4899] Support hint for lateral table syntax #2696

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Tartarus0zm
Copy link

What is the purpose of the change

Support hint for lateral table syntax

Verifying this change

  • Add tests in SqlHintsConverterTest to validate the hint could be propagated to Correlate
  • Add tests in RelToSqlConverterTest

@Tartarus0zm
Copy link
Author

@danny0405 please take a look, if you have time, thanks

@Tartarus0zm
Copy link
Author

@danny0405 I have updated the commit, please take a look

@Tartarus0zm
Copy link
Author

@danny0405 I have updated the commit, please take a look, thanks

@danny0405
Copy link
Contributor

danny0405 commented Mar 19, 2022

I can not find any vendor that supports hints for functions, let's be conservative here, does the query hints like

/*+ tvf_join('hash', 'table name') */

works here ? You can add custom validations for the hint anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants