Skip to content

adbc.snowflake.statement.ingest_copy_concurrency = "0" blocks copy into #2793

@davlee1972

Description

@davlee1972

What happened?

According to the user docs...

adbc.snowflake.statement.ingest_copy_concurrency

Maximum number of COPY operations to run concurrently. Bulk ingestion performance is optimized by executing COPY queries as files are still being uploaded. Snowflake COPY speed scales with warehouse size, so smaller warehouses may benefit from setting this value higher to ensure long-running COPY queries do not block newly uploaded files from being loaded. Default is 4. If set to 0, only a single COPY query will be executed as part of ingestion, once all files have finished uploading. Cannot be negative

When set "0", the copy into operation never kicks off and adbc_ingest() seems to just hang with wait().

This is a bug with 1.5 and 1.6. I've tested this on Windows and Linux.

With the '1.5.0dev' driver I downloaded this wasn't a problem. Downgrading to 1.4 also works..

Current solution is to set adbc.snowflake.statement.ingest_copy_concurrency = "1"

Stack Trace

No response

How can we reproduce the bug?

No response

Environment/Setup

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions