mcrumiller opened a new issue, #2093:
URL: https://github.com/apache/arrow-adbc/issues/2093

   ### What feature or improvement would you like to see?
   
   In postgres, the 
[`show`](https://www.postgresql.org/docs/current/sql-show.html) command returns 
server/session configuration attributes:
   
   ```sql
   SHOW all
   ```
   
![image](https://github.com/user-attachments/assets/de19b4a7-3f8c-4723-93fc-eabfd740fd2a)
   
   The `show` command doesn't appear to be recognized by abdc:
   
   ```pycon
   >>> cur.execute("show all")    
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File 
"C:\Projects\cqn-bur\.venv_cqn\Lib\site-packages\adbc_driver_manager\dbapi.py", 
line 698, in execute
       handle, self._rowcount = _blocking_call(
                                ^^^^^^^^^^^^^^^
     File "adbc_driver_manager\\_lib.pyx", line 1590, in 
adbc_driver_manager._lib._blocking_call
     File "adbc_driver_manager\\_lib.pyx", line 1213, in 
adbc_driver_manager._lib.AdbcStatement.execute_query
     File "adbc_driver_manager\\_lib.pyx", line 260, in 
adbc_driver_manager._lib.check_error
   adbc_driver_manager.ProgrammingError: INVALID_ARGUMENT: [libpq] Failed to 
execute query: could not begin COPY: ERROR:  syntax error at or near "show"
   LINE 1: COPY (show all) TO STDOUT (FORMAT binary)
   ```


-- 
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-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to