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
Copy file name to clipboardExpand all lines: test/sqllogictest/type-promotion.slt
+53-21Lines changed: 53 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -161,8 +161,8 @@ query error Cannot call function char_length\(i32\): arguments cannot be implici
161
161
SELECT char_length(321);
162
162
163
163
# Cannot implicitly cast string to any numeric category
164
-
# query error no overload for string + string
165
-
# SELECT 'dog'::text + 'cat'::text;
164
+
query error no overload for string \+ string
165
+
SELECT 'dog'::text + 'cat'::text;
166
166
167
167
# Cannot implicitly cast f64 to decimal
168
168
query error Cannot call function round\(f64, i32\): arguments cannot be implicitly cast to any implementation's parameters; try providing explicit casts
@@ -279,12 +279,17 @@ SELECT 2::int::bigint;
279
279
query error CAST does not support casting from interval to i64
280
280
SELECT '1'::interval::bigint
281
281
282
-
#pginvalid
282
+
#pginvalid
283
283
query T
284
284
SELECT '{}'::jsonb::bigint;
285
285
----
286
286
NULL
287
287
288
+
query R
289
+
SELECT '1'::jsonb::bigint;
290
+
----
291
+
1
292
+
288
293
query error invalid input syntax for int8: invalid digit found in string: "dog"
0 commit comments