Skip to content

fix(flightsql): remove Any encoding of DoPutPreparedStatementResult#5817

Merged
alamb merged 1 commit intoapache:masterfrom
erratic-pattern:flghtsql-prepared-statement-params-no-any
May 31, 2024
Merged

fix(flightsql): remove Any encoding of DoPutPreparedStatementResult#5817
alamb merged 1 commit intoapache:masterfrom
erratic-pattern:flghtsql-prepared-statement-params-no-any

Conversation

@erratic-pattern
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #5731.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions Bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels May 29, 2024
@erratic-pattern erratic-pattern force-pushed the flghtsql-prepared-statement-params-no-any branch 2 times, most recently from 1a6067e to 8f54a4a Compare May 29, 2024 19:20
@tustvold tustvold added the api-change Changes to the arrow API label May 30, 2024
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me too -- @matthewmturner is there any chance you can give this a quick look as well?

@matthewmturner
Copy link
Copy Markdown
Contributor

LGTM for the prepared statement result (i think the title just needs to be updated). Im also not sure if there are other payloads that rust wraps in any which other languages dont - I havent had the time to compare those.

@alamb alamb changed the title fix(flightsql): remove Any encoding of DoPutPreparedStatementUpdateResult fix(flightsql): remove Any encoding of DoPutPreparedStatementResult May 31, 2024
@alamb
Copy link
Copy Markdown
Contributor

alamb commented May 31, 2024

LGTM for the prepared statement result (i think the title just needs to be updated). Im also not sure if there are other payloads that rust wraps in any which other languages dont - I havent had the time to compare those.

Thanks @matthewmturner -- I updated the title of the PR

Given this PR is clearly more compatible than the current code, I think it is good to go.

If/when we evaluate the other methods and find additional issues, let's file additional tickets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change Changes to the arrow API arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stateless prepared statements wrap DoPutPreparedStatementResult with Any which is differs from Go implementation

4 participants