Skip to content

Commit e3857e8

Browse files
committed
regen golden file
1 parent ca25319 commit e3857e8

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: 43
2+
-- Number of queries: 48
33

44

55
-- !query 0
@@ -351,3 +351,43 @@ select cast('1.0 ' as DEC)
351351
struct<CAST(1.0 AS DECIMAL(10,0)):decimal(10,0)>
352352
-- !query 42 output
353353
NULL
354+
355+
356+
-- !query 43
357+
select cast(1.0 as real)
358+
-- !query 43 schema
359+
struct<CAST(1.0 AS FLOAT):float>
360+
-- !query 43 output
361+
1.0
362+
363+
364+
-- !query 44
365+
select cast('1' as real)
366+
-- !query 44 schema
367+
struct<CAST(1 AS FLOAT):float>
368+
-- !query 44 output
369+
1.0
370+
371+
372+
-- !query 45
373+
select cast(1.0 as numeric)
374+
-- !query 45 schema
375+
struct<CAST(1.0 AS DECIMAL(10,0)):decimal(10,0)>
376+
-- !query 45 output
377+
1
378+
379+
380+
-- !query 46
381+
select cast(1.0 as numeric(3))
382+
-- !query 46 schema
383+
struct<CAST(1.0 AS DECIMAL(3,0)):decimal(3,0)>
384+
-- !query 46 output
385+
1
386+
387+
388+
-- !query 47
389+
select cast(1.08 as numeric(3,1))
390+
-- !query 47 schema
391+
struct<CAST(1.08 AS DECIMAL(3,1)):decimal(3,1)>
392+
-- !query 47 output
393+
1.1

0 commit comments

Comments
 (0)