Skip to content

Commit

Permalink
Update exasol.md
Browse files Browse the repository at this point in the history
Improved documentation on data type mismatches.
  • Loading branch information
pj-spoelders authored Apr 2, 2024
1 parent d25af86 commit 52bab26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/dialects/exasol.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ IMPORT INTO (c1 DECIMAL(36,1), c2 .... ) FROM EXA AT "EXA_CONNECTION" STATEMENT

##### Data type mismatch

In case you run into a `Data type mismatch` issue when using EXA import turning this property on will usually also solve the issue by providing type hints.
In case you run into a `Data type mismatch` issue which looks like this:
`Adapter generated invalid pushdown query for virtual table <TABLENAME>: Data type mismatch in column number <COLUMN NUMBER> (1-indexed).Expected <EXPECTED IMPORT TYPE>, but got <IMPORT TYPE>.`

You can set the datatype mapping to true: `GENERATE_JDBC_DATATYPE_MAPPING_FOR_EXA = 'true'`.
This will usually solve the issue by providing type hints.

### Using `IMPORT FROM JDBC`

Expand Down

0 comments on commit 52bab26

Please sign in to comment.