d0ad381833
* test: add spark query unit test and check grammar * test: add select explain、lateralSubQuery、transform unit test * chore: fileName exchange --------- Co-authored-by: dilu <dilu@dtstack.com>
10 lines
241 B
SQL
10 lines
241 B
SQL
-- [ LATERAL ] primary_relation [ join_relation ]
|
|
|
|
SELECT * FROM t1,
|
|
LATERAL (SELECT * FROM t2 WHERE t1.c1 = t2.c1);
|
|
|
|
SELECT a, b, c FROM t1,
|
|
LATERAL (SELECT c1 + c2 AS a),
|
|
LATERAL (SELECT c1 - c2 AS b),
|
|
LATERAL (SELECT a * b AS c);
|