Bikramjeet Vig has uploaded a new change for review. http://gerrit.cloudera.org:8080/7203
Change subject: IMPALA-3504: UDF for current timestamp in UTC ...................................................................... IMPALA-3504: UDF for current timestamp in UTC This change adds a UDF "utc_timestamp" which returns the current date and time in UTC. Example query: select utc_timestamp(); +-------------------------------+ | utc_timestamp() | +-------------------------------+ | 2017-06-15 17:36:39.290773000 | +-------------------------------+ Change-Id: I969fc805922f2bb9c8101e84f85ff2cc3b1b6729 --- M be/src/exprs/expr-test.cc M be/src/exprs/timestamp-functions-ir.cc M be/src/exprs/timestamp-functions.h M be/src/runtime/runtime-state.cc M be/src/runtime/runtime-state.h M be/src/runtime/timestamp-value.h M be/src/service/impala-server.cc M common/function-registry/impala_functions.py M common/thrift/ImpalaInternalService.thrift 9 files changed, 81 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/03/7203/1 -- To view, visit http://gerrit.cloudera.org:8080/7203 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I969fc805922f2bb9c8101e84f85ff2cc3b1b6729 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Bikramjeet Vig <[email protected]>
