Skip to content

Commit a1f21fc

Browse files
committed
regen gf
1 parent f7bd4b9 commit a1f21fc

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

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

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- Automatically generated by SQLQueryTestSuite
2-
-- Number of queries: 46
2+
-- Number of queries: 51
33

44

55
-- !query 0
@@ -378,3 +378,43 @@ struct<CAST(
378378
xyz AS BOOLEAN):boolean>
379379
-- !query 45 output
380380
NULL
381+
382+
383+
-- !query 46
384+
select cast(1.0 as real)
385+
-- !query 46 schema
386+
struct<CAST(1.0 AS FLOAT):float>
387+
-- !query 46 output
388+
1.0
389+
390+
391+
-- !query 47
392+
select cast('1' as real)
393+
-- !query 47 schema
394+
struct<CAST(1 AS FLOAT):float>
395+
-- !query 47 output
396+
1.0
397+
398+
399+
-- !query 48
400+
select cast(1.0 as numeric)
401+
-- !query 48 schema
402+
struct<CAST(1.0 AS DECIMAL(10,0)):decimal(10,0)>
403+
-- !query 48 output
404+
1
405+
406+
407+
-- !query 49
408+
select cast(1.0 as numeric(3))
409+
-- !query 49 schema
410+
struct<CAST(1.0 AS DECIMAL(3,0)):decimal(3,0)>
411+
-- !query 49 output
412+
1
413+
414+
415+
-- !query 50
416+
select cast(1.08 as numeric(3,1))
417+
-- !query 50 schema
418+
struct<CAST(1.08 AS DECIMAL(3,1)):decimal(3,1)>
419+
-- !query 50 output
420+
1.1

0 commit comments

Comments
 (0)