You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "youngsofun (via GitHub)" <gi...@apache.org> on 2023/03/25 07:34:52 UTC
[GitHub] [arrow-rs] youngsofun opened a new pull request, #3938: Fix FlightService::do_put() for FlightSqlService.
youngsofun opened a new pull request, #3938:
URL: https://github.com/apache/arrow-rs/pull/3938
# Which issue does this PR close?
# Rationale for this change
missing '.as_any()' when encoding DoPutUpdateResult, which results in empty Bytes,
then FlightSqlClient will panic when `unpack()?.unwrap()`
# What changes are included in this PR?
# Are there any user-facing changes?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] alamb commented on a diff in pull request #3938: Fix: FlightSqlClient panic when execute_update.
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #3938:
URL: https://github.com/apache/arrow-rs/pull/3938#discussion_r1148363950
##########
arrow-flight/src/sql/server.rs:
##########
@@ -473,7 +473,7 @@ where
let record_count = self.do_put_statement_update(token, request).await?;
let result = DoPutUpdateResult { record_count };
let output = futures::stream::iter(vec![Ok(PutResult {
- app_metadata: result.encode_to_vec().into(),
+ app_metadata: result.as_any().encode_to_vec().into(),
Review Comment:
👍 makes sense to me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] youngsofun commented on pull request #3938: Fix: FlightSqlClient panic when execute_update.
Posted by "youngsofun (via GitHub)" <gi...@apache.org>.
youngsofun commented on PR #3938:
URL: https://github.com/apache/arrow-rs/pull/3938#issuecomment-1483797411
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to '/usr/local/rustup/tmp/rb3m0rx998xyf7h4_file': failed to make network request: error sending request for url (https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256): error trying to connect: Connection reset by peer (os error 104): error trying to connect: Connection reset by peer (os error 104): Connection reset by peer (os error 104): Connection reset by peer (os error 104)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold merged pull request #3938: Fix: FlightSqlClient panic when execute_update.
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold merged PR #3938:
URL: https://github.com/apache/arrow-rs/pull/3938
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org