guan404ming commented on code in PR #49339:
URL: https://github.com/apache/airflow/pull/49339#discussion_r2050802437
##########
providers/apache/drill/tests/unit/apache/drill/hooks/test_drill.py:
##########
@@ -90,13 +90,13 @@ def test_get_records(self):
assert self.cur.close.call_count == 1
self.cur.execute.assert_called_once_with(statement)
- def test_get_pandas_df(self):
+ def test_get_df(self):
statement = "SQL"
column = "col"
result_sets = [("row1",), ("row2",)]
self.cur.description = [(column,)]
self.cur.fetchall.return_value = result_sets
- df = self.db_hook().get_pandas_df(statement)
+ df = self.db_hook().get_df(statement, df_type="pandas")
Review Comment:
Thanks for reviewing~ I've updated the test.
--
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]