hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-164) Support CASE statement using GenericUDF
Date Tue, 28 Apr 2009 22:31:30 GMT

    [ https://issues.apache.org/jira/browse/HIVE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703862#action_12703862
] 

Zheng Shao commented on HIVE-164:
---------------------------------

Error message:
{code}
    [junit] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    [junit]     at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:133)
    [junit]     at java.lang.StringCoding.decode(StringCoding.java:173)
    [junit]     at java.lang.StringCoding.decode(StringCoding.java:185)
    [junit]     at java.lang.String.<init>(String.java:571)
    [junit]     at java.lang.String.<init>(String.java:594)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:448)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
{code}

The error comes from junit - we are outputting too much stuff to stdout/stderr!

http://www.docjar.com/html/api/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java.html
{code}
  443               systemError.close();
  444               systemError = null;
  445               systemOut.close();
  446               systemOut = null;
  447               if (startTestSuiteSuccess) {
  448                   sendOutAndErr(new String(outStrm.toByteArray()),
  449                                 new String(errStrm.toByteArray()));
  450               }
{code}

I will fix it together with this patch.


> Support CASE statement using GenericUDF
> ---------------------------------------
>
>                 Key: HIVE-164
>                 URL: https://issues.apache.org/jira/browse/HIVE-164
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>    Affects Versions: 0.4.0
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>             Fix For: 0.4.0
>
>         Attachments: HIVE-164.4.patch, HIVE-164.5.patch, HIVE-164.6.code-only.patch,
HIVE-164.6.patch, HIVE-164.7.code-only.patch, HIVE-164.7.patch, HIVE-164.8.patch
>
>
> See http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html for details.
> Syntax:
> {code}
> CASE value WHEN [compare_value] THEN result [WHEN [compare_value] THEN result ...] [<ELSE
result] END
> CASE WHEN [condition] THEN result [WHEN [condition] THEN result ...] [ELSE result] END

> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message