carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1344: [BUGFIX] Fix incorrect type cast
Date Sun, 10 Sep 2017 02:38:55 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1344#discussion_r137939432
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/expression/ExpressionResult.java
---
    @@ -187,7 +187,7 @@ public String getString() throws FilterIllegalMemberException {
                 }
                 return parser.format(new Timestamp((long) value));
               } else if (value instanceof Integer) {
    -            return parser.format(new java.sql.Date((long)value));
    +            return parser.format(new java.sql.Date((int) value));
    --- End diff --
    
    Please check PR 1254


---

Mime
View raw message