[jira] [Commented] (AIRFLOW-125) Add operator to upload a file to Google Cloud Storage

2016-05-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 4b25a7d34ea17c86c4b40a09f85898ea4769b22b in incubator-airflow's branch 
refs/heads/master from [~firehed]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4b25a7d ]

[AIRFLOW-125] Add file to GCS operator

Adds an operator to upload a file to Google Cloud Storage. Used as follows:
```py
from airflow.contrib.operators.file_to_gcs import 
FileToGoogleCloudStorageOperator
gcs = FileToGoogleCloudStorageOperator(
bucket='a-bucket-i-have-access-to-on-gcs',
dag=dag,
task_id='upload_stuff',
google_cloud_storage_conn_id='an-airflow-bigquery-connection',
src=os.path.join(os.path.dirname(__file__), 'csv/some_file.csv'),
dst='project/some_file.csv')
```


> Add operator to upload a file to Google Cloud Storage
> -
>
> Key: AIRFLOW-125
> URL: https://issues.apache.org/jira/browse/AIRFLOW-125
> Project: Apache Airflow
>  Issue Type: New Feature
>  Components: contrib, gcp
>Affects Versions: Airflow 1.7.1
>Reporter: Eric Stern
>Assignee: Eric Stern
>Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (AIRFLOW-125) Add operator to upload a file to Google Cloud Storage

2016-05-17 Thread Chris Riccomini (JIRA)

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

Chris Riccomini commented on AIRFLOW-125:
-

Assigning to [~firehed]. We spoke about this offline. The GCS hook supports the 
ability to upload files, but there's up upload operator--just a download 
operator. This ticket is to add an upload operator. /cc [~jlowin]

> Add operator to upload a file to Google Cloud Storage
> -
>
> Key: AIRFLOW-125
> URL: https://issues.apache.org/jira/browse/AIRFLOW-125
> Project: Apache Airflow
>  Issue Type: New Feature
>  Components: contrib, gcp
>Affects Versions: Airflow 1.7.1
>Reporter: Eric Stern
>Assignee: Eric Stern
>Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)