phase 17: quote reserved word 'window' in aggregation SQL INSERT
This commit is contained in:
@@ -460,7 +460,7 @@ def assemble_trend_with_evidence(
|
|||||||
|
|
||||||
_UPSERT_TREND = """
|
_UPSERT_TREND = """
|
||||||
INSERT INTO trend_windows (
|
INSERT INTO trend_windows (
|
||||||
entity_type, entity_id, window, trend_direction, trend_strength,
|
entity_type, entity_id, "window", trend_direction, trend_strength,
|
||||||
confidence, top_supporting_evidence, top_opposing_evidence,
|
confidence, top_supporting_evidence, top_opposing_evidence,
|
||||||
dominant_catalysts, material_risks, contradiction_score,
|
dominant_catalysts, material_risks, contradiction_score,
|
||||||
disagreement_details, market_context, generated_at
|
disagreement_details, market_context, generated_at
|
||||||
|
|||||||
Reference in New Issue
Block a user