birschick-bq commented on code in PR #3171:
URL: https://github.com/apache/arrow-adbc/pull/3171#discussion_r2211730549


##########
csharp/src/Drivers/Databricks/BaseDatabricksReader.cs:
##########
@@ -42,7 +42,7 @@ protected BaseDatabricksReader(DatabricksStatement statement, 
Schema schema, boo
             this.schema = schema;
             this.isLz4Compressed = isLz4Compressed;
             this.statement = statement;
-            if (statement.DirectResults != null && 
!statement.DirectResults.ResultSet.HasMoreRows)
+            if (statement.DirectResults?.ResultSet?.HasMoreRows == true)

Review Comment:
   @jackyhu-db Sorry. My mistake!
   ```suggestion
               if (statement.DirectResults?.ResultSet != null && 
!statement.DirectResults.ResultSet.HasMoreRows)
   ```



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