Skip to content

Import from local CSV file #38

@cyrixsimon

Description

@cyrixsimon

Description

Currently, the driver provides an ImportBuilder and ExportBuilder API to stream data between Exasol and external sources or sinks.
However, the ExportBuilder can only use an Exasol query or table as its source.
Therefore, it cannot be used to import data from a local CSV file located on the client machine.

Problem

When attempting to import local CSV files using the ImportBuilder, the driver internally opens multiple HTTP endpoints (writers) that Exasol connects to.

Each writer must receive data, otherwise the import session can hang or fail with an error such as:

Exasol error 42636: ETL-5105: Following error occured while reading data from external connection [
https://27.1.0.16:43780/import_00005.csv failed after 0 bytes. [Failed to connect to 27.1.0.16 port 43780 after 0 ms: Couldn't connect to server]

This behavior makes it impractical to import small or local CSV files, especially when the number of rows is smaller than the number of writers created by the import process.

Importing local CSV files into Exasol is a very common use case, especially for handling ETL tasks, testing data pipelines, or loading sample data during development.
It would be highly valuable if the library could be extended to support this scenario natively, providing a more reliable way to bring local data into Exasol directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions