From 54acf0b3d83dca61de121ec185ffffed878430d1 Mon Sep 17 00:00:00 2001 From: Riccardo Boero <ribo@nilu.no> Date: Thu, 3 Oct 2024 15:25:34 +0200 Subject: [PATCH] Fixed column format for table partitioning. --- inputs/sql/partition_db.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inputs/sql/partition_db.sql b/inputs/sql/partition_db.sql index 1d9eb29..a259982 100644 --- a/inputs/sql/partition_db.sql +++ b/inputs/sql/partition_db.sql @@ -1,4 +1,6 @@ ALTER TABLE FACT_bldgs.footprints +MODIFY COLUMN id VARCHAR(2); +ALTER TABLE FACT_bldgs.footprints PARTITION BY LIST COLUMNS (id) ( PARTITION p_unknown VALUES IN (''), PARTITION p_01 VALUES IN ('01'), -- GitLab