make test stable

This commit is contained in:
Artem Zuikov 2020-02-28 15:37:15 +03:00
parent e06432af60
commit c4fc8e4d9d
2 changed files with 48 additions and 49 deletions

View File

@ -1,44 +1,44 @@
on
l \N \N String Nullable(String)
l \N \N String Nullable(String)
r \N String Nullable(String)
l \N \N String Nullable(String)
\N r \N Nullable(String) Nullable(String)
l \N \N String Nullable(String)
l \N \N String Nullable(String)
r \N String Nullable(String)
l \N \N String Nullable(String)
\N r \N Nullable(String) Nullable(String)
\N \N
\N \N
using
l \N String Nullable(String)
l \N String Nullable(String)
\N String Nullable(String)
l \N String Nullable(String)
\N \N Nullable(String) Nullable(String)
l \N String Nullable(String)
l \N String Nullable(String)
\N String Nullable(String)
l \N String Nullable(String)
\N \N Nullable(String) Nullable(String)
\N \N
\N \N
on + join_use_nulls
l \N \N TODO Nullable(String)
l \N \N TODO Nullable(String)
\N r \N TODO Nullable(String)
l \N \N String Nullable(String)
l \N \N Nullable(String) Nullable(String)
\N r \N Nullable(String) Nullable(String)
\N r \N Nullable(String) Nullable(String)
l \N \N String Nullable(String)
l \N \N Nullable(String) Nullable(String)
\N r \N Nullable(String) Nullable(String)
l \N \N TODO Nullable(String)
l \N \N TODO Nullable(String)
\N r \N TODO Nullable(String)
\N r \N Nullable(String) Nullable(String)
\N \N
\N \N
using + join_use_nulls
l \N TODO Nullable(String)
l \N TODO Nullable(String)
\N \N TODO Nullable(String)
l \N String Nullable(String)
l \N Nullable(String) Nullable(String)
\N \N Nullable(String) Nullable(String)
\N \N Nullable(String) Nullable(String)
l \N String Nullable(String)
l \N Nullable(String) Nullable(String)
\N \N Nullable(String) Nullable(String)
l \N TODO Nullable(String)
l \N TODO Nullable(String)
\N \N TODO Nullable(String)
\N \N Nullable(String) Nullable(String)
\N \N
\N \N

View File

@ -12,58 +12,57 @@ insert into t3_00848 (id) values ('r');
SELECT 'on';
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 ANY LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 ANY FULL JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 ANY FULL JOIN t3_00848 ON t2_00848.id = t3_00848.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY FULL JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 ANY FULL JOIN t3_00848 t3 ON t2.id = t3.id ORDER BY t2.id, t3.id;
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 FULL JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 FULL JOIN t3_00848 ON t2_00848.id = t3_00848.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 FULL JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 FULL JOIN t3_00848 t3 ON t2.id = t3.id ORDER BY t2.id, t3.id;;
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 ANY LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT 'using';
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 ANY LEFT JOIN t3_00848 USING(id);
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 ANY FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 ANY FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY FULL JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 ANY FULL JOIN t3_00848 t3 USING(id) ORDER BY t2.id, t3.id;
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 LEFT JOIN t3_00848 USING(id);
SELECT *, toTypeName(t1_00848.id), toTypeName(t3_00848.id) FROM t1_00848 FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 FULL JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 FULL JOIN t3_00848 t3 USING(id) ORDER BY t2.id, t3.id;
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 ANY LEFT JOIN t3_00848 USING(id);
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 LEFT JOIN t3_00848 USING(id);
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SET join_use_nulls = 1;
-- TODO: toTypeName(t1_00848.id) String -> Nullable(String)
SELECT 'on + join_use_nulls';
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 ANY LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 ANY FULL JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 ANY FULL JOIN t3_00848 ON t2_00848.id = t3_00848.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY FULL JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 ANY FULL JOIN t3_00848 t3 ON t2.id = t3.id ORDER BY t2.id, t3.id;
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 FULL JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 FULL JOIN t3_00848 ON t2_00848.id = t3_00848.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 FULL JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 FULL JOIN t3_00848 t3 ON t2.id = t3.id ORDER BY t2.id, t3.id;
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 ANY LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 LEFT JOIN t3_00848 ON t1_00848.id = t3_00848.id;
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 LEFT JOIN t3_00848 t3 ON t1.id = t3.id ORDER BY t1.id, t3.id;
SELECT 'using + join_use_nulls';
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 ANY LEFT JOIN t3_00848 USING(id);
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 ANY FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 ANY FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 ANY FULL JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 ANY FULL JOIN t3_00848 t3 USING(id) ORDER BY t2.id, t3.id;
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 LEFT JOIN t3_00848 USING(id);
SELECT *, 'TODO', toTypeName(t3_00848.id) FROM t1_00848 FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t2_00848.id), toTypeName(t3_00848.id) FROM t2_00848 FULL JOIN t3_00848 USING(id);
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t1.id), toTypeName(t3.id) FROM t1_00848 t1 FULL JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT *, toTypeName(t2.id), toTypeName(t3.id) FROM t2_00848 t2 FULL JOIN t3_00848 t3 USING(id) ORDER BY t2.id, t3.id;
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 ANY LEFT JOIN t3_00848 USING(id);
SELECT t3_00848.id = 'l', t3_00848.not_id = 'l' FROM t1_00848 LEFT JOIN t3_00848 USING(id);
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 ANY LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
SELECT t3.id = 'l', t3.not_id = 'l' FROM t1_00848 t1 LEFT JOIN t3_00848 t3 USING(id) ORDER BY t1.id, t3.id;
DROP TABLE t1_00848;
DROP TABLE t2_00848;