Skip to content

Commit

Permalink
clarify exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Jul 25, 2024
1 parent 2e1e549 commit 56336a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public static DruidExpression toDruidExpressionWithPostAggOperands(
return inputRefToDruidExpression(rowSignature, rexNode);
} else if (rexNode instanceof RexOver) {
throw new CannotBuildQueryException(
StringUtils.format("Encountered an OVER during Filter translation [%s].", rexNode)
StringUtils.format("Unexpected OVER expression during translation [%s]", rexNode)
);
} else if (rexNode instanceof RexCall) {
return rexCallToDruidExpression(plannerContext, rowSignature, rexNode, postAggregatorVisitor);
Expand Down

0 comments on commit 56336a5

Please sign in to comment.