chore: Update column order for ELABDATADISP to exclude node/state/calc_err
Updated get_column_order() for elabdatadisp table to return only the columns that are now stored separately: - id_elab_data - unit_name - tool_name_id - event_timestamp - measurements (includes node_num, state, calc_err keyed by node) - created_at Removed: node_num, state, calc_err, updated_at (not used after consolidation) This matches the schema defined in schema_transformer.py where these fields are noted as being stored in the JSONB measurements column. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -474,13 +474,9 @@ class DataTransformer:
|
|||||||
"id_elab_data",
|
"id_elab_data",
|
||||||
"unit_name",
|
"unit_name",
|
||||||
"tool_name_id",
|
"tool_name_id",
|
||||||
"node_num",
|
|
||||||
"event_timestamp",
|
"event_timestamp",
|
||||||
"state",
|
|
||||||
"calc_err",
|
|
||||||
"measurements",
|
"measurements",
|
||||||
"created_at",
|
"created_at",
|
||||||
"updated_at",
|
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"Unknown table: {table}")
|
raise ValueError(f"Unknown table: {table}")
|
||||||
|
|||||||
Reference in New Issue
Block a user