ashish-kumar-sharma commented on a change in pull request #2590:
URL: https://github.com/apache/hive/pull/2590#discussion_r692815168
##########
File path: ql/src/test/queries/clientpositive/vector_unix_timestamp.q
##########
@@ -1,6 +1,6 @@
create table t (d string);
-insert into t values('2020-11-16 22:18:40 UTC');
+insert into t values('2020-11-16 22:18:40');
Review comment:
Since with introduction of DateTimefomatter we only parse value which
fall under the pattern "yyyy-MM-dd HH:mm:ss" other then that we just drop. But
after we have introduce the resolverstyle.strict it will strictly check for the
pattern "yyyy-MM-dd HH:mm:ss" . Other then that it will fail and return run.
since in function like unix_timestamp() we can provide the pattern to resolve
the date/Time. So i have added both the test cases for better understanding.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]