Skip to content

Commit a0c0849

Browse files
committed
fix UT failure
1 parent 649b458 commit a0c0849

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sql/core/src/test/resources/sql-tests/results/operators.sql.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,31 +157,31 @@ NULL
157157
-- !query 19
158158
select 5 div 2
159159
-- !query 19 schema
160-
struct<CAST((CAST(5 AS DOUBLE) / CAST(2 AS DOUBLE)) AS BIGINT):bigint>
160+
struct<(5 div 2):int>
161161
-- !query 19 output
162162
2
163163

164164

165165
-- !query 20
166166
select 5 div 0
167167
-- !query 20 schema
168-
struct<CAST((CAST(5 AS DOUBLE) / CAST(0 AS DOUBLE)) AS BIGINT):bigint>
168+
struct<(5 div 0):int>
169169
-- !query 20 output
170170
NULL
171171

172172

173173
-- !query 21
174174
select 5 div null
175175
-- !query 21 schema
176-
struct<CAST((CAST(5 AS DOUBLE) / CAST(NULL AS DOUBLE)) AS BIGINT):bigint>
176+
struct<(5 div CAST(NULL AS INT)):int>
177177
-- !query 21 output
178178
NULL
179179

180180

181181
-- !query 22
182182
select null div 5
183183
-- !query 22 schema
184-
struct<CAST((CAST(NULL AS DOUBLE) / CAST(5 AS DOUBLE)) AS BIGINT):bigint>
184+
struct<(CAST(NULL AS INT) div 5):int>
185185
-- !query 22 output
186186
NULL
187187

0 commit comments

Comments
 (0)