-
Notifications
You must be signed in to change notification settings - Fork 58
/
bigquery_to_gcs.yaml
55 lines (52 loc) · 1.82 KB
/
bigquery_to_gcs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2018 Etsy Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# for the native operator, see: https://github.com/apache/airflow/blob/1.10.3/airflow/contrib/operators/bigquery_to_gcs.py
# for the export_format, see: https://github.com/apache/airflow/blob/1.10.3/airflow/contrib/hooks/bigquery_hook.py#L1096-L1098\
name: bigquery_to_gcs
operator_class: BigQueryToCloudStorageOperator
operator_class_module: airflow.contrib.operators.bigquery_to_gcs
schema_extends: base
parameters_jsonschema:
properties:
source_project_dataset_table:
type: string
destination_cloud_storage_uris:
type: array
compression:
type: string
export_format:
type: string
enum: [
CSV,
NEWLINE_DELIMITED_JSON,
AVRO,
GOOGLE_SHEETS,
DATASTORE_BACKUP,
PARQUET
]
field_delimiter:
type: string
print_header:
type: boolean
bigquery_conn_id:
type: string
delegate_to:
type: string
labels:
type: object
additionalProperties:
type: string
required:
- source_project_dataset_table
- destination_cloud_storage_uris