diff --git a/import-automation/workflow/ingestion-helper/schema.sql b/import-automation/workflow/ingestion-helper/schema.sql index 84b9a5153b..cb7231901b 100644 --- a/import-automation/workflow/ingestion-helper/schema.sql +++ b/import-automation/workflow/ingestion-helper/schema.sql @@ -118,22 +118,6 @@ CREATE TABLE Cache ( value JSON, ) PRIMARY KEY(type, key, provenance); -CREATE TABLE VariableMetadata ( - variable_measured STRING(1024) NOT NULL, - import_name STRING(1024) NOT NULL, - facet_id STRING(1024) NOT NULL, - observation_period STRING(1024), - measurement_method STRING(1024), - unit STRING(1024), - scaling_factor STRING(1024), - is_dc_aggregate BOOL, - total_observations INT64, - observed_places INT64, - min_date STRING(1024), - max_date STRING(1024), - place_types ARRAY, -) PRIMARY KEY(variable_measured, import_name); - CREATE INDEX InEdge ON Edge(object_id, predicate, subject_id, provenance) OPTIONS ( columnar_policy = 'enabled' ); diff --git a/import-automation/workflow/ingestion-helper/spanner_client.py b/import-automation/workflow/ingestion-helper/spanner_client.py index 6871f8bed7..8443ff4c96 100644 --- a/import-automation/workflow/ingestion-helper/spanner_client.py +++ b/import-automation/workflow/ingestion-helper/spanner_client.py @@ -467,7 +467,7 @@ def initialize_database(self, enable_embeddings=False): required_tables = [ "Node", "Edge", "Observation", "ImportStatus", "IngestionHistory", - "ImportVersionHistory", "IngestionLock", "Cache", "VariableMetadata" + "ImportVersionHistory", "IngestionLock", "Cache" ] required_indexes = ["InEdge", "VariableMeasuredObservationAbout"] required_models = []