Skip to content

Commit

Permalink
Update keywords_lists.py to add Natural Join (#403)
Browse files Browse the repository at this point in the history
SQLlite supports NATURAL JOIN and therefore this should have support handle those as well. Currently Subqueries or tables listed after NATURAL JOIN don't get picked up

Co-authored-by: Maciej Brencz <maciej.brencz@gmail.com>
  • Loading branch information
lavkeshg and macbre committed Sep 24, 2023
1 parent c76aacb commit 9590153
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql_metadata/keywords_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"RIGHTJOIN",
"LEFTOUTERJOIN",
"RIGHTOUTERJOIN",
"NATURALJOIN",
"INTO",
"UPDATE",
"TABLE",
Expand All @@ -49,6 +50,7 @@
"RIGHTJOIN",
"LEFTOUTERJOIN",
"RIGHTOUTERJOIN",
"NATURALJOIN",
}

# section of a query in which column can exists
Expand Down

0 comments on commit 9590153

Please sign in to comment.