Title: Allow passing parameters into `to_pandas` call · Issue #578 · databricks/databricks-sql-python · GitHub
Open Graph Title: Allow passing parameters into `to_pandas` call · Issue #578 · databricks/databricks-sql-python
X Title: Allow passing parameters into `to_pandas` call · Issue #578 · databricks/databricks-sql-python
Description: When creating a Connection, currently it's possible to configure some aspects of pandas / arrow, such as _use_arrow_native_complex_types and _use_arrow_native_timestamps, but _convert_arrow_table uses a hardcoded type mapper that's impos...
Open Graph Description: When creating a Connection, currently it's possible to configure some aspects of pandas / arrow, such as _use_arrow_native_complex_types and _use_arrow_native_timestamps, but _convert_arrow_table u...
X Description: When creating a Connection, currently it's possible to configure some aspects of pandas / arrow, such as _use_arrow_native_complex_types and _use_arrow_native_timestamps, but _convert_arrow_tab...
Opengraph URL: https://github.com/databricks/databricks-sql-python/issues/578
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow passing parameters into `to_pandas` call","articleBody":"When creating a `Connection`, currently it's possible to configure some aspects of pandas / arrow, such as `_use_arrow_native_complex_types` and `_use_arrow_native_timestamps`, but `_convert_arrow_table` uses a hardcoded type mapper that's impossible to change:\n\nhttps://github.com/databricks/databricks-sql-python/blob/0947b9aa194d37198fa0b05147f50e4682a5643f/src/databricks/sql/client.py#L1349-L1362\n\nSimilarly, there's no way to pass other parameters to the `to_pandas` call here:\n\nhttps://github.com/databricks/databricks-sql-python/blob/0947b9aa194d37198fa0b05147f50e4682a5643f/src/databricks/sql/client.py#L1366-L1370\n\nPlease consider extending the connection parameters to add more flexibility.\n\n","author":{"url":"https://github.com/j-bennet","@type":"Person","name":"j-bennet"},"datePublished":"2025-05-29T23:26:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/578/databricks-sql-python/issues/578"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef828dcb-c38e-a834-7232-80418caff99d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8EC:166B1C:410DFFF:5A76A02:69713BE0 |
| html-safe-nonce | b8c66104b26407c24df15c3adf89917043abf9372249a94160c23ff27305be9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEVDOjE2NkIxQzo0MTBERkZGOjVBNzZBMDI6Njk3MTNCRTAiLCJ2aXNpdG9yX2lkIjoiMTA5NzUwODQ1Njc5ODE3NDE3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cee0f19dc2e4491e13b0d0568aa5db202e64d90da1a9ab7f5decca057a0b2364 |
| hovercard-subject-tag | issue:3101694760 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/databricks/databricks-sql-python/578/issue_layout |
| twitter:image | https://avatars.githubusercontent.com/u/4998052?s=400&v=4 |
| twitter:card | summary |
| og:image | https://avatars.githubusercontent.com/u/4998052?s=400&v=4 |
| og:image:alt | When creating a Connection, currently it's possible to configure some aspects of pandas / arrow, such as _use_arrow_native_complex_types and _use_arrow_native_timestamps, but _convert_arrow_table u... |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | j-bennet |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7899979feb505886f0f29e8086a739254f3a850fd3dbc9fb63ce4ec27831b1fb |
| turbo-cache-control | no-preview |
| go-import | github.com/databricks/databricks-sql-python git https://github.com/databricks/databricks-sql-python.git |
| octolytics-dimension-user_id | 4998052 |
| octolytics-dimension-user_login | databricks |
| octolytics-dimension-repository_id | 493695132 |
| octolytics-dimension-repository_nwo | databricks/databricks-sql-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 493695132 |
| octolytics-dimension-repository_network_root_nwo | databricks/databricks-sql-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 998d3ef09faa982f8d83ad111166244ae4625572 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width