jedcunningham commented on code in PR #36827:
URL: https://github.com/apache/airflow/pull/36827#discussion_r1454180373


##########
airflow/providers/databricks/hooks/databricks_sql.py:
##########
@@ -280,6 +280,8 @@ def _make_common_data_structure(self, result: Sequence[Row] 
| Row) -> list[tuple
         # instantiated namedtuple, and will never do: 
https://github.com/python/mypy/issues/848
         if isinstance(result, list):
             rows: list[Row] = result
+            if len(rows) == 0:

Review Comment:
   nit 
   ```suggestion
               if not rows:
   ```



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

Reply via email to