SqlOperatorConversion Javadoc fix. (#7713)

Appears to be a copypasta error; the toDruidFilter method was referred
to aggregations, but it's not handling aggregations.
This commit is contained in:
Gian Merlino 2019-05-20 21:21:21 -07:00 committed by Fangjin Yang
parent d69aa6f7f6
commit cb6ec2cab8
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ public interface SqlOperatorConversion
DruidExpression toDruidExpression(PlannerContext plannerContext, RowSignature rowSignature, RexNode rexNode); DruidExpression toDruidExpression(PlannerContext plannerContext, RowSignature rowSignature, RexNode rexNode);
/** /**
* Returns a Druid Aggregation corresponding to a SQL {@link SqlOperator} used to filter rows * Returns a Druid filter corresponding to a Calcite {@code RexNode} used as a filter condition.
* *
* @param plannerContext SQL planner context * @param plannerContext SQL planner context
* @param querySignature signature of the rows being aggregated and expression column references * @param querySignature signature of the rows being filtered, and any expression column references
* @param rexNode filter expression rex node * @param rexNode filter expression rex node
* *
* @return filter, or null if the call cannot be translated * @return filter, or null if the call cannot be translated