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

2013-01-08 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-3853:
-

   Resolution: Fixed
Fix Version/s: 0.11.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed. Thanks 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
  Labels: udf
 Fix For: 0.11.0

 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


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

2013-01-07 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-3853:
-

Status: Open  (was: Patch Available)

comments

 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


 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


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

2013-01-07 Thread Phabricator (JIRA)

 [ 
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


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

2013-01-07 Thread Navis (JIRA)

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

Navis updated HIVE-3853:


Status: Patch Available  (was: Open)

 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


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

2013-01-03 Thread Phabricator (JIRA)

 [ 
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


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

2013-01-03 Thread Navis (JIRA)

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

Navis updated HIVE-3853:


Labels: udf  (was: )
Status: Patch Available  (was: Open)

 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


 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