Skip to content

Commit 4133f37

Browse files
committed
pass value as text
1 parent 9e922ec commit 4133f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/embulk/output/bigquery_java/config/BigqueryTaskBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected static void setProject(PluginTask task){
7979
}catch (IOException e){
8080
throw new ConfigException(String.format("Parsing 'json_keyfile' failed with error: %s %s", e.getClass(), e.getMessage()));
8181
}
82-
task.setProject(Optional.of(root.get("project_id").toString()));
82+
task.setProject(Optional.of(root.get("project_id").asText()));
8383
}
8484

8585
if (!task.getDestinationProject().isPresent()){

0 commit comments

Comments
 (0)