arina-ielchiieva commented on a change in pull request #2062:
URL: https://github.com/apache/drill/pull/2062#discussion_r411270071
##########
File path:
contrib/storage-http/src/main/java/org/apache/drill/exec/store/http/filter/ConstantHolder.java
##########
@@ -375,7 +375,10 @@ public int compareTo(ConstantHolder other) {
case VARDECIMAL:
return ((BigDecimal) value).compareTo((BigDecimal) other.value);
default:
- throw new UnsupportedOperationException();
+ throw new UnsupportedOperationException(
+ String.format(
+ "Unsupported comparison bewteen types %s and %s. Convert values
first.",
Review comment:
```suggestion
"Unsupported comparison between types %s and %s. Convert
values first.",
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]