Skip to content

Commit 9e9aac3

Browse files
author
younggyu chun
committed
Generated spark golden files.
1 parent a5aec9f commit 9e9aac3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

sql/core/src/test/resources/sql-tests/inputs/pgSQL/boolean.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SELECT false AS `false`;
2323
SELECT boolean('t') AS true;
2424

2525
-- [SPARK-27931] Trim the string when cast string type to boolean type
26-
SELECT boolean(' f ') AS `true`;
26+
SELECT boolean(' f ') AS `false`;
2727

2828
SELECT boolean('true') AS true;
2929

sql/core/src/test/resources/sql-tests/results/pgSQL/boolean.sql.out

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ SELECT boolean(' f ') AS `false`
3939
-- !query 4 schema
4040
struct<false:boolean>
4141
-- !query 4 output
42-
NULL
42+
false
4343

4444

4545
-- !query 5
@@ -127,23 +127,23 @@ SELECT boolean('on') AS true
127127
-- !query 15 schema
128128
struct<true:boolean>
129129
-- !query 15 output
130-
NULL
130+
true
131131

132132

133133
-- !query 16
134134
SELECT boolean('off') AS `false`
135135
-- !query 16 schema
136136
struct<false:boolean>
137137
-- !query 16 output
138-
NULL
138+
false
139139

140140

141141
-- !query 17
142142
SELECT boolean('of') AS `false`
143143
-- !query 17 schema
144144
struct<false:boolean>
145145
-- !query 17 output
146-
NULL
146+
false
147147

148148

149149
-- !query 18
@@ -296,7 +296,7 @@ SELECT boolean(string(' true ')) AS true,
296296
-- !query 36 schema
297297
struct<true:boolean,false:boolean>
298298
-- !query 36 output
299-
NULL NULL
299+
true false
300300

301301

302302
-- !query 37

0 commit comments

Comments
 (0)