Skip to content

Commit 9ce80cb

Browse files
author
Yuto Akutsu
committed
add test results in operators.sql.out
1 parent 48b3247 commit 9ce80cb

File tree

1 file changed

+75
-3
lines changed

1 file changed

+75
-3
lines changed

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

Lines changed: 75 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- Automatically generated by SQLQueryTestSuite
2-
-- Number of queries: 69
2+
-- Number of queries: 77
33

44

55
-- !query
@@ -259,11 +259,83 @@ struct<pmod(-7, 3):int>
259259

260260

261261
-- !query
262+
select sec(1)
263+
-- !query schema
264+
struct<SEC(1):double>
265+
-- !query output
266+
1.8508157176809255
267+
268+
269+
-- !query
270+
select sec(null)
271+
-- !query schema
272+
struct<SEC(NULL):double>
273+
-- !query output
274+
NULL
275+
276+
277+
-- !query
278+
select sec(0)
279+
-- !query schema
280+
struct<SEC(0):double>
281+
-- !query output
282+
1.0
283+
284+
285+
-- !query
286+
select sec(-1)
287+
-- !query schema
288+
struct<SEC(-1):double>
289+
-- !query output
290+
1.8508157176809255
291+
292+
293+
-- !query
294+
select csc(1)
295+
-- !query schema
296+
struct<CSC(1):double>
297+
-- !query output
298+
1.1883951057781212
299+
300+
301+
-- !query
302+
select csc(null)
303+
-- !query schema
304+
struct<CSC(NULL):double>
305+
-- !query output
306+
NULL
307+
308+
309+
-- !query
310+
select csc(0)
311+
-- !query schema
312+
struct<CSC(0):double>
313+
-- !query output
314+
Infinity
315+
316+
317+
-- !query
318+
select csc(-1)
319+
-- !query schema
320+
struct<CSC(-1):double>
321+
-- !query output
322+
-1.1883951057781212
323+
324+
325+
-- !query
326+
:
262327
select cot(1)
263328
-- !query schema
264-
struct<COT(1):double>
329+
struct<>
265330
-- !query output
266-
0.6420926159343306
331+
org.apache.spark.sql.catalyst.parser.ParseException
332+
333+
extraneous input ':' expecting {'(', 'ADD', 'ALTER', 'ANALYZE', 'CACHE', 'CLEAR', 'COMMENT', 'COMMIT', 'CREATE', 'DELETE', 'DESC', 'DESCRIBE', 'DFS', 'DROP', 'EXPLAIN', 'EXPORT', 'FROM', 'GRANT', 'IMPORT', 'INSERT', 'LIST', 'LOAD', 'LOCK', 'MAP', 'MERGE', 'MSCK', 'REDUCE', 'REFRESH', 'REPLACE', 'RESET', 'REVOKE', 'ROLLBACK', 'SELECT', 'SET', 'SHOW', 'START', 'TABLE', 'TRUNCATE', 'UNCACHE', 'UNLOCK', 'UPDATE', 'USE', 'VALUES', 'WITH'}(line 1, pos 0)
334+
335+
== SQL ==
336+
:
337+
^^^
338+
select cot(1)
267339

268340

269341
-- !query

0 commit comments

Comments
 (0)