You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DuckDB reflects a declared Double/DOUBLE PRECISION column differently from its own type #55
DuckDB's dialect compiles a declared Double()/DOUBLE PRECISION column as "DOUBLE PRECISION", but reflecting that same column back gives a type that compiles as "DOUBLE".
DuckDBTypeCompiler inherits from PGTypeCompiler and only overrides visit_FLOAT; the Double/DOUBLE-PRECISION rendering falls through to Postgres's spelling, which doesn't match DuckDB's own catalog name.
Breaks any consumer that compiles a declared and a reflected type and compares them, e.g. schema-drift reconciliation.
Fix direction
Add a reflects_double_precision_as_double flag to DialectProfile (True for DuckDB), alongside the existing reflects_float_as_double_precision/reflects_text_as_varchar flags.
Activity