Skip to content

Commit

Permalink
Add test for #7470
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdvm committed Mar 14, 2024
1 parent 2f903f3 commit a2dad46
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions sql/test/BugTracker-2024/Tests/All
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ contains-cast-7463
between-true-and-null-Bug-7465
inner-join-contains-7466
contains-or-7469
conversion-string-to-bte-failed-7470
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
query I nosort
select 'a'>1
----
1

statement error 22018!conversion of string 'a' to type bte failed.
select 1>'a'

query I nosort
select cast(1 as string)>'a'
----
0

0 comments on commit a2dad46

Please sign in to comment.