validate custom-query: Exception when PostgreSQL column data type has length or precision #681
Labels
priority: p0
Highest priority. Critical issue. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
When validating by query between Oracle and PostgreSQL we get an exception if any validated column has a length or precision.
Demonstrating below with a PostgreSQL to PostgreSQL comparison to keep things simple.
Test table:
Query file:
Validation command:
Column data types are decoded from the query in
third_party/ibis/ibis_postgres/client.py
in_get_schema_using_query()
.The data type string, for example
'numeric(4,0)'
is not matched in the list of the accepted types because type mappings do not include the precision/length in parentheses.The text was updated successfully, but these errors were encountered: