Skip to content

test(s3): cover select serialization shapes#147

Merged
overtrue merged 1 commit intomainfrom
codex/test-sql-select-serialization
Apr 22, 2026
Merged

test(s3): cover select serialization shapes#147
overtrue merged 1 commit intomainfrom
codex/test-sql-select-serialization

Conversation

@overtrue
Copy link
Copy Markdown
Contributor

Related issue(s)

No direct issue. This is focused test-gap coverage for the recently merged S3 Select support.

Background and impact

The SQL command maps CLI select options into AWS S3 Select serialization structures before sending SelectObjectContent. The previous tests covered error classification and the Parquet compression guard, but did not assert the successful CSV, JSON-lines, compression, or output serialization shapes.

Root cause

The new builder paths in rc-s3 were only indirectly exercised, leaving regressions in request serialization choices hard to catch with the existing unit tests.

Solution

Add focused rc-s3 unit tests for CSV input defaults with BZIP2 compression, JSON input using LINES mode with GZIP compression, and output serialization selection between CSV and JSON.

Test status

  • cargo test -p rc-s3 select::tests --lib
  • cargo fmt --all --check
  • make pre-commit

@overtrue overtrue marked this pull request as ready for review April 21, 2026 17:11
@overtrue overtrue merged commit cbe7a17 into main Apr 22, 2026
15 checks passed
@overtrue overtrue deleted the codex/test-sql-select-serialization branch April 22, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant