Last active
November 19, 2015 05:33
-
-
Save tyoshikawa1106/ca41fb555182089f3dc7 to your computer and use it in GitHub Desktop.
Bulk APIのSpec.csvをつかったデータマッピングの検証
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InputStream specStream = new BufferedInputStream(new FileInputStream("./spec.csv")); | |
try{ | |
// 引数はJobInfoとInputStream | |
connection.createTransformationSpecfromStream(job,specStream); | |
} finally{ | |
specStream.close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
うまくアップできたように見えるがシステムエラーが発生した。
ヘッダーを置換(replace)した方が早そう。