Slide 76
Slide 76 text
補足:ETL(Extract / Transform / Load)ツール
データの抽出・変換・格納を行うツール
● 例:設定ファイルとプラグインで様々なデータベース間のデータ転送を実現できるEmbulk
● 転送元(Source)から転送先(Target)へのマッピングを定義してフォーマットの差異を吸収する
in:
type: mysql
host: HOST_NAME
user: USER_NAME
password: PASSWORD
database: DATABASE_NAME
table: purchase
select: id, user_id, title, contents, created_at, updated_at
out:
type: bigquery
auth_method: json_key
json_keyfile: *****.json
path_prefix: /tmp
file_ext: .csv.gz
source_format: CSV
project: BQ_PROJECT
dataset: postapp__datalake__mysql
auto_create_table: true
schema_file: article.json
formatter: {type: csv, charset: UTF-8, delimiter: ',', header_line: false}
Out
(target)
In
(source)
76