You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2013/01/04 04:38:14 UTC

[jira] [Updated] (HIVE-3853) UDF unix_timestamp is deterministic if an argument is given, but it treated as non-deterministic preventing PPD

     [ 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.1.patch

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

  DPAL-1956 UDF unix_timestamp is deterministic if an argument is given, but it treated as non-deterministic preventing PPD

  unix_timestamp is declared as a non-deterministic function. But if user provides an argument, it makes deterministic result and eligible to PPD.

TEST PLAN
  EMPTY

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/generic/GenericUDFToUnixTimestamp.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/udf_to_unix_timestamp.q.out
  ql/src/test/results/clientpositive/udf_unix_timestamp.q.out

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/18705/

To: JIRA, navis

                
> 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
>         Attachments: HIVE-3853.D7767.1.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