1
0

HUDI-212: Specify Charset to UTF-8 for IOUtils.toString (#837)

This commit is contained in:
leesf
2019-08-16 23:27:19 +08:00
committed by vinoth chandar
parent 8f5e7ad5d9
commit 1b79ef7672
2 changed files with 4 additions and 4 deletions

View File

@@ -111,7 +111,7 @@ public class HiveIncrementalPuller {
this.config = config;
validateConfig(config);
String templateContent = IOUtils.toString(
this.getClass().getResourceAsStream("IncrementalPull.sqltemplate"));
this.getClass().getResourceAsStream("IncrementalPull.sqltemplate"), "UTF-8");
incrementalPullSQLtemplate = new ST(templateContent);
}