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 2020/04/20 09:29:14 UTC

[GitHub] [airflow] wittfabian opened a new issue #8468: DbApiHook: add chunksize to get_pandas_df parameters

wittfabian opened a new issue #8468:
URL: https://github.com/apache/airflow/issues/8468


   **Description**
   
   The method "get_pandas_df" should be extended by the parameter "chunksize".
   
   **Use case / motivation**
   
   For the case that very large amounts of data are read, the "chunksize" is a good way to reduce the size of individual queries.
   
   **Links**
   
   https://github.com/apache/airflow/blob/f4faed6eea70e34da60edcb555fffc9099d3214a/airflow/hooks/dbapi_hook.py#L123
   
   https://github.com/pandas-dev/pandas/blob/0.25.x/pandas/io/sql.py#L344


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #8468: DbApiHook: add chunksize to get_pandas_df parameters

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #8468:
URL: https://github.com/apache/airflow/issues/8468#issuecomment-1073775070


   (Or Ideally submit a PR fixing the problem immediately - if there is a problem).


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



[GitHub] [airflow] turbaszek closed issue #8468: DbApiHook: add chunksize to get_pandas_df parameters

Posted by GitBox <gi...@apache.org>.
turbaszek closed issue #8468:
URL: https://github.com/apache/airflow/issues/8468


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] imorales-mosaico commented on issue #8468: DbApiHook: add chunksize to get_pandas_df parameters

Posted by GitBox <gi...@apache.org>.
imorales-mosaico commented on issue #8468:
URL: https://github.com/apache/airflow/issues/8468#issuecomment-901390548


   There are a problem with the chunksize, because the get_pandas_df close the connection in the first call of the iterator[DataFrame] returned


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



[GitHub] [airflow] carmoreno1 commented on issue #8468: DbApiHook: add chunksize to get_pandas_df parameters

Posted by GitBox <gi...@apache.org>.
carmoreno1 commented on issue #8468:
URL: https://github.com/apache/airflow/issues/8468#issuecomment-1069620108


   > There are a problem with the chunksize, because the get_pandas_df close the connection in the first call of the iterator[DataFrame] returned
   
   Hi @imorales-mosaico is there a workaround about `chunksize` using Airflow?


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



[GitHub] [airflow] potiuk commented on issue #8468: DbApiHook: add chunksize to get_pandas_df parameters

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #8468:
URL: https://github.com/apache/airflow/issues/8468#issuecomment-1073774710


   Please @imorales-mosaico  - open a new Feature/Bug request with a bit better description, rather than commenting on a closed ticket (you can add Relates to: #8464 in the description).


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