[ 
https://issues.apache.org/jira/browse/HIVE-24523?focusedWorklogId=531005&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-531005
 ]

ASF GitHub Bot logged work on HIVE-24523:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 05/Jan/21 03:10
            Start Date: 05/Jan/21 03:10
    Worklog Time Spent: 10m 
      Work Description: nareshpr opened a new pull request #1825:
URL: https://github.com/apache/hive/pull/1825


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 531005)
    Remaining Estimate: 0h
            Time Spent: 10m

> Vectorized read path for LazySimpleSerde does not honor the SERDEPROPERTIES 
> for timestamp
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-24523
>                 URL: https://issues.apache.org/jira/browse/HIVE-24523
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>    Affects Versions: 3.2.0, 4.0.0
>            Reporter: Rajkumar Singh
>            Assignee: Naresh P R
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Steps to repro:
> {code:java}
>   create external  table tstable(date_created timestamp)   ROW FORMAT SERDE 
> 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'   WITH SERDEPROPERTIES ( 
>  'timestamp.formats'='yyyyMMddHHmmss') stored as textfile;
> cat sampledata 
> 20201205000017
> hdfs dfs -put sampledata /warehouse/tablespace/external/hive/tstable
> {code}
> disable fetch task conversion and run select * from tstable which produce no 
> results, disabling the set 
> hive.vectorized.use.vector.serde.deserialize=false; return the expected 
> output.
> while parsing the string to timestamp 
> https://github.com/apache/hive/blob/master/serde/src/java/org/apache/hadoop/hive/serde2/lazy/fast/LazySimpleDeserializeRead.java#L812
>  does not set the DateTimeFormatter which results IllegalArgumentException 
> while parsing the timestamp through TimestampUtils.stringToTimestamp(strValue)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to