Skip to content

fix(asap-tools): batch ClickHouse JSON-lines bulk load instead of a single oversized INSERT #541

Description

@akanksha-akkihal

Summary

Bulk-loading JSON-lines datasets into ClickHouse currently pipes the entire file through a single SSH → docker exec → one INSERT … FORMAT JSONEachRow command. That works for small fixtures but is unreliable for the multi-GB datasets used in the ClickHouse benchmark (experiment_run_clickhouse.py), where a single oversized INSERT gives no partial progress and no useful diagnostics when it fails.

We should load in bounded batches, wait for ClickHouse to actually be reachable first, and fail with an actionable message when input data is malformed.

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