@@ -16,7 +16,7 @@ SELECT cast(1 as binary) = '1' FROM t
1616struct<>
1717-- !query 1 output
1818org.apache.spark.sql.AnalysisException
19- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
19+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
2020
2121
2222-- !query 2
@@ -25,7 +25,7 @@ SELECT cast(1 as binary) > '2' FROM t
2525struct<>
2626-- !query 2 output
2727org.apache.spark.sql.AnalysisException
28- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
28+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
2929
3030
3131-- !query 3
@@ -34,7 +34,7 @@ SELECT cast(1 as binary) >= '2' FROM t
3434struct<>
3535-- !query 3 output
3636org.apache.spark.sql.AnalysisException
37- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
37+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
3838
3939
4040-- !query 4
@@ -43,7 +43,7 @@ SELECT cast(1 as binary) < '2' FROM t
4343struct<>
4444-- !query 4 output
4545org.apache.spark.sql.AnalysisException
46- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
46+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
4747
4848
4949-- !query 5
@@ -52,7 +52,7 @@ SELECT cast(1 as binary) <= '2' FROM t
5252struct<>
5353-- !query 5 output
5454org.apache.spark.sql.AnalysisException
55- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
55+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
5656
5757
5858-- !query 6
@@ -61,7 +61,7 @@ SELECT cast(1 as binary) <> '2' FROM t
6161struct<>
6262-- !query 6 output
6363org.apache.spark.sql.AnalysisException
64- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
64+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
6565
6666
6767-- !query 7
@@ -70,7 +70,7 @@ SELECT cast(1 as binary) = cast(null as string) FROM t
7070struct<>
7171-- !query 7 output
7272org.apache.spark.sql.AnalysisException
73- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
73+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
7474
7575
7676-- !query 8
@@ -79,7 +79,7 @@ SELECT cast(1 as binary) > cast(null as string) FROM t
7979struct<>
8080-- !query 8 output
8181org.apache.spark.sql.AnalysisException
82- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
82+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
8383
8484
8585-- !query 9
@@ -88,7 +88,7 @@ SELECT cast(1 as binary) >= cast(null as string) FROM t
8888struct<>
8989-- !query 9 output
9090org.apache.spark.sql.AnalysisException
91- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
91+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
9292
9393
9494-- !query 10
@@ -97,7 +97,7 @@ SELECT cast(1 as binary) < cast(null as string) FROM t
9797struct<>
9898-- !query 10 output
9999org.apache.spark.sql.AnalysisException
100- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
100+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
101101
102102
103103-- !query 11
@@ -106,7 +106,7 @@ SELECT cast(1 as binary) <= cast(null as string) FROM t
106106struct<>
107107-- !query 11 output
108108org.apache.spark.sql.AnalysisException
109- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
109+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
110110
111111
112112-- !query 12
@@ -115,7 +115,7 @@ SELECT cast(1 as binary) <> cast(null as string) FROM t
115115struct<>
116116-- !query 12 output
117117org.apache.spark.sql.AnalysisException
118- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 7
118+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 7
119119
120120
121121-- !query 13
@@ -124,7 +124,7 @@ SELECT '1' = cast(1 as binary) FROM t
124124struct<>
125125-- !query 13 output
126126org.apache.spark.sql.AnalysisException
127- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 13
127+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 13
128128
129129
130130-- !query 14
@@ -133,7 +133,7 @@ SELECT '2' > cast(1 as binary) FROM t
133133struct<>
134134-- !query 14 output
135135org.apache.spark.sql.AnalysisException
136- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 13
136+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 13
137137
138138
139139-- !query 15
@@ -142,7 +142,7 @@ SELECT '2' >= cast(1 as binary) FROM t
142142struct<>
143143-- !query 15 output
144144org.apache.spark.sql.AnalysisException
145- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 14
145+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 14
146146
147147
148148-- !query 16
@@ -151,7 +151,7 @@ SELECT '2' < cast(1 as binary) FROM t
151151struct<>
152152-- !query 16 output
153153org.apache.spark.sql.AnalysisException
154- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 13
154+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 13
155155
156156
157157-- !query 17
@@ -160,7 +160,7 @@ SELECT '2' <= cast(1 as binary) FROM t
160160struct<>
161161-- !query 17 output
162162org.apache.spark.sql.AnalysisException
163- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 14
163+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 14
164164
165165
166166-- !query 18
@@ -169,7 +169,7 @@ SELECT '2' <> cast(1 as binary) FROM t
169169struct<>
170170-- !query 18 output
171171org.apache.spark.sql.AnalysisException
172- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 14
172+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 14
173173
174174
175175-- !query 19
@@ -178,7 +178,7 @@ SELECT cast(null as string) = cast(1 as binary) FROM t
178178struct<>
179179-- !query 19 output
180180org.apache.spark.sql.AnalysisException
181- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 30
181+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 30
182182
183183
184184-- !query 20
@@ -187,7 +187,7 @@ SELECT cast(null as string) > cast(1 as binary) FROM t
187187struct<>
188188-- !query 20 output
189189org.apache.spark.sql.AnalysisException
190- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 30
190+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 30
191191
192192
193193-- !query 21
@@ -196,7 +196,7 @@ SELECT cast(null as string) >= cast(1 as binary) FROM t
196196struct<>
197197-- !query 21 output
198198org.apache.spark.sql.AnalysisException
199- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 31
199+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 31
200200
201201
202202-- !query 22
@@ -205,7 +205,7 @@ SELECT cast(null as string) < cast(1 as binary) FROM t
205205struct<>
206206-- !query 22 output
207207org.apache.spark.sql.AnalysisException
208- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 30
208+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 30
209209
210210
211211-- !query 23
@@ -214,7 +214,7 @@ SELECT cast(null as string) <= cast(1 as binary) FROM t
214214struct<>
215215-- !query 23 output
216216org.apache.spark.sql.AnalysisException
217- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 31
217+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 31
218218
219219
220220-- !query 24
@@ -223,7 +223,7 @@ SELECT cast(null as string) <> cast(1 as binary) FROM t
223223struct<>
224224-- !query 24 output
225225org.apache.spark.sql.AnalysisException
226- cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast IntegerType to BinaryType ; line 1 pos 31
226+ cannot resolve 'CAST(1 AS BINARY)' due to data type mismatch: cannot cast int to binary ; line 1 pos 31
227227
228228
229229-- !query 25
0 commit comments