Skip to content

Commit 2781f41

Browse files
add annotation tests for BITOR (#6232)
1 parent 7f93e85 commit 2781f41

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/fixtures/optimizer/annotate_functions.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,6 +1655,14 @@ INT;
16551655
BIT_LENGTH(tbl.bin_col);
16561656
INT;
16571657

1658+
# dialect: snowflake
1659+
BITOR(2, 4);
1660+
INT;
1661+
1662+
# dialect: snowflake
1663+
BITOR(tbl.bin_col, tbl.bin_col);
1664+
BINARY;
1665+
16581666
# dialect: snowflake
16591667
BITSHIFTLEFT(2, 1);
16601668
INT;

0 commit comments

Comments
 (0)