Apache DataFusion SQL Query Engine
Test LIKE with dynamic pattern (#13141)
Piotr Findeisen903a098365df
diff --git a/datafusion/sqllogictest/test_files/aggregate.slt b/datafusion/sqllogictest/test_files/aggregate.sltindex f03c3700ab..aac315ea0e 100644--- a/datafusion/sqllogictest/test_files/aggregate.slt+++ b/datafusion/sqllogictest/test_files/aggregate.slt@@ -6080,7 +6080,7 @@ ORDER BY k;statement okCREATE TABLE t1(v1 int);-# issue: https://github.com/apache/datafusion/issues/12814+# issue: https://github.com/apache/datafusion/issues/12814statement error DataFusion error: Error during planning: Aggregate functions are not allowed in the WHERE clause. Consider using HAVING insteadSELECT v1 FROM t1 WHERE ((count(v1) % 1) << 1) > 0;diff --git a/datafusion/sqllogictest/test_files/ddl.slt b/datafusion/sqllogictest/test_files/ddl.sltindex 3205920d71..4a0ba87bfa 100644--- a/datafusion/sqllogictest/test_files/ddl.slt+++ b/datafusion/sqllogictest/test_files/ddl.slt@@ -804,4 +804,4 @@ query error DataFusion error: Schema error: No field named a\.EXPLAIN CREATE TABLE t(a int) AS VALUES (a + a);statement error DataFusion error: Schema error: No field named a\.-CREATE TABLE t(a int) AS SELECT x FROM (VALUES (a)) t(x) WHERE false;\ No newline at end of file+CREATE TABLE t(a int) AS SELECT x FROM (VALUES (a)) t(x) WHERE false;diff --git a/datafusion/sqllogictest/test_files/string/dictionary_utf8.slt b/datafusion/sqllogictest/test_files/string/dictionary_utf8.sltindex c181f613ee..04bd00e316 100644--- a/datafusion/sqllogictest/test_files/string/dictionary_utf8.slt+++ b/datafusion/sqllogictest/test_files/string/dictionary_utf8.slt@@ -51,6 +51,8 @@ from test_basic_operator;Andrew datafusion📊🔥 true false true falseXiangpeng datafusion数据融合 false true false trueRaphael datafusionДатаФусион false false false false+under_score un iść core false false false false+percent pan Tadeusz ma iść w kąt false false false falseNULL NULL NULL NULL NULL NULL#diff --git a/datafusion/sqllogictest/test_files/string/init_data.slt.part b/datafusion/sqllogictest/test_files/string/init_data.slt.partindex 096e3bb3b3..18cd022f78 100644--- a/datafusion/sqllogictest/test_files/string/init_data.slt.part+++ b/datafusion/sqllogictest/test_files/string/init_data.slt.part@@ -20,6 +20,8 @@ create table test_source as values('Andrew', 'X', 'datafusion📊🔥', '🔥'),('Xiangpeng', 'Xiangpeng', 'datafusion数据融合', 'datafusion数据融合'),('Raphael', 'R', 'datafusionДатаФусион', 'аФус'),+ ('under_score', 'un_____core', 'un iść core', 'chrząszcz na łące w 東京都'),+ ('percent', 'p%t', 'pan Tadeusz ma iść w kąt', 'Pan Tadeusz ma frunąć stąd w kąt'),(NULL, 'R', NULL, '🔥');# --------------------------------------diff --git a/datafusion/sqllogictest/test_files/string/large_string.slt b/datafusion/sqllogictest/test_files/string/large_string.sltindex 8d8a5711bd..2063eae0f8 100644--- a/datafusion/sqllogictest/test_files/string/large_string.slt+++ b/datafusion/sqllogictest/test_files/string/large_string.slt@@ -41,6 +41,8 @@ SELECT ascii_1, ascii_2, unicode_1, unicode_2 FROM test_basic_operatorAndrew X datafusion📊🔥 🔥Xiangpeng Xiangpeng datafusion数据融合 datafusion数据融合Raphael R datafusionДатаФусион аФус+under_score un_____core un iść core chrząszcz na łące w 東京都+percent p%t pan Tadeusz ma iść w kąt Pan Tadeusz ma frunąć stąd w kątNULL R NULL 🔥# TODO: move it back to `string_query.slt.part` after fixing the issue@@ -57,6 +59,8 @@ from test_basic_operator;Andrew datafusion📊🔥 true false true falseXiangpeng datafusion数据融合 false true false trueRaphael datafusionДатаФусион false false false false+under_score un iść core false false false false+percent pan Tadeusz ma iść w kąt false false false falseNULL NULL NULL NULL NULL NULL#diff --git a/datafusion/sqllogictest/test_files/string/string.slt b/datafusion/sqllogictest/test_files/string/string.sltindex e84342abd3..62b0cae5f6 100644--- a/datafusion/sqllogictest/test_files/string/string.slt+++ b/datafusion/sqllogictest/test_files/string/string.slt@@ -48,6 +48,8 @@ from test_basic_operator;Andrew datafusion📊🔥 true false true falseXiangpeng datafusion数据融合 false true false trueRaphael datafusionДатаФусион false false false false+under_score un iść core false false false false+percent pan Tadeusz ma iść w kąt false false false falseNULL NULL NULL NULL NULL NULL#@@ -55,6 +57,106 @@ NULL NULL NULL NULL NULL NULL#include ./string_query.slt.part+# TODO support all String types in sql_like_to_expr and move this test to `string_query.slt.part`+# dynamic LIKE as filter+query TTT rowsort+SELECT ascii_1, 'is LIKE', ascii_2 FROM test_basic_operator WHERE ascii_1 LIKE ascii_2+UNION ALL+SELECT ascii_1, 'is NOT LIKE', ascii_2 FROM test_basic_operator WHERE ascii_1 NOT LIKE ascii_2+UNION ALL+SELECT unicode_1, 'is LIKE', ascii_2 FROM test_basic_operator WHERE unicode_1 LIKE ascii_2+UNION ALL+SELECT unicode_1, 'is NOT LIKE', ascii_2 FROM test_basic_operator WHERE unicode_1 NOT LIKE ascii_2+UNION ALL+SELECT unicode_2, 'is LIKE', ascii_2 FROM test_basic_operator WHERE unicode_2 LIKE ascii_2+UNION ALL+SELECT unicode_2, 'is NOT LIKE', ascii_2 FROM test_basic_operator WHERE unicode_2 NOT LIKE ascii_2+----+Andrew is NOT LIKE X+Pan Tadeusz ma frunąć stąd w kąt is NOT LIKE p%t+Raphael is NOT LIKE R+Xiangpeng is LIKE Xiangpeng+chrząszcz na łące w 東京都 is NOT LIKE un_____core+datafusionДатаФусион is NOT LIKE R+datafusion数据融合 is NOT LIKE Xiangpeng+datafusion数据融合 is NOT LIKE Xiangpeng+datafusion📊🔥 is NOT LIKE X+pan Tadeusz ma iść w kąt is LIKE p%t+percent is LIKE p%t+un iść core is LIKE un_____core+under_score is LIKE un_____core+аФус is NOT LIKE R+🔥 is NOT LIKE R+🔥 is NOT LIKE X++# TODO support all String types in sql_like_to_expr and move this test to `string_query.slt.part`+# dynamic LIKE as projection+query TTTTBBBB rowsort+SELECT+ ascii_1, ascii_2, unicode_1, unicode_2,+ (ascii_1 LIKE ascii_2) AS ascii_1_like_ascii_2,+ (ascii_2 LIKE ascii_1) AS ascii_2_like_ascii_1,+ (unicode_1 LIKE ascii_2) AS unicode_1_like_ascii_2,+ (unicode_2 LIKE ascii_2) AS unicode_2_like_ascii_2+FROM test_basic_operator+----+Andrew X datafusion📊🔥 🔥 false false false false+NULL R NULL 🔥 NULL NULL NULL false+Raphael R datafusionДатаФусион аФус false false false false+Xiangpeng Xiangpeng datafusion数据融合 datafusion数据融合 true true false false+percent p%t pan Tadeusz ma iść w kąt Pan Tadeusz ma frunąć stąd w kąt true false true false+under_score un_____core un iść core chrząszcz na łące w 東京都 true false true false++# TODO support all String types in sql_like_to_expr and move this test to `string_query.slt.part`+# dynamic ILIKE as filter+query TTT rowsort+SELECT ascii_1, 'is ILIKE', ascii_2 FROM test_basic_operator WHERE ascii_1 ILIKE ascii_2+UNION ALL+SELECT ascii_1, 'is NOT ILIKE', ascii_2 FROM test_basic_operator WHERE ascii_1 NOT ILIKE ascii_2+UNION ALL+SELECT unicode_1, 'is ILIKE', ascii_2 FROM test_basic_operator WHERE unicode_1 ILIKE ascii_2+UNION ALL+SELECT unicode_1, 'is NOT ILIKE', ascii_2 FROM test_basic_operator WHERE unicode_1 NOT ILIKE ascii_2+UNION ALL+SELECT unicode_2, 'is ILIKE', ascii_2 FROM test_basic_operator WHERE unicode_2 ILIKE ascii_2+UNION ALL+SELECT unicode_2, 'is NOT ILIKE', ascii_2 FROM test_basic_operator WHERE unicode_2 NOT ILIKE ascii_2+----+Andrew is NOT ILIKE X+Pan Tadeusz ma frunąć stąd w kąt is ILIKE p%t+Raphael is NOT ILIKE R+Xiangpeng is ILIKE Xiangpeng+chrząszcz na łące w 東京都 is NOT ILIKE un_____core+datafusionДатаФусион is NOT ILIKE R+datafusion数据融合 is NOT ILIKE Xiangpeng+datafusion数据融合 is NOT ILIKE Xiangpeng+datafusion📊🔥 is NOT ILIKE X+pan Tadeusz ma iść w kąt is ILIKE p%t+percent is ILIKE p%t+un iść core is ILIKE un_____core+under_score is ILIKE un_____core+аФус is NOT ILIKE R+🔥 is NOT ILIKE R+🔥 is NOT ILIKE X++# TODO support all String types in sql_like_to_expr and move this test to `string_query.slt.part`+# dynamic ILIKE as projection+query TTTTBBBB rowsort+SELECT+ ascii_1, ascii_2, unicode_1, unicode_2,+ (ascii_1 ILIKE ascii_2) AS ascii_1_ilike_ascii_2,+ (ascii_2 ILIKE ascii_1) AS ascii_2_ilike_ascii_1,+ (unicode_1 ILIKE ascii_2) AS unicode_1_ilike_ascii_2,+ (unicode_2 ILIKE ascii_2) AS unicode_2_ilike_ascii_2+FROM test_basic_operator+----+Andrew X datafusion📊🔥 🔥 false false false false+NULL R NULL 🔥 NULL NULL NULL false+Raphael R datafusionДатаФусион аФус false false false false+Xiangpeng Xiangpeng datafusion数据融合 datafusion数据融合 true true false false+percent p%t pan Tadeusz ma iść w kąt Pan Tadeusz ma frunąć stąd w kąt true false true true+under_score un_____core un iść core chrząszcz na łące w 東京都 true false true false+## Clean up#diff --git a/datafusion/sqllogictest/test_files/string/string_query.slt.part b/datafusion/sqllogictest/test_files/string/string_query.slt.partindex dc5626b7d5..24ac379ca5 100644--- a/datafusion/sqllogictest/test_files/string/string_query.slt.part+++ b/datafusion/sqllogictest/test_files/string/string_query.slt.part@@ -26,6 +26,8 @@ SELECT ascii_1, ascii_2, unicode_1, unicode_2 FROM test_basic_operatorAndrew X datafusion📊🔥 🔥Xiangpeng Xiangpeng datafusion数据融合 datafusion数据融合Raphael R datafusionДатаФусион аФус+under_score un_____core un iść core chrząszcz na łące w 東京都+percent p%t pan Tadeusz ma iść w kąt Pan Tadeusz ma frunąć stąd w kątNULL R NULL 🔥# --------------------------------------@@ -42,6 +44,8 @@ select ascii_1, ascii_2 from test_basic_operator where ascii_1 <> ascii_2----Andrew XRaphael R+under_score un_____core+percent p%tquery TTselect unicode_1, unicode_2 from test_basic_operator where unicode_1 = unicode_2@@ -53,6 +57,8 @@ select unicode_1, unicode_2 from test_basic_operator where unicode_1 <> unicode_----datafusion📊🔥 🔥datafusionДатаФусион аФус+un iść core chrząszcz na łące w 東京都+pan Tadeusz ma iść w kąt Pan Tadeusz ma frunąć stąd w kątquery TTselect ascii_1, unicode_1 from test_basic_operator where ascii_1 = unicode_1@@ -64,6 +70,8 @@ select ascii_1, unicode_1 from test_basic_operator where ascii_1 <> unicode_1Andrew datafusion📊🔥Xiangpeng datafusion数据融合Raphael datafusionДатаФусион+under_score un iść core+percent pan Tadeusz ma iść w kąt# --------------------------------------# column comparison@@ -82,6 +90,8 @@ from test_basic_operator;Andrew X datafusion📊🔥 🔥 false true false true false trueXiangpeng Xiangpeng datafusion数据融合 datafusion数据融合 true false true false false trueRaphael R datafusionДатаФусион аФус false true false true false true+under_score un_____core un iść core chrząszcz na łące w 東京都 false true false true false true+percent p%t pan Tadeusz ma iść w kąt Pan Tadeusz ma frunąć stąd w kąt false true false true false trueNULL R NULL 🔥 NULL NULL NULL NULL NULL NULL# --------------------------------------@@ -99,6 +109,8 @@ from test_basic_operator;Andrew datafusion📊🔥 true false false trueXiangpeng datafusion数据融合 false true true falseRaphael datafusionДатаФусион false true false true+under_score un iść core false true false true+percent pan Tadeusz ma iść w kąt false true false trueNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -116,6 +128,8 @@ from test_basic_operator;Andrew datafusion📊🔥 true false false trueXiangpeng datafusion数据融合 false true true falseRaphael datafusionДатаФусион false true false true+under_score un iść core false true false true+percent pan Tadeusz ma iść w kąt false true false trueNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -133,6 +147,8 @@ from test_basic_operator;Andrew datafusion📊🔥 true false false trueXiangpeng datafusion数据融合 false true true falseRaphael datafusionДатаФусион false true false true+under_score un iść core false true false true+percent pan Tadeusz ma iść w kąt false true false trueNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -175,6 +191,8 @@ FROM test_basic_operator;And X dat 🔥Xia Xia dat datRap R dat аФу+und un_ un chr+per p%t pan PanNULL R NULL 🔥# --------------------------------------@@ -187,7 +205,7 @@ SELECTFROMtest_basic_operator-----3 3+5 5query IISELECT@@ -200,6 +218,8 @@ GROUP BY ascii_2;1 11 11 1+1 1+1 1query IISELECT@@ -212,6 +232,8 @@ GROUP BY unicode_2;1 11 11 1+1 1+1 1# --------------------------------------# STARTS_WITH function@@ -228,6 +250,8 @@ FROM test_basic_operatorfalse false false falsetrue true false falsetrue false false false+false false false false+false false false falseNULL NULL NULL NULLquery BBBB@@ -241,6 +265,8 @@ FROM test_basic_operatortrue false true falsefalse false true truefalse false true false+false false false false+false false false falseNULL false NULL false# --------------------------------------@@ -255,6 +281,8 @@ FROM test_basic_operator;AndrewXiangpengRaphael+under_scrre+percentNULLquery T@@ -265,6 +293,8 @@ FROM test_basic_operator;databusirn📊🔥databusirn数据融合databusirnДатаФусион+un iść crre+pan Tadeusz ma iść w kątNULL# --------------------------------------@@ -280,6 +310,8 @@ FROM test_basic_operator;AndrfwXiangpfngRaphafl+undfr_score+pfrcentNULL# Should run REGEXP_REPLACE with Scalar value for string with flag@@ -291,6 +323,8 @@ FROM test_basic_operator;AndrfwXiangpfngRaphafl+undfr_score+pfrcentNULL# Should run REGEXP_REPLACE with ScalarArray value for string@@ -302,6 +336,8 @@ FROM test_basic_operator;AndrewXiangpengRaphael+bar+barNULL# Should run REGEXP_REPLACE with ScalarArray value for string with flag@@ -313,6 +349,8 @@ FROM test_basic_operator;AndrewXiangpengRaphael+bar+barNULL# --------------------------------------@@ -333,6 +371,8 @@ FROM test_lowercase;Andrew Datafusion📊🔥Xiangpeng Datafusion数据融合Raphael Datafusionдатафусион+Under_Score Un Iść Core+Percent Pan Tadeusz Ma Iść W KąTNULL NULLstatement ok@@ -353,6 +393,8 @@ FROM test_basic_operator;65 88 100 12829388 88 100 10082 82 100 1072+117 117 117 99+112 112 112 80NULL 82 NULL 128293# --------------------------------------@@ -373,6 +415,8 @@ FROM test_basic_operator;Andrew ndrew NULL datafusion📊🔥 datafusion📊 NULLXiangpeng Xiangpeng NULL datafusion数据融合 datafusion数据融合 NULLRaphael Raphael NULL datafusionДатаФусион datafusionДатаФусион NULL+under_score under_score NULL un iść core un iść core NULL+percent percent NULL pan Tadeusz ma iść w kąt pan Tadeusz ma iść w kąt NULLNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -393,6 +437,8 @@ FROM test_basic_operator;Andrew Andrew NULL datafusion📊🔥 NULL datafusion📊🔥Xiangpeng (empty) NULL datafusion数据融合 NULL datafusion数据融合Raphael aphael NULL datafusionДатаФусион NULL datafusionДатаФусион+under_score der_score NULL un iść core NULL un iść core+percent ercent NULL pan Tadeusz ma iść w kąt NULL pan Tadeusz ma iść w kątNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -412,6 +458,8 @@ FROM test_basic_operator;And Andrew Andrew NULL datafusion📊Xiangpeng (empty) Xiangpeng NULL datafusion数据融合Raphael Raphael Raphael NULL datafusionДатаФусион+under_sco under_s under_score NULL un iść core+percent percen percent NULL pan Tadeusz ma iść w kątNULL NULL NULL NULL NULL# --------------------------------------@@ -431,6 +479,8 @@ FROM test_basic_operator;false false NULL true NULL truefalse true NULL true NULL falsefalse true NULL true NULL false+false false NULL false NULL false+false false NULL false NULL falseNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -443,6 +493,8 @@ SELECT LOWER(ascii_1) as c1, LOWER(unicode_1) as c2 FROM test_basic_operator;andrew datafusion📊🔥xiangpeng datafusion数据融合raphael datafusionдатафусион+under_score un iść core+percent pan tadeusz ma iść w kątNULL NULL# --------------------------------------@@ -455,6 +507,8 @@ SELECT UPPER(ascii_1) as c1, UPPER(unicode_1) as c2 FROM test_basic_operator;ANDREW DATAFUSION📊🔥XIANGPENG DATAFUSION数据融合RAPHAEL DATAFUSIONДАТАФУСИОН+UNDER_SCORE UN IŚĆ CORE+PERCENT PAN TADEUSZ MA IŚĆ W KĄTNULL NULL# --------------------------------------@@ -480,6 +534,8 @@ FROM test_basic_operator;Andrew:Data AndrewX Andrew Andrewdatafusion📊🔥 Andrew🔥 datafusion📊🔥Andrew datafusion📊🔥🔥 datafusion📊🔥 datafusion📊🔥🔥 🔥 (empty) Andrew,datafusion📊🔥Xiangpeng:Data XiangpengXiangpeng Xiangpeng Xiangpengdatafusion数据融合 Xiangpengdatafusion数据融合 datafusion数据融合Xiangpeng datafusion数据融合datafusion数据融合 datafusion数据融合 datafusion数据融合🔥 🔥 (empty) Xiangpeng,datafusion数据融合Raphael:Data RaphaelR Raphael RaphaeldatafusionДатаФусион RaphaelаФус datafusionДатаФусионRaphael datafusionДатаФусионаФус datafusionДатаФусион datafusionДатаФусион🔥 🔥 (empty) Raphael,datafusionДатаФусион+under_score:Data under_scoreun_____core under_score under_scoreun iść core under_scorechrząszcz na łące w 東京都 un iść coreunder_score un iść corechrząszcz na łące w 東京都 un iść core un iść core🔥 🔥 (empty) under_score,un iść core+percent:Data percentp%t percent percentpan Tadeusz ma iść w kąt percentPan Tadeusz ma frunąć stąd w kąt pan Tadeusz ma iść w kątpercent pan Tadeusz ma iść w kątPan Tadeusz ma frunąć stąd w kąt pan Tadeusz ma iść w kąt pan Tadeusz ma iść w kąt🔥 🔥 (empty) percent,pan Tadeusz ma iść w kąt:Data R (empty) (empty) 🔥 (empty) 🔥 (empty) 🔥 🔥 (empty) ,# --------------------------------------@@ -499,6 +555,8 @@ FROM test_basic_operator;Afooew dfoofusion📊🔥 A🔥drew d🔥tafusion📊🔥 NULL NULLXfoogpeng dfoofusion数据融合 X🔥angpeng d🔥tafusion数据融合 NULL NULLRfooael dfoofusionДатаФусион R🔥phael d🔥tafusionДатаФусион NULL NULL+ufoor_score ufoość core u🔥der_score u🔥 iść core NULL NULL+pfooent pfooTadeusz ma iść w kąt p🔥rcent p🔥n Tadeusz ma iść w kąt NULL NULLNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -518,6 +576,8 @@ FROM test_basic_operator;Andrew Andrew NULL datafusion📊bar NULL datafusion📊barXiangpeng bar NULL bar NULL datafusion数据融合Raphael baraphael NULL datafusionДатbarион NULL datafusionДатаФусион+under_score under_score NULL un iść core NULL un iść core+percent percent NULL pan Tadeusz ma iść w kąt NULL pan Tadeusz ma iść w kątNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -537,6 +597,8 @@ FROM test_basic_operator;rew (empty) rew n📊🔥 (empty) afusion📊🔥eng (empty) ngpeng 据融合 (empty) afusion数据融合ael (empty) hael ион (empty) afusionДатаФусион+ore (empty) er_score ore (empty) iść core+ent (empty) cent kąt (empty) Tadeusz ma iść w kątNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -557,6 +619,8 @@ FROM test_basic_operator;And (empty) And dat (empty) datafusioXia (empty) Xiangp dat (empty) datafusion数Rap (empty) Raph dat (empty) datafusionДатаФус+und (empty) under_sc un (empty) un iść c+per (empty) perc pan (empty) pan Tadeusz ma iść wNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -574,6 +638,8 @@ FROM test_basic_operator;Andrew Andrew datafusion📊🔥 datafusion📊🔥Xi Xiangpeng datafusion数据融合 datafusion数据融合R Raph datafusionД datafusionДат+under_score under_score un iść core un iść core+percent percent pan Tadeusz ma iść w kąt pan Tadeusz ma iść w kątNULL NULL NULL NULL# --------------------------------------@@ -591,6 +657,8 @@ FROM test_basic_operator;0 1 0 10 2 0 20 3 0 3+0 0 0 0+0 0 0 0NULL NULL NULL NULL# --------------------------------------@@ -610,6 +678,8 @@ FROM test_basic_operator;Andrewfoo Andrew🔥 datafusion📊🔥foo datafusion📊🔥🔥Xiangpengfoo Xiangpeng🔥 datafusion数据融合foo datafusion数据融合🔥Raphaelfoo Raphael🔥 datafusionДатаФусионfoo datafusionДатаФусион🔥+under_scorefoo under_score🔥 un iść corefoo un iść core🔥+percentfoo percent🔥 pan Tadeusz ma iść w kątfoo pan Tadeusz ma iść w kąt🔥NULL NULL NULL NULL# || same type (column1 has null, so also tests NULL || NULL)@@ -625,6 +695,8 @@ FROM test_basic_operator;AndrewX Andrew🔥 datafusion📊🔥X datafusion📊🔥🔥XiangpengXiangpeng Xiangpengdatafusion数据融合 datafusion数据融合Xiangpeng datafusion数据融合datafusion数据融合RaphaelR RaphaelаФус datafusionДатаФусионR datafusionДатаФусионаФус+under_scoreun_____core under_scorechrząszcz na łące w 東京都 un iść coreun_____core un iść corechrząszcz na łące w 東京都+percentp%t percentPan Tadeusz ma frunąć stąd w kąt pan Tadeusz ma iść w kątp%t pan Tadeusz ma iść w kątPan Tadeusz ma frunąć stąd w kątNULL NULL NULL NULL# --------------------------------------@@ -640,6 +712,8 @@ FROM test_basic_operator;false falsetrue falsefalse true+false false+false falseNULL NULLquery BB@@ -651,6 +725,8 @@ FROM test_basic_operator;true falsefalse falsefalse true+false false+false falseNULL NULLquery BB@@ -662,6 +738,8 @@ FROM test_basic_operator;true truetrue falsetrue true+true true+true trueNULL NULLquery BB@@ -673,6 +751,8 @@ FROM test_basic_operator;true truefalse falsetrue true+true true+true trueNULL NULL# --------------------------------------@@ -691,6 +771,8 @@ from test_basic_operator;Andrew nice Andrew and X datafusion📊🔥 cool datafusion📊🔥 and 🔥 Andrew 🔥 datafusion📊🔥Xiangpeng nice Xiangpeng and Xiangpeng datafusion数据融合 cool datafusion数据融合 and datafusion数据融合 Xiangpeng 🔥 datafusion数据融合Raphael nice Raphael and R datafusionДатаФусион cool datafusionДатаФусион and аФус Raphael 🔥 datafusionДатаФусион+under_score nice under_score and un_____core un iść core cool un iść core and chrząszcz na łące w 東京都 under_score 🔥 un iść core+percent nice percent and p%t pan Tadeusz ma iść w kąt cool pan Tadeusz ma iść w kąt and Pan Tadeusz ma frunąć stąd w kąt percent 🔥 pan Tadeusz ma iść w kątNULL NULL NULL NULL NULL# --------------------------------------@@ -725,6 +807,8 @@ from test_basic_operator;Andrew datafusion📊🔥 false false false falseXiangpeng datafusion数据融合 false false false falseRaphael datafusionДатаФусион false false false false+under_score un iść core false false false false+percent pan Tadeusz ma iść w kąt false false false falseNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -741,6 +825,8 @@ FROM6 129 147 20+11 11+7 24NULL NULL# --------------------------------------@@ -758,6 +844,8 @@ FROM test_basic_operator;true true NULL NULLfalse true NULL NULLfalse true NULL NULL+false false NULL NULL+false false NULL NULLNULL NULL NULL NULL# --------------------------------------@@ -775,6 +863,8 @@ FROM test_basic_operator;true false NULL NULLfalse false NULL NULLfalse true NULL NULL+false false NULL NULL+false false NULL NULLNULL NULL NULL NULL# --------------------------------------@@ -792,6 +882,8 @@ FROM test_basic_operator;0 4 NULL NULL7 0 NULL NULL6 10 NULL NULL+8 13 NULL NULL+6 19 NULL NULLNULL NULL NULL NULL# --------------------------------------@@ -809,6 +901,8 @@ FROM test_basic_operator;xxxxxxxxxxxxxxAndrew NULL 🔥🔥🔥🔥🔥🔥🔥🔥datafusion📊🔥 NULLxxxxxxxxxxxXiangpeng NULL 🔥🔥🔥🔥🔥🔥datafusion数据融合 NULLxxxxxxxxxxxxxRaphael NULL datafusionДатаФусион NULL+xxxxxxxxxunder_score NULL 🔥🔥🔥🔥🔥🔥🔥🔥🔥un iść core NULL+xxxxxxxxxxxxxpercent NULL pan Tadeusz ma iść w NULLNULL NULL NULL NULLquery TT@@ -820,6 +914,8 @@ FROM test_basic_operator;Andrew datafusion📊🔥Xiangpeng datafusion数据融合Raphael datafusionДатаФусион+ under_score un iść core+ percent pan Tadeusz ma iść wNULL NULL# --------------------------------------@@ -837,6 +933,8 @@ FROM test_basic_operator;Andrewxxxxxxxxxxxxxx NULL datafusion📊🔥🔥🔥🔥🔥🔥🔥🔥🔥 NULLXiangpengxxxxxxxxxxx NULL datafusion数据融合🔥🔥🔥🔥🔥🔥 NULLRaphaelxxxxxxxxxxxxx NULL datafusionДатаФусион NULL+under_scorexxxxxxxxx NULL un iść core🔥🔥🔥🔥🔥🔥🔥🔥🔥 NULL+percentxxxxxxxxxxxxx NULL pan Tadeusz ma iść w NULLNULL NULL NULL NULLquery TT@@ -845,9 +943,11 @@ SELECTRPAD(unicode_1, 20)FROM test_basic_operator;-----Andrew datafusion📊🔥-Xiangpeng datafusion数据融合-Raphael datafusionДатаФусион+Andrew datafusion📊🔥+Xiangpeng datafusion数据融合+Raphael datafusionДатаФусион+under_score un iść core+percent pan Tadeusz ma iść wNULL NULL# --------------------------------------@@ -871,6 +971,8 @@ SELECTfalse false NULL NULL true false NULL NULLtrue false NULL NULL true false NULL NULLfalse true NULL NULL false true NULL NULL+false false NULL NULL false false NULL NULL+false false NULL NULL false false NULL NULLNULL NULL NULL NULL NULL NULL NULL NULL# --------------------------------------@@ -895,6 +997,8 @@ NULL NULL NULL NULL [An] NULL NULL NULL[an] NULL NULL NULL [an] NULL NULL NULLNULL NULL NULL NULL NULL [таФ] NULL NULLNULL NULL NULL NULL NULL NULL NULL NULL+NULL NULL NULL NULL NULL NULL NULL NULL+NULL NULL NULL NULL NULL NULL NULL NULL# --------------------------------------# Test REPEAT@@ -909,6 +1013,8 @@ FROM test_basic_operator;AndrewAndrewAndrew datafusion📊🔥datafusion📊🔥datafusion📊🔥XiangpengXiangpengXiangpeng datafusion数据融合datafusion数据融合datafusion数据融合RaphaelRaphaelRaphael datafusionДатаФусионdatafusionДатаФусионdatafusionДатаФусион+under_scoreunder_scoreunder_score un iść coreun iść coreun iść core+percentpercentpercent pan Tadeusz ma iść w kątpan Tadeusz ma iść w kątpan Tadeusz ma iść w kątNULL NULL# --------------------------------------@@ -928,6 +1034,8 @@ FROM test_basic_operator;Andr w NULL datafusion📊🔥 (empty) NULLXiangp ng NULL datafusion数据融合 (empty) NULLRapha l NULL datafusionДатаФус он NULL+und r_scor NULL un iść core (empty) NULL+p rc NULL pan Tadeusz ma iść w kąt (empty) NULLNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -943,6 +1051,8 @@ FROM test_basic_operator;werdnA 🔥📊noisufatadgnepgnaiX 合融据数noisufatadleahpaR ноисуФатаДnoisufatad+erocs_rednu eroc ćśi nu+tnecrep tąk w ćśi am zsuedaT napNULL NULL# --------------------------------------@@ -962,6 +1072,8 @@ FROM test_basic_operator;5 0 NULL 0 0 NULL7 3 NULL 0 0 NULL6 0 NULL 18 18 NULL+4 0 NULL 0 0 NULL+2 0 NULL 0 0 NULLNULL NULL NULL NULL NULL NULL# --------------------------------------@@ -981,4 +1093,6 @@ FROM test_basic_operator;Andr Andrew NULL datafusion📊🔥 datafusion📊🔥 NULLXiangp Xi NULL datafusion数据融合 datafusion数 NULLRapha Raphael NULL datafusionДатаФус datafusionДатаФусион NULL+und under_score NULL un iść core un iść core NULL+p percent NULL pan Tadeusz ma iść w kąt pan Tadeusz ma iść w kąt NULLNULL NULL NULL NULL NULL NULL