H2升级到postgres

#1

hi,
Caused by: org.postgresql.util.PSQLException: ERROR: null value in column “sizeX” violates not-null constraint
Detail: Failing row contains (2, 2019-01-21 03:48:14.724+00, 2019-02-28 10:58:13.965+00, null, null, 7, 9, 3, 1, [], {}).
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
… 49 more
Command failed with exception: Batch entry 0 INSERT INTO report_dashboardcard ( “sizeX”, “updated_at”, “col”, “id”, “parameter_mappings”, “card_id”, “visualization_settings”, “dashboard_id”, “created_at”, “sizeY”, “row” ) VALUES ( NULL, ‘2019-02-28 10:58:13.965+00’::timestamp with time zone, 9, 2, ‘[]’, 3, ‘{}’, 1, ‘2019-01-21 03:48:14.724+00’::timestamp with time zone, NULL, 7 ) was aborted: ERROR: null value in column “sizeX” violates not-null constraint
Detail: Failing row contains (2, 2019-01-21 03:48:14.724+00, 2019-02-28 10:58:13.965+00, null, null, 7, 9, 3, 1, [], {}). Call getNextException to see other errors in the batch.

#2

Hi @xiao.yu
Upgrade to version 0.32.5 - it is fixed.
https://github.com/metabase/metabase/issues/9756