Github user vvysotskyi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/909#discussion_r134540459
  
    --- Diff: 
contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/CompareFunctionsProcessor.java
 ---
    @@ -147,10 +147,10 @@ public Boolean visitCastExpression(CastExpression e, 
LogicalExpression valueArg)
     
       @Override
       public Boolean visitConvertExpression(ConvertExpression e, 
LogicalExpression valueArg) throws RuntimeException {
    -    if (e.getConvertFunction() == ConvertExpression.CONVERT_FROM) {
    +    if (ConvertExpression.CONVERT_FROM.equals(e.getConvertFunction())) {
    --- End diff --
    
    Since both these classes almost the same, I moved mutual code to the 
abstract class.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to