Skip to content
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

GH-41427: [Go] Fix stateless prepared statements #41428

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

lidavidm
Copy link
Member

@lidavidm lidavidm commented Apr 29, 2024

Rationale for this change

Stateless prepared statements didn't actually work

What changes are included in this PR?

Update the handle after binding parameters

Are these changes tested?

Yes

Are there any user-facing changes?

No

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

LGTM

go/arrow/flight/flightsql/client_test.go Show resolved Hide resolved
@github-actions github-actions bot added awaiting merge Awaiting merge awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review awaiting merge Awaiting merge labels Apr 29, 2024
@lidavidm lidavidm merged commit d60ff53 into apache:main Apr 29, 2024
26 of 27 checks passed
@lidavidm lidavidm removed the awaiting changes Awaiting changes label Apr 29, 2024
@lidavidm lidavidm deleted the gh-41427 branch April 29, 2024 23:46
Copy link

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit d60ff53.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 9 possible false positives for unstable benchmarks that are known to sometimes produce them.

tolleybot pushed a commit to tmct/arrow that referenced this pull request May 2, 2024
### Rationale for this change

Stateless prepared statements didn't actually work

### What changes are included in this PR?

Update the handle after binding parameters

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#41427

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
@matthewmturner
Copy link

@lidavidm FYI we are still seeing having issues with stateless prepared statements from go. It seems to be working from a rust client but something going on with the deserialization of the handle where the data in handle is ending up unknown fields of DoPutPreparedStatementResult instead of prepared_statement_handle.

It's possible that the issue is actually on our side but given that the rust client worked without issue I'm inclined to think its on the go client side. I am looking into it, but wanted to raise it here as well.

tolleybot pushed a commit to tmct/arrow that referenced this pull request May 4, 2024
### Rationale for this change

Stateless prepared statements didn't actually work

### What changes are included in this PR?

Update the handle after binding parameters

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#41427

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
rok pushed a commit to tmct/arrow that referenced this pull request May 8, 2024
### Rationale for this change

Stateless prepared statements didn't actually work

### What changes are included in this PR?

Update the handle after binding parameters

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#41427

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
rok pushed a commit to tmct/arrow that referenced this pull request May 8, 2024
### Rationale for this change

Stateless prepared statements didn't actually work

### What changes are included in this PR?

Update the handle after binding parameters

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#41427

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
vibhatha pushed a commit to vibhatha/arrow that referenced this pull request May 25, 2024
### Rationale for this change

Stateless prepared statements didn't actually work

### What changes are included in this PR?

Update the handle after binding parameters

### Are these changes tested?

Yes

### Are there any user-facing changes?

No
* GitHub Issue: apache#41427

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants