From 666a7173c63a2ff2ae3d8cb0500e86d1564140d8 Mon Sep 17 00:00:00 2001 From: Richard Moorhead Date: Tue, 10 Dec 2024 12:57:17 -0600 Subject: [PATCH] GEOMESA-3423 - restore logged tables --- .../postgis/dialect/tables/PartitionTablespacesTable.scala | 2 +- .../gt/partition/postgis/dialect/tables/PrimaryKeyTable.scala | 2 +- .../gt/partition/postgis/dialect/tables/SequenceTable.scala | 2 +- .../gt/partition/postgis/dialect/tables/UserDataTable.scala | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PartitionTablespacesTable.scala b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PartitionTablespacesTable.scala index 54e0b94e564c..f42a8a997289 100644 --- a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PartitionTablespacesTable.scala +++ b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PartitionTablespacesTable.scala @@ -24,7 +24,7 @@ class PartitionTablespacesTable extends Sql { val table = TableIdentifier(info.schema.raw, Name.raw) val cName = TableName(Name.raw + "_pkey") val create = - s"""CREATE ${info.walLogSQL} TABLE IF NOT EXISTS ${table.quoted} ( + s"""CREATE TABLE IF NOT EXISTS ${table.quoted} ( | type_name text not null, | table_type text not null, | table_space text diff --git a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PrimaryKeyTable.scala b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PrimaryKeyTable.scala index 571e54549368..c21602063c6b 100644 --- a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PrimaryKeyTable.scala +++ b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/PrimaryKeyTable.scala @@ -28,7 +28,7 @@ class PrimaryKeyTable extends Sql { // we need to define the primary key separately since the main view can't have any primary key columns val table = s"${info.schema.quoted}.${Name.quoted}" val create = - s"""CREATE ${info.walLogSQL} TABLE IF NOT EXISTS $table ( + s"""CREATE TABLE IF NOT EXISTS $table ( | table_schema character varying, | table_name character varying, | pk_column_idx integer, diff --git a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/SequenceTable.scala b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/SequenceTable.scala index e27218c28d40..8b6a78b96784 100644 --- a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/SequenceTable.scala +++ b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/SequenceTable.scala @@ -20,7 +20,7 @@ class SequenceTable extends Sql { override def create(info: TypeInfo)(implicit ex: ExecutionContext): Unit = { val table = TableIdentifier(info.schema.raw, Name.raw) val create = - s"""CREATE ${info.walLogSQL} TABLE IF NOT EXISTS ${table.qualified} ( + s"""CREATE TABLE IF NOT EXISTS ${table.qualified} ( | type_name text PRIMARY KEY, | value smallint NOT NULL CHECK (value >= 0 AND value <= 999) |);""".stripMargin diff --git a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/UserDataTable.scala b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/UserDataTable.scala index 59899d1e8295..fada2fc7e2bd 100644 --- a/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/UserDataTable.scala +++ b/geomesa-gt/geomesa-gt-partitioning/src/main/scala/org/locationtech/geomesa/gt/partition/postgis/dialect/tables/UserDataTable.scala @@ -28,7 +28,7 @@ class UserDataTable extends Sql { val table = TableIdentifier(info.schema.raw, Name.raw) val cName = TableName(Name.raw + "_pkey") val create = - s"""CREATE ${info.walLogSQL} TABLE IF NOT EXISTS ${table.quoted} ( + s"""CREATE TABLE IF NOT EXISTS ${table.quoted} ( | type_name text not null, | key text not null, | value text not null