[ https://issues.apache.org/jira/browse/HIVE-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14302905#comment-14302905 ]
Lefty Leverenz edited comment on HIVE-5472 at 2/3/15 8:49 AM: -------------------------------------------------------------- Does this need any documentation? _Edit:_ [~jdere] documented current_date and current_timestamp in the UDFs wikidoc, so the only doc question is whether the changes to some hive.test.* parameter definitions should be explained somewhere in the wiki. (The changes just added "false" after parameter descriptions, so my guess is that no doc is needed.) * [Hive Operators and UDFs -- Date Functions | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions] * [Configuration Properties -- Test Properties | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-TestProperties] was (Author: le...@hortonworks.com): Does this need any documentation? > support a simple scalar which returns the current timestamp > ----------------------------------------------------------- > > Key: HIVE-5472 > URL: https://issues.apache.org/jira/browse/HIVE-5472 > Project: Hive > Issue Type: Improvement > Affects Versions: 0.11.0 > Reporter: N Campbell > Assignee: Jason Dere > Fix For: 1.2.0 > > Attachments: HIVE-5472.1.patch, HIVE-5472.2.patch, HIVE-5472.3.patch, > HIVE-5472.4.patch > > > ISO-SQL has two forms of functions > local and current timestamp where the former is a TIMESTAMP WITHOUT TIMEZONE > and the latter with TIME ZONE > select cast ( unix_timestamp() as timestamp ) from T > implement a function which computes LOCAL TIMESTAMP which would be the > current timestamp for the users session time zone. -- This message was sent by Atlassian JIRA (v6.3.4#6332)