You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/03 21:21:34 UTC
[GitHub] [airflow] kazanzhy commented on pull request #21307: Fixed error in PostgresToGCSOperator on the empty resultset
kazanzhy commented on pull request #21307:
URL: https://github.com/apache/airflow/pull/21307#issuecomment-1029413486
Actually, I think `_PostgresServerSideCursorDecorator` could be removed if `PostgresToGCSOperator.query` will be modified in this way:
```
...
if self.use_server_side_cursor:
cursor.itersize = self.cursor_itersize
cursor.fetchone()
cursor.scroll(0, mode='absolute')
return cursor
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org