Skip to content

ExecuteMany performance is insanely bad #558

Open
@diwu-sf

Description

@diwu-sf

I know that the documentation makes it clear that executemany is a naive for loop:

No optimizations of the query (like batching) will be performed. 

But it's 2025 and please have a more optimized executemany that just issues a single SQL statement using VALUES(...) or something so this is actually usable in a data pipeline. Otherwise, trying to use the databricks SQL connector to write any non-trivial dataframe to a delta table is pointless.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions