nareshpr commented on a change in pull request #1825:
URL: https://github.com/apache/hive/pull/1825#discussion_r555979539
##########
File path:
serde/src/java/org/apache/hadoop/hive/serde2/lazy/fast/LazySimpleDeserializeRead.java
##########
@@ -350,7 +350,12 @@ public LazySimpleDeserializeRead(TypeInfo[] typeInfos,
throw new RuntimeException("serialization.last.column.takes.rest not
supported");
}
- timestampParser = new TimestampParser();
+ List<String> timestampFormats = lazyParams.getTimestampFormats();
+ if (timestampFormats != null) {
Review comment:
Thanks for the review @deniskuzZ.
I updated the code with ternary operator.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]