This repository was archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathbigquery_storage.json
More file actions
executable file
·33 lines (33 loc) · 1.6 KB
/
bigquery_storage.json
File metadata and controls
executable file
·33 lines (33 loc) · 1.6 KB
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
{
"script":{
"released":"2018-03-15",
"license":"Licensed under the Apache License, Version 2.0",
"copyright":"Copyright 2020 Google LLC",
"open":true,
"icon":"arrow_forward",
"title":"Storage To Table",
"description":"Move using bucket and path prefix.",
"from":["storage"],
"to":["bigquery"],
"instructions":[
"Specify a bucket and path prefix, * suffix is NOT required.",
"Every time the job runs it will overwrite the table."
],
"authors":["kenjora@google.com"]
},
"tasks":[
{ "bigquery":{
"auth":{"field":{ "name":"auth_read", "kind":"authentication", "order":1, "default":"user", "description":"Credentials used for reading data." }},
"from":{
"bucket":{"field":{ "name":"bucket", "kind":"string", "order":1, "default":"", "description":"Google cloud bucket." }},
"path":{"field":{ "name":"path", "kind":"string", "order":2, "default":"", "description":"Path prefix to read from, no * required." }}
},
"to":{
"auth":{"field":{ "name":"auth_write", "kind":"authentication", "order":1, "default":"service", "description":"Credentials used for writing data." }},
"dataset":{"field":{ "name":"dataset", "kind":"string", "order":3, "default":"", "description":"Existing BigQuery dataset." }},
"table":{"field":{ "name":"table", "kind":"string", "order":4, "default":"", "description":"Table to create from this query." }}
},
"schema":{"field":{ "name":"schema", "kind":"json", "order":5, "default":"[]", "description":"Schema provided in JSON list format or empty list." }}
}}
]
}