Whole file

David-Wobrock/sqlvalidator

The author described this change as Fix #25 -- Handle JOIN EACH syntax from Legacy BigQuery SQL dialect. It counts as a record because the check below fails on the code as it stood at fccfe984c and passes on ee6b9d6d0, with nothing else changed between the two runs.

Fix saved2021-06-13
Sharing licenceMIT · LICENSE
Change size+1 1

What the code was meant to do, written into the code itself as a save note

Fix #25 -- Handle JOIN EACH syntax from Legacy BigQuery SQL dialect

The change

10391039
10401040
10411041 class Join(Expression):
1042- VALUES = ("join", "inner", "left", "right", "full", "cross", "outer", ",")
1042+ VALUES = ("join", "inner", "left", "right", "full", "cross", "outer", ",", "each")
10431043
10441044 def __init__(self, join_type, left_from, right_from, on, using):
10451045 self.join_type = join_type

The check that tells the two apart

failpass·tests/integration/test_formatting.py::test_plain_join_each

Check file tests/integration/test_formatting.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.

Origin and history

The code before itfccfe984c19fba421e36121df88174b898b2edf8
Broken version dated2021-06-13
Modulesqlvalidator.grammar.sql
Units changedJoin
Fingerprint82ed625f0f3ed6de
Checked2026-08-18 by goldset/0.1

Every field above is generated by our program. None of it is written by hand.

Other bugs found in David-Wobrock/sqlvalidator