Skip to content

feat(query): add arrow ipc stream response format - #216

Merged
hotdata-automation[bot] merged 1 commit into
mainfrom
openapi-update-38689623827
Oct 15, 2026
Merged

hotdata-automation[bot] merged 1 commit into
mainfrom
openapi-update-38689623827

Conversation

@hotdata-automation

Copy link
Copy Markdown
Contributor

Auto-generated from the updated HotData OpenAPI spec.
Source: https://github.com/hotdata-dev/www/pull/452

@hotdata-automation
hotdata-automation Bot requested a review from a team as a code owner October 15, 2026 05:57
@hotdata-automation
hotdata-automation Bot requested review from shefeek-jinnah and removed request for a team October 15, 2026 05:57
@hotdata-automation
hotdata-automation Bot enabled auto-merge (squash) October 15, 2026 05:57
Comment thread hotdata/api/query_api.py
[
'application/json'
'application/json',
'application/vnd.apache.arrow.stream'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: Document that only query_without_preload_content() can return an Arrow body (not blocking).

The default Accept stays application/json, because select_header_accept picks the first JSON entry. A caller that passes _headers={'Accept': 'application/vnd.apache.arrow.stream'} to query() or query_with_http_info() fails. response_deserialize in hotdata/api_client.py:324 decodes the Arrow bytes as UTF-8 for the QueryResponse type. That decode raises UnicodeDecodeError or "Unsupported content type". Add one sentence to docs/QueryApi.md or the README that points Arrow users to query_without_preload_content(). Skip this fix if the generator templates cannot carry the note.

@hotdata-automation
hotdata-automation Bot merged commit e6f00ff into main Oct 15, 2026
5 checks passed
@hotdata-automation
hotdata-automation Bot deleted the openapi-update-38689623827 branch October 15, 2026 05:59
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.

0 participants