[NO ISSUE][FUN] DATETIME constructor should accept TIME
authorDmitry Lychagin <dmitry.lychagin@couchbase.com>
Tue, 8 Feb 2022 19:50:33 +0000 (11:50 -0800)
committerDmitry Lychagin <dmitry.lychagin@couchbase.com>
Wed, 9 Feb 2022 17:42:22 +0000 (17:42 +0000)
commita703f7915e7fc2d2a1ca1d3a05f5cb5e95c9cb1a
tree43b43d89df34b3e1976980e1a291f4b35a997aca
parentf7d22da9158558c71687f25072e9d74a72073a91
[NO ISSUE][FUN] DATETIME constructor should accept TIME

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- Fix datetime() constructor function to handle TIME
  argument, instead of returning NULL

Change-Id: I9eab6b3e29642ef6d7f88808e7eb446e8f7c455c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15203
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/constructor/datetime_01/datetime_01.3.query.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/constructor/datetime_02/datetime_02.1.query.sqlpp
asterixdb/asterix-app/src/test/resources/runtimets/results/constructor/datetime_01/datetime_01.1.adm
asterixdb/asterix-app/src/test/resources/runtimets/results/constructor/datetime_02/datetime_02.1.adm
asterixdb/asterix-app/src/test/resources/runtimets/results_parser_sqlpp/constructor/datetime_01/datetime_01.3.ast
asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/constructors/AbstractDateTimeConstructorEvaluator.java