You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jduo (via GitHub)" <gi...@apache.org> on 2025/05/26 16:25:16 UTC

[I] [C++][FlightSQL][ODBC]: Flight ODBC driver should iterate over endpoints [arrow]

jduo opened a new issue, #46584:
URL: https://github.com/apache/arrow/issues/46584

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The current implementation of the ODBC driver does not correctly establish connections to other nodes when a flight result set is distributed.
   
   https://github.com/apache/arrow/blob/218c8861f52444dcf7b6d78e1dd266706e584ffe/cpp/src/arrow/flight/sql/odbc/flight_sql/flight_sql_stream_chunk_buffer.cc#L35
   
   At this line, it just calls DoGet() with the ticket at the originating endpoint. It doesn't check the list of locations to see if it is empty (which indicates that this is OK).
   
   The correct behavior is to call DoGet() on the current client only if the list of locations in the FlightEndpoint is empty. If it is non-empty, the driver should create a FlightSqlClient to connect to one of the specified locations directly.
   
   The JDBC driver had this problem in #38521  
   
   ### Component(s)
   
   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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][FlightSQL][ODBC]: Flight ODBC driver should iterate over endpoints [arrow]

Posted by "alinaliBQ (via GitHub)" <gi...@apache.org>.
alinaliBQ commented on issue #46584:
URL: https://github.com/apache/arrow/issues/46584#issuecomment-3053549382

   My team can take a look at this


-- 
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


Re: [I] [C++][FlightSQL][ODBC]: Flight ODBC driver should iterate over endpoints [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #46584: [C++][FlightSQL][ODBC]: Flight ODBC driver should iterate over endpoints
URL: https://github.com/apache/arrow/issues/46584


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][FlightSQL][ODBC]: Flight ODBC driver should iterate over endpoints [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #46584:
URL: https://github.com/apache/arrow/issues/46584#issuecomment-3592382413

   Issue resolved by pull request 47991
   https://github.com/apache/arrow/pull/47991


-- 
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