TD上のOutput results相当の指定が出来る
result_connectionとresult_settingsで指定する
+task:
td>: queries/treasuredata/test.hive.sql
engine: hive
result_connection: connection_a
result_settings:
database: test_db
table: test_table
mode: update
keys: id,date
クエリの結果を直接指定のDBなりに突っ込める。素敵。 色々機能あるのに公式ドキュメントが少し簡素。。もう少し例を書いてほしいなぁ。
TDから別アカウントのTDへ書き出すような時には、次のようにすると動きました。