[ 
https://issues.apache.org/jira/browse/HIVE-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-3853:
------------------------------

    Attachment: HIVE-3853.D7767.2.patch

navis updated the revision "HIVE-3853 [jira] UDF unix_timestamp is 
deterministic if an argument is given, but it treated as non-deterministic 
preventing PPD".
Reviewers: JIRA

  Addressed comments


REVISION DETAIL
  https://reviews.facebook.net/D7767

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
  ql/src/java/org/apache/hadoop/hive/ql/udf/UDFUnixTimeStamp.java
  
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFToUnixTimeStamp.java
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFUnixTimeStamp.java
  ql/src/test/queries/clientpositive/udf_to_unix_timestamp.q
  ql/src/test/queries/clientpositive/udf_unix_timestamp.q
  ql/src/test/results/clientpositive/show_functions.q.out
  ql/src/test/results/clientpositive/udf5.q.out
  ql/src/test/results/clientpositive/udf_to_unix_timestamp.q.out
  ql/src/test/results/clientpositive/udf_unix_timestamp.q.out

To: JIRA, navis
Cc: njain

                
> UDF unix_timestamp is deterministic if an argument is given, but it treated 
> as non-deterministic preventing PPD
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3853
>                 URL: https://issues.apache.org/jira/browse/HIVE-3853
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>              Labels: udf
>         Attachments: HIVE-3853.D7767.1.patch, HIVE-3853.D7767.2.patch
>
>
> unix_timestamp is declared as a non-deterministic function. But if user 
> provides an argument, it makes deterministic result and eligible to PPD.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to