You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (Created) (JIRA)" <ji...@apache.org> on 2012/01/05 20:40:39 UTC
[jira] [Created] (HIVE-2695) Add PRINTF() Udf
Add PRINTF() Udf
----------------
Key: HIVE-2695
URL: https://issues.apache.org/jira/browse/HIVE-2695
Project: Hive
Issue Type: New Feature
Components: UDF
Reporter: Carl Steinbach
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2695) Add PRINTF() Udf
Posted by "Phabricator (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183707#comment-13183707 ]
Phabricator commented on HIVE-2695:
-----------------------------------
zhenxiao has commented on the revision "HIVE-2695 [jira] Add PRINTF() Udf".
udf_printf_wrong4.q.out is missing, will checkin a new patch soon
REVISION DETAIL
https://reviews.facebook.net/D1161
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HIVE-2695) Add PRINTF() Udf
Posted by "Carl Steinbach (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach reassigned HIVE-2695:
------------------------------------
Assignee: Zhenxiao Luo
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2695:
------------------------------
Attachment: HIVE-2695.D1173.1.patch
zhenxiao requested code review of "HIVE-2695 [jira] Add PRINTF() Udf".
Reviewers: JIRA
HIVE-2695: Add Printf() UDF
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D1173
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFPrintf.java
ql/src/test/queries/clientnegative/udf_printf_wrong1.q
ql/src/test/queries/clientnegative/udf_printf_wrong2.q
ql/src/test/queries/clientnegative/udf_printf_wrong3.q
ql/src/test/queries/clientnegative/udf_printf_wrong4.q
ql/src/test/queries/clientpositive/udf_printf.q
ql/src/test/results/clientnegative/udf_printf_wrong1.q.out
ql/src/test/results/clientnegative/udf_printf_wrong2.q.out
ql/src/test/results/clientnegative/udf_printf_wrong3.q.out
ql/src/test/results/clientnegative/udf_printf_wrong4.q.out
ql/src/test/results/clientpositive/show_functions.q.out
ql/src/test/results/clientpositive/udf_printf.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/2451/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch, HIVE-2695.D1173.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Zhenxiao Luo (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhenxiao Luo updated HIVE-2695:
-------------------------------
Attachment: HIVE-2695.D1173.1.patch
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Fix For: 0.9.0
>
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch, HIVE-2695.D1173.1.patch, HIVE-2695.D1173.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2695) Add PRINTF() Udf
Posted by "Phabricator (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183121#comment-13183121 ]
Phabricator commented on HIVE-2695:
-----------------------------------
zhenxiao has commented on the revision "HIVE-2695 [jira] Add PRINTF() Udf".
Invalid patch. More testcases needed.
REVISION DETAIL
https://reviews.facebook.net/D1155
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2695) Add PRINTF() Udf
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186778#comment-13186778 ]
Hudson commented on HIVE-2695:
------------------------------
Integrated in Hive-trunk-h0.21-dbg #3 (See [https://builds.apache.org/job/Hive-trunk-h0.21-dbg/3/])
HIVE-2695 Add PRINTF() Udf (Zhenxiao Luo via namit)
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230758
Files :
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFPrintf.java
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong1.q
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong2.q
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong3.q
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong4.q
* /hive/trunk/ql/src/test/queries/clientpositive/udf_printf.q
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong3.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong4.q.out
* /hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udf_printf.q.out
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch, HIVE-2695.D1173.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Zhenxiao Luo (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhenxiao Luo updated HIVE-2695:
-------------------------------
Status: Patch Available (was: Open)
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2695) Add PRINTF() Udf
Posted by "Carl Steinbach (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180759#comment-13180759 ]
Carl Steinbach commented on HIVE-2695:
--------------------------------------
Add a PRINTF(String format, Obj... args) Udf that can format strings according to printf-style format strings.
Ref: http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Formatter.html
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Zhenxiao Luo (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhenxiao Luo updated HIVE-2695:
-------------------------------
Status: Patch Available (was: Open)
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2695) Add PRINTF() Udf
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185382#comment-13185382 ]
Hudson commented on HIVE-2695:
------------------------------
Integrated in Hive-trunk-h0.21 #1198 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1198/])
HIVE-2695 Add PRINTF() Udf (Zhenxiao Luo via namit)
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1230758
Files :
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFPrintf.java
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong1.q
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong2.q
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong3.q
* /hive/trunk/ql/src/test/queries/clientnegative/udf_printf_wrong4.q
* /hive/trunk/ql/src/test/queries/clientpositive/udf_printf.q
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong2.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong3.q.out
* /hive/trunk/ql/src/test/results/clientnegative/udf_printf_wrong4.q.out
* /hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udf_printf.q.out
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch, HIVE-2695.D1173.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Zhenxiao Luo (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhenxiao Luo updated HIVE-2695:
-------------------------------
Status: Open (was: Patch Available)
Needs more testcases
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2695) Add PRINTF() Udf
Posted by "Namit Jain (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184518#comment-13184518 ]
Namit Jain commented on HIVE-2695:
----------------------------------
+1
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch, HIVE-2695.D1173.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2695:
------------------------------
Attachment: HIVE-2695.D1155.1.patch
zhenxiao requested code review of "HIVE-2695 [jira] Add PRINTF() Udf".
Reviewers: JIRA
HIVE-2695: Add PRINTF() UDF
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D1155
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFPrintf.java
ql/src/test/queries/clientnegative/udf_printf_wrong1.q
ql/src/test/queries/clientnegative/udf_printf_wrong2.q
ql/src/test/queries/clientnegative/udf_printf_wrong3.q
ql/src/test/queries/clientpositive/udf_printf.q
ql/src/test/results/clientnegative/udf_printf_wrong1.q.out
ql/src/test/results/clientnegative/udf_printf_wrong2.q.out
ql/src/test/results/clientnegative/udf_printf_wrong3.q.out
ql/src/test/results/clientpositive/show_functions.q.out
ql/src/test/results/clientpositive/udf_printf.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/2427/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Namit Jain (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-2695:
-----------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed. Thanks Zhenxiao
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch, HIVE-2695.D1173.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2695) Add PRINTF() Udf
Posted by "Phabricator (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2695:
------------------------------
Attachment: HIVE-2695.D1161.1.patch
zhenxiao requested code review of "HIVE-2695 [jira] Add PRINTF() Udf".
Reviewers: JIRA
HIVE-2695: Add Printf() UDF
TEST PLAN
EMPTY
REVISION DETAIL
https://reviews.facebook.net/D1161
AFFECTED FILES
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFPrintf.java
ql/src/test/queries/clientnegative/udf_printf_wrong1.q
ql/src/test/queries/clientnegative/udf_printf_wrong2.q
ql/src/test/queries/clientnegative/udf_printf_wrong3.q
ql/src/test/queries/clientnegative/udf_printf_wrong4.q
ql/src/test/queries/clientpositive/udf_printf.q
ql/src/test/results/clientnegative/udf_printf_wrong1.q.out
ql/src/test/results/clientnegative/udf_printf_wrong2.q.out
ql/src/test/results/clientnegative/udf_printf_wrong3.q.out
ql/src/test/results/clientpositive/show_functions.q.out
ql/src/test/results/clientpositive/udf_printf.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/2433/
Tip: use the X-Herald-Rules header to filter Herald messages in your client.
> Add PRINTF() Udf
> ----------------
>
> Key: HIVE-2695
> URL: https://issues.apache.org/jira/browse/HIVE-2695
> Project: Hive
> Issue Type: New Feature
> Components: UDF
> Reporter: Carl Steinbach
> Assignee: Zhenxiao Luo
> Attachments: HIVE-2695.D1155.1.patch, HIVE-2695.D1161.1.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira