We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e7a68 commit edccf86Copy full SHA for edccf86
tests/test_base_sql/test_select_structure.py
@@ -1326,13 +1326,15 @@ def test_lateral_join(self):
1326
INNER JOIN LATERAL (SELECT *
1327
FROM table2 b
1328
WHERE a.x=b.x
1329
- LIMIT 1) b ON true
+ LIMIT 1) b ON 1=1
1330
'''
1331
1332
expected_ast = Select(
1333
targets=[Star()],
1334
from_table=Join(
1335
- condition=Constant(True),
+ condition=BinaryOperation(op='=', args=[
1336
+ Constant(1), Constant(1)
1337
+ ]),
1338
join_type='INNER JOIN LATERAL',
1339
left=Identifier('table1', alias=Identifier('a')),
1340
right=Select(
0 commit comments