siddharthteotia commented on a change in pull request #6546:
URL: https://github.com/apache/incubator-pinot/pull/6546#discussion_r572437744



##########
File path: pinot-tools/src/test/resources/memory_estimation/schema.json
##########
@@ -0,0 +1,36 @@
+{
+  "schemaName": "testTable",
+  "dimensionFieldSpecs": [
+    {

Review comment:
       Also, if you think about this from integration perspective, 
RecommenderDriver doesn't take schema. It takes the schema annotated with 
characteristics.  (See the files RecommenderDriver, InputManager and 
SchemaWithMetadata). So, something to think about for integration.
   
   If now you are providing MemoryEstimator with schema separately then I am 
not sure if you are going to change it back to the annotated schema in the 
follow-up PR when you will integrate with RecommenderDriver.  From the 
annotated file, you should be able to extract out the schema easily. The API 
will look much cleaner as compared to now with separate schema and 
characteristics files. That's the reason why RecommenderDriver just takes one 
file. 
   
   
https://github.com/apache/incubator-pinot/blob/master/pinot-controller/src/main/java/org/apache/pinot/controller/recommender/io/InputManager.java
   
   
https://github.com/apache/incubator-pinot/blob/master/pinot-controller/src/main/java/org/apache/pinot/controller/recommender/io/metadata/SchemaWithMetaData.java




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to