Skip to content

Adding support for NATURAL and LATERAL joins in Snowflake #300

Closed Answered by tobymao
teej asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @teej.

In general, you should always add things to the generic code as the default path is supposed to be a super set of of SQL. Only go to dialect specific code when it's necessary.

  1. New token Natural should be in global.
  2. To add the new join, just put it into the global parser as natural join seems to be generic enough.
  3. nothing should be needed here because you'll add everything to the generic code
  4. i don't know the semantics of this, but do you mean oracle supports on for natural but snowflake doesn't? if so the only thing i would add is in snowflake a warning that on is not supported and then it would omit it on generation

For lateral joins, again, try to do it as generically as po…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@teej
Comment options

Answer selected by teej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants