-
-
Notifications
You must be signed in to change notification settings - Fork 150
refactor: return an explicit error for unrecognized data types in static schema #1402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
refactor: return an explicit error for unrecognized data types in static schema #1402
Conversation
WalkthroughThe function handling static schema conversion now returns a specific error ( Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant convert_static_schema_to_arrow_schema
participant StaticSchemaError
Caller->>convert_static_schema_to_arrow_schema: Call with static schema
convert_static_schema_to_arrow_schema->>convert_static_schema_to_arrow_schema: Iterate fields
alt Recognized data type
convert_static_schema_to_arrow_schema-->>Caller: Return Arrow schema
else Unrecognized data type
convert_static_schema_to_arrow_schema->>StaticSchemaError: Create UnrecognizedDataType error
StaticSchemaError-->>convert_static_schema_to_arrow_schema: Return error
convert_static_schema_to_arrow_schema-->>Caller: Return UnrecognizedDataType error
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes found. Poem
Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
…tic schema conversion
d9548fa
to
7429f7e
Compare
Fixes #1223
Description
This PR has:
Summary by CodeRabbit
Bug Fixes
Tests