siddharthteotia commented on a change in pull request #7031: URL: https://github.com/apache/incubator-pinot/pull/7031#discussion_r648628454
########## File path: pinot-controller/src/test/resources/recommenderInput/SortedInvertedIndexInputWithDateTimeColumn.json ########## @@ -0,0 +1,87 @@ +{ + "schema":{ + "schemaName": "tableSchema", + "dimensionFieldSpecs": [ + { + "name": "b", + "dataType": "DOUBLE", + "cardinality":6, + "singleValueField": false, + "numValuesPerEntry":1.5 + }, + { + "name": "c", + "dataType": "FLOAT", + "cardinality":7, + "numValuesPerEntry":1 + }, + { + "name": "d", + "dataType": "STRING", + "cardinality":41, + "singleValueField": false, + "numValuesPerEntry":2, + "averageLength" : 27 + } + ], + "metricFieldSpecs": [ + { + "name": "p", + "dataType": "DOUBLE", + "cardinality":10000, + "numValuesPerEntry":1 + } + ], + "dateTimeFieldSpecs": [ + { + "name": "x", + "dataType": "INT", + "format": "1:DAYS:EPOCH", + "granularity": "1:DAYS", + "cardinality": 3 + } + ], + "timeFieldSpec": { + "incomingGranularitySpec": { + "dataType": "INT", + "name": "t", + "timeType": "DAYS", + "cardinality":10000, + "numValuesPerEntry":1 + } + } + }, + "queriesWithWeights":{ + "select i from tableName where b in (2,4) and (c = 7) and t in ('#VALUES', 500)": 1, + "select j from tableName where (x=3)": 2, + "select f from tableName where (b=1) and t<3": 4, + "select f from tableName where (x=0 and b=1) or c=7 or (t = 7)": 2, + "select f from tableName where t between 1 and 1000": 2 + }, + "qps": 15000, + "numMessagesPerSecInKafkaTopic":1000, + "numRecordsPerPush":1000000000, + "tableType": "HYBRID", + "latencySLA": 500, + + "rulesToExecute": { + "recommendInvertedSortedIndexJoint": true + }, + "partitionRuleParams": { Review comment: Remove all the params and just keep invertedSortedIndexJointRuleParams since that is what is used by test case ########## File path: pinot-controller/src/test/resources/recommenderInput/SortedInvertedIndexInputWithDateTimeColumn.json ########## @@ -0,0 +1,87 @@ +{ + "schema":{ + "schemaName": "tableSchema", + "dimensionFieldSpecs": [ + { + "name": "b", + "dataType": "DOUBLE", + "cardinality":6, + "singleValueField": false, + "numValuesPerEntry":1.5 + }, + { + "name": "c", + "dataType": "FLOAT", + "cardinality":7, + "numValuesPerEntry":1 + }, + { + "name": "d", + "dataType": "STRING", + "cardinality":41, + "singleValueField": false, + "numValuesPerEntry":2, + "averageLength" : 27 + } + ], + "metricFieldSpecs": [ + { + "name": "p", + "dataType": "DOUBLE", + "cardinality":10000, + "numValuesPerEntry":1 + } + ], + "dateTimeFieldSpecs": [ + { + "name": "x", + "dataType": "INT", + "format": "1:DAYS:EPOCH", + "granularity": "1:DAYS", + "cardinality": 3 + } + ], + "timeFieldSpec": { + "incomingGranularitySpec": { + "dataType": "INT", + "name": "t", + "timeType": "DAYS", + "cardinality":10000, + "numValuesPerEntry":1 + } + } + }, + "queriesWithWeights":{ + "select i from tableName where b in (2,4) and (c = 7) and t in ('#VALUES', 500)": 1, + "select j from tableName where (x=3)": 2, + "select f from tableName where (b=1) and t<3": 4, + "select f from tableName where (x=0 and b=1) or c=7 or (t = 7)": 2, + "select f from tableName where t between 1 and 1000": 2 + }, + "qps": 15000, + "numMessagesPerSecInKafkaTopic":1000, + "numRecordsPerPush":1000000000, + "tableType": "HYBRID", + "latencySLA": 500, + + "rulesToExecute": { + "recommendInvertedSortedIndexJoint": true + }, + "partitionRuleParams": { Review comment: Remove all the params and just keep `invertedSortedIndexJointRuleParams` since that is what is used by test case -- 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