You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gobblin.apache.org by ab...@apache.org on 2018/05/16 00:08:32 UTC

incubator-gobblin git commit: [GOBBLIN-493] Fix build issue in GithubDataEventTypesPartitioner

Repository: incubator-gobblin
Updated Branches:
  refs/heads/master 1c2d30b06 -> 2f7694769


[GOBBLIN-493] Fix build issue in GithubDataEventTypesPartitioner

Closes #2364 from zxcware/fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/commit/2f769476
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/tree/2f769476
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gobblin/diff/2f769476

Branch: refs/heads/master
Commit: 2f7694769b96d6923edd2859a54dfb86d6713026
Parents: 1c2d30b
Author: zhchen <zh...@linkedin.com>
Authored: Tue May 15 17:08:26 2018 -0700
Committer: Abhishek Tiwari <ab...@linkedin.com>
Committed: Tue May 15 17:08:26 2018 -0700

----------------------------------------------------------------------
 .../githubjsontoparquet/GithubDataEventTypesPartitioner.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/2f769476/gobblin-example/src/main/java/org/apache/gobblin/example/githubjsontoparquet/GithubDataEventTypesPartitioner.java
----------------------------------------------------------------------
diff --git a/gobblin-example/src/main/java/org/apache/gobblin/example/githubjsontoparquet/GithubDataEventTypesPartitioner.java b/gobblin-example/src/main/java/org/apache/gobblin/example/githubjsontoparquet/GithubDataEventTypesPartitioner.java
index a747ed2..5039839 100644
--- a/gobblin-example/src/main/java/org/apache/gobblin/example/githubjsontoparquet/GithubDataEventTypesPartitioner.java
+++ b/gobblin-example/src/main/java/org/apache/gobblin/example/githubjsontoparquet/GithubDataEventTypesPartitioner.java
@@ -33,7 +33,7 @@ public class GithubDataEventTypesPartitioner implements WriterPartitioner<Parque
 
   private static final String PARTITION_KEY = "type";
   private static final Schema SCHEMA =
-      SchemaBuilder.record("Schema").namespace("gobblin.writer.partitioner").fields().name(PARTITION_KEY))
+      SchemaBuilder.record("Schema").namespace("gobblin.writer.partitioner").fields().name(PARTITION_KEY)
           .type(Schema.create(Schema.Type.STRING)).noDefault().endRecord();
 
   public GithubDataEventTypesPartitioner(State state, int numBranches, int branchId) {