Skip to content

Commit

Permalink
Adding test for verifying octet_length now works with string view
Browse files Browse the repository at this point in the history
  • Loading branch information
Omega359 committed Oct 12, 2024
1 parent e7ac843 commit 41ac5ce
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions datafusion/sqllogictest/test_files/string/string_view.slt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ drop table test_source
## StringView Function test
########

query I
select octet_length(column1_utf8view) from test;
----
6
9
7
NULL

query error DataFusion error: Arrow error: Compute error: bit_length not supported for Utf8View
select bit_length(column1_utf8view) from test;

Expand Down

0 comments on commit 41ac5ce

Please sign in to comment.