kou opened a new issue, #47907: URL: https://github.com/apache/arrow/issues/47907
### Describe the bug, including details regarding any error messages, version, and platform. https://github.com/apache/arrow/actions/runs/18707596638/job/53348535222#step:10:51 ```text Error: test_success(TestFlightSQLClient::#execute_update): Arrow::Error::Invalid: [flight-sql-client][execute-update]: Invalid: [flight-sql-server][do-put-command-statement-update]: garrow - error - quark(4): invalid SQL /Users/runner/work/arrow/arrow/c_glib/test/helper/flight-sql-server.rb:45:in `virtual_do_do_put_command_statement_update' . gRPC client debug context: UNKNOWN:Error received from peer ipv4:127.0.0.1:49451 {grpc_status:3, grpc_message:"[flight-sql-server][do-put-command-statement-update]: garrow - error - quark(4): invalid SQL\n /Users/runner/work/arrow/arrow/c_glib/test/helper/flight-sql-server.rb:45:in `virtual_do_do_put_command_statement_update\'\n"}. Client context: OK /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:715:in `invoke' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:715:in `invoke' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:583:in `execute_update' /Users/runner/work/arrow/arrow/c_glib/test/flight-sql/test-client.rb:62:in `test_success' 59: sub_test_case("#execute_update") do 60: def test_success 61: insert_sql = "INSERT INTO page_view_table VALUES (100, true)" => 62: n_changed_records = @sql_client.execute_update(insert_sql) 63: assert_equal(1, n_changed_records) 64: end 65: Error: Arrow::Error::Invalid: [flight-sql-client][execute-update]: Invalid: [flight-sql-server][do-put-command-statement-update]: garrow - error - quark(4): invalid SQL /Users/runner/work/arrow/arrow/c_glib/test/helper/flight-sql-server.rb:45:in `virtual_do_do_put_command_statement_update' . gRPC client debug context: UNKNOWN:Error received from peer ipv4:127.0.0.1:49451 {grpc_status:3, grpc_message:"[flight-sql-server][do-put-command-statement-update]: garrow - error - quark(4): invalid SQL\n /Users/runner/work/arrow/arrow/c_glib/test/helper/flight-sql-server.rb:45:in `virtual_do_do_put_command_statement_update\'\n"}. Client context: OK /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:715:in `invoke' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:715:in `invoke' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:583:in `execute_update' /Users/runner/work/arrow/arrow/c_glib/test/flight-sql/test-client.rb:62:in `test_success' /Users/runner/work/arrow/arrow/cpp/src/gandiva/cache.cc:58: Creating gandiva cache with capacity of 5000 /Users/runner/work/arrow/arrow/cpp/src/gandiva/engine.cc:313: Detected CPU Name : generic =============================================================================== /Users/runner/work/arrow/arrow/cpp/src/gandiva/engine.cc:314: Detected CPU Features: [] =============================================================================== Error: test_success(TestFlightSQLClient::#prepare): Arrow::Error::Invalid: [flight-sql-client][prepare]: Invalid: [flight-sql-server][create-prepared-statement]: garrow - error - quark(4): invalid SQL /Users/runner/work/arrow/arrow/c_glib/test/helper/flight-sql-server.rb:52:in `virtual_do_create_prepared_statement' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:715:in `invoke' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:715:in `invoke' /opt/homebrew/lib/ruby/gems/3.3.0/gems/gobject-introspection-4.3.3/lib/gobject-introspection/loader.rb:583:in `prepare' /Users/runner/work/arrow/arrow/c_glib/test/flight-sql/test-client.rb:76:in `test_success' 73: sub_test_case("#prepare") do 74: def test_success 75: insert_sql = "INSERT INTO page_view_table VALUES (?, true)" => 76: statement = @sql_client.prepare(insert_sql) 77: begin 78: assert_equal([ 79: build_schema(count: :uint64, private: :boolean), Error: Arrow::Error::Invalid: [flight-sql-client][prepare]: Invalid: [flight-sql-server][create-prepared-statement]: garrow - error - quark(4): invalid SQL /Users/runner/work/arrow/arrow/c_glib/test/helper/flight-sql-server.rb:52:in `virtual_do_create_prepared_statement' ``` I could reproduce this on my local macOS machine. It seems that `GetFlightDescriptorForCommand()` doesn't include the passed SQL to `FlightDescriptor`. So this may be a problem of the C++ part. ### Component(s) Continuous Integration, GLib, FlightRPC -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
