Cai-Yao commented on issue #35777: URL: https://github.com/apache/arrow/issues/35777#issuecomment-1566432425
> Can you try [`useEncryption=false`](https://arrow.apache.org/docs/java/flight_sql_jdbc_driver.html)? It seems the docs are wrong on the default value Thx, it's right. I would like to ask if there is Java sample code for flight-sql server. I only find the arrow flight service in Doc. I use python `adbc_driver_flightsql.dbapi` client connection to execute sql `select 1`, it will report error ``` Traceback (most recent call last): File "/app/test.python", line 15, in <module> cursor.execute("SELECT 1, 2.0, 'Hello, world!'") File "/opt/bitnami/python/lib/python3.9/site-packages/adbc_driver_manager/dbapi.py", line 603, in execute self._prepare_execute(operation, parameters) File "/opt/bitnami/python/lib/python3.9/site-packages/adbc_driver_manager/dbapi.py", line 572, in _prepare_execute self._stmt.prepare() File "adbc_driver_manager/_lib.pyx", line 1090, in adbc_driver_manager._lib.AdbcStatement.prepare File "adbc_driver_manager/_lib.pyx", line 385, in adbc_driver_manager._lib.check_error adbc_driver_manager._lib.InternalError: ADBC_STATUS_INTERNAL (9): [FlightSQL] rpc error: code = Internal desc = There was an error servicing your request. ``` -- 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]
