databricks-sql-python
databricks-sql-python copied to clipboard
Enhance Arrow to Pandas conversion with type overrides and additional kwargs
- Introduced _arrow_pandas_type_override and _arrow_to_pandas_kwargs in Connection class for customizable dtype mapping and DataFrame construction parameters.
- Updated ResultSet to utilize these new options during conversion from Arrow tables to Pandas DataFrames.
- Added unit tests to validate the new functionality, including scenarios for type overrides and additional kwargs handling.
What type of PR is this?
- [ ] Refactor
- [x] Feature
- [ ] Bug Fix
- [ ] Other
Description
How is this tested?
- [x] Unit tests
- [ ] E2E Tests
- [ ] Manually
- [ ] N/A
Related Tickets & Documents
#578