CurtHagenlocher commented on code in PR #3121:
URL: https://github.com/apache/arrow-adbc/pull/3121#discussion_r2193484974


##########
csharp/src/Drivers/Databricks/DatabricksStatement.cs:
##########
@@ -530,10 +530,11 @@ protected override async Task<QueryResult> 
GetColumnsExtendedAsync(CancellationT
             {
                 descResult = await descStmt.ExecuteQueryAsync();
             }
-            catch (HiveServer2Exception ex) when (ex.Message.Contains("Error 
running query"))
+            catch (HiveServer2Exception ex) when (ex.SqlState == "42601")

Review Comment:
   Nice!



-- 
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

Reply via email to