andrenmo opened a new issue, #2063: URL: https://github.com/apache/arrow-adbc/issues/2063
### What happened? When querying a multi dimensional array in Postgres the returned result "loose" the dimensions, e. g. a 2 dimension array is returned as 1 dimension array, the query: ```SQL select array[[1, 1], [2, 3]] ``` It should return: ```python [([[1, 1],[2, 3]],)] ``` It returns: ```python [([1, 1, 2, 3],)] ``` ### Stack Trace _No response_ ### How can we reproduce the bug? ```python import adbc_driver_postgresql.dbapi conn_string = 'postgresql://XXXX:XXXX@localhost:15432/postgres' conn = adbc_driver_postgresql.dbapi.connect(conn_string) cursor = conn.cursor() query = 'select array[[1, 1], [2, 3]]' cursor.fetchall() ``` ### Environment/Setup macOS PostgreSQL 15 adbc-driver-postgresql 1.1.0 -- 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]
