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

    https://github.com/apache/tajo/pull/819#discussion_r43661709
  
    --- Diff: 
tajo-plan/src/main/java/org/apache/tajo/plan/util/PartitionFilterAlgebraVisitor.java
 ---
    @@ -150,8 +151,7 @@ public Expr visitTimestampLiteral(Object ctx, 
Stack<Expr> stack, TimestampLitera
           DateTimeUtil.toUTCTimezone(tm, tz);
     
           sb.append("?").append(" )");
    -      Timestamp timestamp = new 
Timestamp(DateTimeUtil.julianTimeToJavaTime(DateTimeUtil.toJulianTimestamp(tm)));
    -      parameters.add(new Pair(Type.TIMESTAMP, timestamp));
    +      parameters.add(new Pair(Type.TIMESTAMP, new 
TimestampDatum(DateTimeUtil.toJulianTimestamp(tm))));
    --- End diff --
    
    This code seem to change the timestamp to a julian time. Could you check if 
it is valid? We need to make the partitioned table compatible with Apache Hive. 
Hive does not appear to use a julian time.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to