You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT avg(CAST(sqrt(c11) AS double)) FROM aggregate_test_100
514
+
----
515
+
0.658440848589
516
+
517
+
query R
518
+
SELECT avg(sqrt(CAST(c11 AS double))) FROM aggregate_test_100
519
+
----
520
+
0.658440848342
521
+
522
+
statement ok
523
+
drop table aggregate_test_100
524
+
525
+
526
+
# case_sensitive_identifiers_functions
527
+
statement ok
528
+
create table t as values (
529
+
arrow_cast(2, 'Int8'),
530
+
arrow_cast(2, 'Int16'),
531
+
arrow_cast(2, 'Int32'),
532
+
arrow_cast(2, 'Int64'),
533
+
arrow_cast(2, 'UInt8'),
534
+
arrow_cast(2, 'UInt16'),
535
+
arrow_cast(2, 'UInt32'),
536
+
arrow_cast(2, 'UInt64'),
537
+
arrow_cast(2, 'Float32'),
538
+
arrow_cast(2, 'Float64')
539
+
)
540
+
;
541
+
542
+
query R
543
+
SELECT sqrt(column1) FROM t
544
+
----
545
+
1.414213562373
546
+
547
+
query R
548
+
SELECT SQRT(column1) FROM t
549
+
----
550
+
1.414213562373
551
+
552
+
statement error Error during planning: Invalid function 'SQRT'
553
+
SELECT "SQRT"(column1) FROM t
554
+
555
+
query R
556
+
SELECT "sqrt"(column1) FROM t
557
+
----
558
+
1.414213562373
559
+
560
+
# case_builtin_math_expression
561
+
query RRRRRRRRRR
562
+
SELECT sqrt(column1),sqrt(column2),sqrt(column3),sqrt(column4),sqrt(column5),sqrt(column6),sqrt(column7),sqrt(column8),sqrt(column9),sqrt(column10) FROM t
0 commit comments