Skip to content

--output-chunk-size is accepted and validated but never used #9

Description

@vgreg

Part of #5.

output_chunk_size is a CLI flag, is passed through the controller, and is validated by _validate_chunking_support (src/daflip/services.py:144) which will raise NotImplementedError for an unsupported output format. It is then never read again. The docstring at services.py:544 admits this: "Size of chunks for writing (currently unused)".

So the flag can only ever fail; it can never do anything. Worse, output row-group size is a real thing users want to control for Parquet.

Fix: either implement it as the Parquet row-group size (currently one row group per input chunk) and the CSV append batch size, or remove the flag.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions