Open ankitsultana opened 1 year ago
I want to give it a try if it's not urgent. Thanks
@ankitsultana / @walterddr I am planning to start work on this. Just checking, do you guys think it's good to start work and not be dependent on any other work? Thanks
Hi @abhioncbr , thanks for showing interest.
At this point we are not sure what's the right approach for this. Both of the approaches have pros and cons. Would be best to wait for now.
In V1 engine, we do not allow comparisons such as
longCol < Long.MIN_VALUE
. ExampleThis works fine for V1 queries, but in V2 engine Calcite can re-write filters. For example: a query with filters like
colName != Long.MIN_VALUE or colName < 10
gets translated to(colName < Long.MIN_VALUE) OR (colName > Long.MIN_VALUE AND colName < 10
.This can lead to failures with errors such as follows:
Some possible solutions:
cc: @walterddr