Closed exanm closed 2 years ago
Due to restrictions of the JDBC driver we currently can't fix this for all data types. However we fixed the mapping of HASHTYPE
in #69. GEOMETRY
and INTERVAL
types are mapped to VARCHAR
as before, we reverted the behavior in #67.
We fixed mapping of HASHTYPE
in #69. The fix for GEOMETRY
and INTERVAL
will be done in #71.
The latest release https://github.com/exasol/exasol-virtual-schema/releases/tag/6.0.0 contains changes for the data types HASHTYPE, GEOMETRY, INTERVAL DAY TO SECOND, and INTERVAL YEAR TO MONTH. The generated pushdown queries for these data types are not as expected:
GEOMETRY
columns the adapter generatesIMPORT INTO (c1 GEOMETRY(2000000)) FROM JDBC ...
, but 2000000 is not the correct srid.HASHTYPE
columns with a size other than 16 bytes (the default) the adapter generatesIMPORT INTO (c1 HASHTYPE(16 byte)) ...
, but16 byte
is wrong here, causing the query to fail with the error "data exception - Invalid hash format".INTERVAL DAY TO SECOND
andINTERVAL YEAR TO MONTH
columns the adapter generates the same VARCHAR IMPORTS as the previous version, but the release notes say that there was a change.