Skip to content

Commit 181d38c

Browse files
authored
Adding test for verifying octet_length now works with string view (#12900)
1 parent 636f433 commit 181d38c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

datafusion/sqllogictest/test_files/string/string_view.slt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ drop table test_source
8383
## StringView Function test
8484
########
8585

86+
query I
87+
select octet_length(column1_utf8view) from test;
88+
----
89+
6
90+
9
91+
7
92+
NULL
93+
8694
query error DataFusion error: Arrow error: Compute error: bit_length not supported for Utf8View
8795
select bit_length(column1_utf8view) from test;
8896

0 commit comments

Comments
 (0)