jackyhu-db opened a new pull request, #3121: URL: https://github.com/apache/arrow-adbc/pull/3121
# PR Description ### Motivation When `DESC TABLE EXTENDED {fullTableName} AS JSON` fails to run, we will fallback base class `GetColumnsExtendedAsync` which calls 3 metadata query to get the info, but the current check is based on the error message, which is not accurate, instead, we can check the `SqlState` = `42601` which is the error of SQL syntax error, it means the command is not supported by the runtime, then we can fallback to the base class ### Changes - Update the fallback condition check in `Databricks` `GetColumnsExtendedAsync` ### Testing - End-to-end test with the runtime does not support the command -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org