Conversation
Documentation build overview
37 files changed ·
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #123 +/- ##
==========================================
+ Coverage 54.33% 54.40% +0.06%
==========================================
Files 203 203
Lines 9574 9582 +8
==========================================
+ Hits 5202 5213 +11
+ Misses 4372 4369 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
51ba162 to
5c7c8ae
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Warning Review limit reached
Next review available in: 28 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (16)
WalkthroughAdds XLSX ingestion to filesystem sources, including format detection, worksheet hints, Polars-based reading, local destination naming, runtime dependencies, integration tests, and documentation updates. ChangesXLSX filesystem support
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant SourceURI
participant FilesystemAdapter
participant ExcelReader
participant Polars
SourceURI->>FilesystemAdapter: Parse xlsx format and sheet_name hint
FilesystemAdapter->>ExcelReader: Select read_excel and bind hints
ExcelReader->>Polars: Read workbook bytes
Polars-->>ExcelReader: Return worksheet rows
ExcelReader-->>FilesystemAdapter: Yield named records
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
0709ba1 to
12234a6
Compare
| elif ref.reader_name == "read_excel": | ||
| reader = reader.bind(**ref.hints) |
There was a problem hiding this comment.
Forwarding omniload reader hints to Polars read_xyz kwargs 1:1 currently just barely works for string argument types, so this basic implementation does not support forwarding all arguments just yet.
Because no type conversion takes place, it is currently not possible to convey int, float, bool, or container types. It could be another candidate for a more thorough approach using Pydantic in the long run.
Short-term, in order to forward all kwargs to polars.read_excel properly, let's either supply a custom mapper, or introspect the target read_excel function to learn about relevant types at runtime to be able to automatically cast them to their expected types.
For list and dict types, let's use compact JSON as serialized representation (no whitespace), when possible.
There was a problem hiding this comment.
| workbook. The loader is using [polars.read_excel], please consult its documentation | ||
| about all available parameters and their meaning. |
There was a problem hiding this comment.
Not all arguments of polars.read_excel can be forwarded yet. Currently, that works only for str types, see my last comment.
a6682b1 to
babb3d4
Compare
3eb73a2 to
cf1c6a5
Compare
About
A connector for reading spreadsheets from Excel XLSX workbook files was dearly missing. It uses Polars' read_excel.
References