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

    https://github.com/apache/tajo/pull/993#discussion_r60346629
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/engine/function/datetime/DatePartFromTimestamp.java
 ---
    @@ -59,8 +55,9 @@ public DatePartFromTimestamp() {
     
       @Override
       public void init(OverridableConf context, FunctionEval.ParamType [] 
types) {
    -    String timezoneId = context.get(SessionVars.TIMEZONE, 
TajoConstants.DEFAULT_SYSTEM_TIMEZONE);
    -    timezone = TimeZone.getTimeZone(timezoneId);
    +    if (!hasTimeZone()) {
    --- End diff --
    
    I think date_part, add_month and add_day should be client timezone when 
date type is cast to timestamp


---
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