zhongjiajie commented on issue #4699: [AIRFLOW-3881] Correct to_csv row number
URL: https://github.com/apache/airflow/pull/4699#issuecomment-463258717
 
 
   @Fokko Sorry, after some try, I can not add test for this.
   
   test already in 
https://github.com/apache/airflow/blob/3389fe29c47dc5258053f26f4729f7b078586445/tests/hooks/test_hive_hook.py#L454-L463
 I can add `fetch_size=2` in L495
   ```python
   hook.to_csv(query, csv_filepath, schema=self.database,
                       delimiter=',', lineterminator='\n', output_header=True, 
fetch_size=2)
   ```
   But I con not test it, I am sorry, do you have any idea to test it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to