Skip to content

Add tests for pandas DataFrame (.pdf()) materialisation#42

Open
McLavish wants to merge 2 commits into
RumbleDB:mainfrom
McLavish:add-pdf-materialization-tests
Open

Add tests for pandas DataFrame (.pdf()) materialisation#42
McLavish wants to merge 2 commits into
RumbleDB:mainfrom
McLavish:add-pdf-materialization-tests

Conversation

@McLavish

Copy link
Copy Markdown

Adds tests/test_pdf_materialization.py

Copilot AI review requested due to automatic review settings June 25, 2026 15:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated test suite to exercise the SequenceOfItems.pdf() materialization path (via df().toPandas()), focusing on schema inference/type coercion for heterogeneous JSONiq outputs.

Changes:

  • Introduces tests/test_pdf_materialization.py with end-to-end assertions on DataFrame shape, inferred dtypes, and values across many mixed-type scenarios.
  • Adds coverage for null-vs-absent field behavior, nested heterogeneity, and temporal value materialization.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_pdf_materialization.py
Comment thread tests/test_pdf_materialization.py Outdated
Comment thread tests/test_pdf_materialization.py Outdated
Comment thread tests/test_pdf_materialization.py Outdated
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.

2 participants