Extract table data
Operation name
Extract table data
Function overview
Obtains data from a table on Google BigQuery, and outputs it to a file on Google Cloud Storage.
Data model
The data model of this component is XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Project ID |
Required |
Available |
Select or enter the project ID. |
|
Dataset name |
Required |
Available |
Select or enter the dataset name. |
|
Table name |
Required |
Available |
Select or enter the table name. |
|
Destination bucket name |
Required |
Available |
Select or enter the destination bucket name. |
|
Destination folder path |
Required |
Available |
Select or enter the destination folder path. |
Note
Specify an absolute path of Google Cloud Storage for the folder path. |
Destination file name |
Required |
Available |
Select or enter the destination file name. |
|
Overwrite file when one exists |
Optional |
Not available |
Select whether to overwrite the file when a file with the same name as the destination file for writing exists.
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Update the list of project IDs |
Get projects in the specified destination and set them to Project ID. |
|
Update the list of dataset names |
Get datasets in the specified project and set them in Dataset name. |
|
Update the list of table names |
Get tables in the specified dataset and set them in Table name. |
|
Update the list of destination bucket names |
Get buckets in the specified destination and set them in Destination bucket name. |
|
Update the list of destination folder paths |
Get folder paths in the specified bucket and set them in Destination folder path. |
|
Write settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Output file format |
Optional |
Not available |
Select an output file format.
|
|
Insert To The First Row |
Optional |
Not available |
Select whether to obtain the column name in the table definition, and output it to the first row of the output file.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?xml version="1.0" encoding="UTF-8"?> <bucket name=" > <files folderPath=" > <file name=" /> </files> </bucket>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
bucket |
- |
Appears once for each specified bucket. |
|
name |
Outputs the input value of the Destination bucket name property as is. |
|
|
files |
- |
Appears once for each specified folder. |
|
folderPath |
Outputs the input value of the Destination folder path property as is. |
|
|
file |
- |
Appears once for each file to which data was output. |
|
name |
Output the file name to which data was output. |
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|