alinaliBQ commented on issue #50578: URL: https://github.com/apache/arrow/issues/50578#issuecomment-5109741288
> Does the Metadata retrieval fully supported? hi @srinivasan-30 the Apache driver hasn't been tested with metadata retrieval from C#, so there is a possibility that it is not fully supported. I agree with @amoeba that this might be caused by a driver manager difference between platforms, as macOS (iODBC) and Windows ODBC driver managers may have different sequence of ODBC API calls to the Apache driver. In case it might help, there are 2 possible places where the HY010 error could have been thrown: 1. `SQLMoreResults` is a no-op and errors on HY010 if there is no open cursor. https://github.com/apache/arrow/blob/deed9c0d99b33be112f9931ec92f4df65c75fc43/cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_statement.cc#L790 2. `SQLExecute` errors on HY010 if `SQLPrepare` hasn't been called first. The chance of driver manager not calling `SQLPrepare` first is small. https://github.com/apache/arrow/blob/deed9c0d99b33be112f9931ec92f4df65c75fc43/cpp/src/arrow/flight/sql/odbc/odbc_impl/odbc_statement.cc#L302 -- 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]
