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

    https://github.com/apache/tajo/pull/993#discussion_r60346243
  
    --- Diff: 
tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/TextSerializerDeserializer.java
 ---
    @@ -101,12 +102,12 @@ public int serialize(int index, Tuple tuple, 
OutputStream out, byte[] nullCharac
             out.write(bytes);
             break;
           case TIME:
    -        bytes = TimeDatum.asChars(tuple.getTimeDate(index), 
TimeZone.getDefault(), true).getBytes();
    +        bytes = tuple.getTextBytes(index);
             length = bytes.length;
             out.write(bytes);
             break;
           case TIMESTAMP:
    -        bytes = TimestampDatum.asChars(tuple.getTimeDate(index), 
TimeZone.getDefault(), true).getBytes();
    +        bytes = TimestampDatum.asChars(tuple.getTimeDate(index), 
TAJO_CONF.getSystemTimezone(), true).getBytes();
    --- End diff --
    
    TextSerializerDeserializer does not support table meta and it was deprecated
    IMO, we should remove the timestamp type in TextSerializerDeserializer


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