You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/03/25 12:51:05 UTC

[GitHub] [arrow-rs] alamb commented on a diff in pull request #3938: Fix: FlightSqlClient panic when execute_update.

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