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/regression/expected/array_type_support.out
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -308,7 +308,7 @@ INSERT INTO numeric_array_1d SELECT CAST(a as NUMERIC[]) FROM (VALUES
308
308
('{}')
309
309
) t(a);
310
310
SELECT * FROM numeric_array_1d;
311
-
WARNING: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.duckdb.convert_unsupported_numeric_to_double = true'
311
+
WARNING: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.convert_unsupported_numeric_to_double = true'
312
312
a
313
313
--------------------
314
314
{1.1,2.2,3.3}
@@ -596,7 +596,7 @@ INSERT INTO numeric_array_2d VALUES
596
596
('{}'),
597
597
('{{11.1,12.2},{NULL,14.4}}');
598
598
SELECT * FROM numeric_array_2d;
599
-
WARNING: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.duckdb.convert_unsupported_numeric_to_double = true'
599
+
WARNING: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.convert_unsupported_numeric_to_double = true'
ERROR: Storage options are not supported in DuckDB
166
166
-- Should fail because user should specify the precision of the NUMERIC.
167
167
CREATE TEMP TABLE large_numeric_tbl (a NUMERIC) USING duckdb;
168
-
ERROR: (PGDuckDB/duckdb_create_table_trigger_cpp) Not implemented Error: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.duckdb.convert_unsupported_numeric_to_double = true'
168
+
ERROR: (PGDuckDB/duckdb_create_table_trigger_cpp) Not implemented Error: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.convert_unsupported_numeric_to_double = true'
169
169
-- But it's fine if the user specifies the precision
170
170
CREATE TEMP TABLE large_numeric_tbl_specified (a NUMERIC(38,20)) USING duckdb;
171
171
-- CTAS is fine though, it will use duckdb its default
Copy file name to clipboardExpand all lines: test/regression/expected/type_support.out
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -327,7 +327,7 @@ INSERT INTO numeric_as_double SELECT a FROM (VALUES
327
327
(458234502034234234234.000012)
328
328
) t(a);
329
329
SELECT * FROM numeric_as_double;
330
-
WARNING: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.duckdb.convert_unsupported_numeric_to_double = true'
330
+
WARNING: Unsupported Postgres type: DuckDB requires the precision of a NUMERIC to be set. You can choose to convert these NUMERICs to a DOUBLE by using 'SET duckdb.convert_unsupported_numeric_to_double = true'
0 commit comments