kishoreg commented on a change in pull request #5175: add pinot upsert features 
to pinot common
URL: https://github.com/apache/incubator-pinot/pull/5175#discussion_r396914359
 
 

 ##########
 File path: pinot-spi/src/main/java/org/apache/pinot/spi/data/Schema.java
 ##########
 @@ -59,13 +65,28 @@
   private static final Logger LOGGER = LoggerFactory.getLogger(Schema.class);
 
   private String _schemaName;
+
+  // upsert related config
+  // primary key refers to the column name that is the primary key of this 
upsert table
+  private String _primaryKey;
+  // offset key refers to the column name that we are going to store the 
offset value to
+  private String _offsetKey;
 
 Review comment:
   do we need all these things in Schema? What if we create a UpsertConfig in 
TableConfig to provide all the necessary information.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to