Sidd
05/11/2020, 5:05 PMJames Shao
05/12/2020, 6:25 PMJames Shao
05/12/2020, 6:25 PMSELECT timeConvert(ts, 'SECONDS', 'DAYS') FROM table LIMIT 100;
James Shao
05/12/2020, 6:25 PMmessage: PQLParsingError: org.apache.pinot.pql.parsers.Pql2CompilationException: Aggregation
function expects exact 1 argument
at org.apache.pinot.pql.parsers.pql2.ast.FunctionCallAstNode.buildAggregationInfo(FunctionCallAstNode.java: 86)
at org.apache.pinot.pql.parsers.pql2.ast.OutputColumnAstNode.updateBrokerRequest(OutputColumnAstNode.java: 36)
at org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode.sendBrokerRequestUpdateToChildren(BaseAstNode.java: 78)
at org.apache.pinot.pql.parsers.pql2.ast.OutputColumnListAstNode.updateBrokerRequest(OutputColumnListAstNode.java: 45)
at org.apache.pinot.pql.parsers.pql2.ast.BaseAstNode.sendBrokerRequestUpdateToChildren(BaseAstNode.java: 78)
at org.apache.pinot.pql.parsers.pql2.ast.SelectAstNode.updateBrokerRequest(SelectAstNode.java: 118)
at org.apache.pinot.pql.parsers.Pql2Compiler.compileToBrokerRequest(Pql2Compiler.java: 105)
at org.apache.pinot.controller.api.resources.PqlQueryResource.getQueryResponse(PqlQueryResource.java: 104)
at <http://org.apache.pinot.controller.api.resources.PqlQueryResource.post|org.apache.pinot.controller.api.resources.PqlQueryResource.post>(PqlQueryResource.java: 80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43)
at java.lang.reflect.Method.invoke(Method.java: 498)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java: 52))
James Shao
05/12/2020, 6:27 PMJames Shao
05/12/2020, 6:27 PMMayank
Mayank
James Shao
05/12/2020, 6:30 PMJames Shao
05/12/2020, 6:30 PMJames Shao
05/12/2020, 6:31 PMJames Shao
05/12/2020, 6:31 PMMayank
Mayank
James Shao
05/12/2020, 6:44 PMMayank
James Shao
05/12/2020, 6:46 PMMayank
function expects exact 1 argument
in the latest code (when grepping)Mayank
James Shao
05/12/2020, 6:48 PMJames Shao
05/12/2020, 6:48 PMMayank
Jackie
05/12/2020, 9:09 PMAggregationFunctionType.getAggregationFunctionType(String functionName)
to identify whether the function is aggregation or transform. (Called in FunctionDefinitionRegistry.isAggFunc(String functionName)
)Jackie
05/12/2020, 9:09 PMKenny Bastani
05/13/2020, 4:34 PMShounak Kulkarni
05/14/2020, 5:16 AMWhen the server pod is auto scaled, the segments are not reassigned to the new server, running rebalance is required for that.
When the server pods are scaled down, the ideal state still shows the segments on the terminated servers. They are not reassigned to live servers.
Kishore G
Kishore G
Shounak Kulkarni
05/14/2020, 5:21 AMKishore G