JDBC: Import from local file does not work correctly with error file
Details
| Detail name | Value |
|---|---|
| Changelog Number | 30146 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | JDBC 24.2.0 |
| Fix Versions | JDBC 26.2.8 |
| Resolution Date | 2026-06-30 |
Description
Local CSV imports with ERRORS INTO LOCAL CSV FILE behave incorrectly when CSV options appeared before the error-file clause. The JDBC driver treats the local error file as an additional input file, causing its contents to be imported into the target table.
Workaround
Use an error table instead of a local CSV error file.
Fix
Adjusted local import parsing so that the data file and error file are now handled correctly.