airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1855) Add an Operator to copy files with a specific delimiter in a directory from one GCS bucket to another
Date Wed, 03 Jan 2018 20:49:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310262#comment-16310262
] 

ASF subversion and git services commented on AIRFLOW-1855:
----------------------------------------------------------

Commit 07c2a515efd86169191642df17167dbef90d2d74 in incubator-airflow's branch refs/heads/master
from [~kaxilnaik]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=07c2a51 ]

[AIRFLOW-1946][AIRFLOW-1855] Create a BigQuery Get Data Operator

Closes #2896 from kaxil/patch-4


> Add an Operator to copy files with a specific delimiter in a directory from one GCS bucket
to another
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1855
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1855
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: contrib, gcp
>    Affects Versions: 1.10.0
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Minor
>             Fix For: 1.10.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Use case: Copy all the CSV/JSON files from a particular directory in a Bucket to another
bucket and in a specific directory (or the same).
> Proposed Approach:
> - Add 'delimiter' argument in GCP hook to filter files with a particular delimiter.
> - Get the list of files to copy and filter it with delimiter using 'list' method in GCP
hook
> - Use loop and 'copy' method in GCP hook. 
> Note: Under the hood GCS has no directories. Files are just objects.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message