From 46bbee5423aedf1813cc1017c2aa8c6e2c82d2ee Mon Sep 17 00:00:00 2001 From: Dom Dwyer Date: Fri, 14 Oct 2022 14:45:48 +0200 Subject: [PATCH] refactor: reduce default column limit Reduces the default number of columns allowed per-table, from 1,000 to 200. --- ...20221014122742_lower-default-per-table-column-limit.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 iox_catalog/migrations/20221014122742_lower-default-per-table-column-limit.sql diff --git a/iox_catalog/migrations/20221014122742_lower-default-per-table-column-limit.sql b/iox_catalog/migrations/20221014122742_lower-default-per-table-column-limit.sql new file mode 100644 index 0000000000..69ed514488 --- /dev/null +++ b/iox_catalog/migrations/20221014122742_lower-default-per-table-column-limit.sql @@ -0,0 +1,7 @@ +-- Lower the defualt per-table column limit. +-- +-- https://github.com/influxdata/influxdb_iox/issues/5858 +ALTER TABLE + namespace ALTER max_columns_per_table +SET + DEFAULT 200;