From 308075de9e7a70bc78a86dc000404ee6d8346160 Mon Sep 17 00:00:00 2001 From: Weijun-H Date: Wed, 19 Jun 2024 10:12:36 +0800 Subject: [PATCH] chore: add tests --- datafusion/sqllogictest/test_files/string_view.slt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/datafusion/sqllogictest/test_files/string_view.slt b/datafusion/sqllogictest/test_files/string_view.slt index e4055a6962d9..563a8a32ca20 100644 --- a/datafusion/sqllogictest/test_files/string_view.slt +++ b/datafusion/sqllogictest/test_files/string_view.slt @@ -54,18 +54,27 @@ select * from test where column1 <> column2; Andrew X Raphael R - query ?? select * from test where column1 = arrow_cast('Andrew', 'Utf8View'); ---- Andrew X +query ?? +select * from test where column1 = 'Andrew'; +---- +Andrew X + query ?? select * from test where column1 <> arrow_cast('Andrew', 'Utf8View'); ---- Xiangpeng Xiangpeng Raphael R +query ?? +select * from test where column1 <> 'Andrew'; +---- +Andrew X + statement ok drop table test; @@ -88,7 +97,6 @@ select * from test where column1 <> column2; Andrew X Raphael R - query T? select * from test where column1 = arrow_cast('Andrew', 'Utf8View'); ----