Skip to content

Commit

Permalink
Add TODO to consider unifying rewrite logic for range and between exp…
Browse files Browse the repository at this point in the history
…ressions
  • Loading branch information
yashmayya committed Oct 10, 2024
1 parent 337a088 commit 454fa24
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ private static Expression rewriteRangeExpression(Expression range, FilterKind ki
* datatype as the column (or can be cast to the same datatype in the server).
*/
private static Expression rewriteBetweenExpression(Expression between, DataType dataType) {
// TODO: Consider unifying logic with rewriteRangeExpression
List<Expression> operands = between.getFunctionCall().getOperands();
Expression lower = operands.get(1);
Expression upper = operands.get(2);
Expand Down

0 comments on commit 454fa24

Please sign in to comment.