Reading from BigQuery and store data to Google storage (Special Character issue)

前端 未结 1 902
挽巷
挽巷 2021-01-27 08:51

Reference: Can Google Data flow use existent VM and not temporary created ones?

Code is working, but the issue is that when it saves response from BigQuery to google st

相关标签:
1条回答
  • 2021-01-27 09:18

    You need to replace

    BufferedReader br = Files.newBufferedReader(pathToFile, StandardCharsets.UTF_8))

    by

    BufferedReader br = Files.newBufferedReader(pathToFile, Charset.forName("UTF-8"))

    0 讨论(0)
提交回复
热议问题