hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2694) Add FORMAT UDF
Date Sat, 21 Jan 2012 03:06:44 GMT

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

Phabricator updated HIVE-2694:
------------------------------

    Attachment: HIVE-2694.D1149.3.patch

zhenxiao updated the revision "HIVE-2694 [jira] Add FORMAT UDF".
Reviewers: JIRA, cwsteinbach


  HIVE-2694: Carl's comments addressed
              also accepts integer as X value to format
              add testcases for Long/Double boundary values
              currently using -9223372036854775807 as Long.MIN_VALUE
              Found a Hive bug, PrimitiveObjectInspector.getPrimitiveCategory() returns DOUBLE
for  Long.MIN_VALUE -9223372036854775808. HIVE-2733 is created to track this bug

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

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFFormatNumber.java
  ql/src/test/queries/clientnegative/udf_format_number_wrong1.q
  ql/src/test/queries/clientnegative/udf_format_number_wrong2.q
  ql/src/test/queries/clientnegative/udf_format_number_wrong3.q
  ql/src/test/queries/clientnegative/udf_format_number_wrong4.q
  ql/src/test/queries/clientnegative/udf_format_number_wrong5.q
  ql/src/test/queries/clientnegative/udf_format_number_wrong6.q
  ql/src/test/queries/clientnegative/udf_format_number_wrong7.q
  ql/src/test/queries/clientpositive/udf_format_number.q
  ql/src/test/results/clientnegative/udf_format_number_wrong1.q.out
  ql/src/test/results/clientnegative/udf_format_number_wrong2.q.out
  ql/src/test/results/clientnegative/udf_format_number_wrong3.q.out
  ql/src/test/results/clientnegative/udf_format_number_wrong4.q.out
  ql/src/test/results/clientnegative/udf_format_number_wrong5.q.out
  ql/src/test/results/clientnegative/udf_format_number_wrong6.q.out
  ql/src/test/results/clientnegative/udf_format_number_wrong7.q.out
  ql/src/test/results/clientpositive/show_functions.q.out
  ql/src/test/results/clientpositive/udf_format_number.q.out

                
> Add FORMAT UDF
> --------------
>
>                 Key: HIVE-2694
>                 URL: https://issues.apache.org/jira/browse/HIVE-2694
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>            Reporter: Carl Steinbach
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-2694.D1149.1.patch, HIVE-2694.D1149.2.patch, HIVE-2694.D1149.3.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

        

Mime
View raw message