vc_017 · Date column stored as VARCHAR (panel)

Status: ✓ Passing · Last run: 2026-06-04T23:45:38 · Pipeline: v2 · History: 2/3 runs passed (67%)

What was tested

Panel data with snapshot_date stored as STRING type (values formatted YYYY-MM-DD but never parsed to DATE). Typical of CSV imports where the loader didn't infer the column type. The pipeline's snapshot detection + temporal feature templates depend on the time column being a real DATE/TIMESTAMP. With a STRING-typed time column, the pipeline either auto-coerces, falls back to treating it as categorical, or halts. Acceptable behaviors: 1. Coerce — recognize the date-shaped strings and CAST in queries 2. Surface a "snapshot_date is STRING but should be DATE" issue 3. Degrade gracefully with a near-random model + ml_sanity warning Rejected behaviors: - Crash on DATE_DIFF / TIMESTAMP_DIFF against a STRING column - Silently produce a confident model with no warning that the temporal structure was lost

What we planted in the data

What the system did

(no metrics available)

What we checked — all assertions passed

Status Assertion Detail
pipeline_halted_with halted with text containing 'PARSE_DATE': 'RuntimeError: Your src_vc_017 table has snapshot_date as STRING type, but the pipeline ide…
pipeline_halted_with halted with text containing 'PARSE_DATE': 'RuntimeError: Your src_vc_017 table has snapshot_date as STRING type, but the pipeline ide…
pipeline_halted_with halted with text containing 'PARSE_DATE': 'RuntimeError: Your src_vc_017 table has snapshot_date as STRING type, but the pipeline ide…
no_model_produced no model produced — pipeline correctly refused to train

How this could have gone wrong

Why this case matters

Dates-as-strings is the third major CSV-import wart (after numeric-as-string and high-null). Every customer dataset loaded via CSV has at least one column where the type inference missed. The pipeline must survive — ideally recovering the date semantics, acceptably losing the temporal structure with a clear warning.

Reproducing

# from auto_insight_api/
python -m validation.v2 run vc_017 --pipeline v2 -v

← back to validation report