Skip to content

Commit

Permalink
chore: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Jun 19, 2024
1 parent 6659d04 commit 308075d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions datafusion/sqllogictest/test_files/string_view.slt
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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');
----
Expand Down

0 comments on commit 308075d

Please sign in to comment.