[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-30 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13887071#comment-13887071
 ] 

Xuefu Zhang commented on HIVE-6246:
---

Wiki is updated, listing sign as one of supported functions for decimal.

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Fix For: 0.13.0

 Attachments: HIVE-6246.1.patch, HIVE-6246.1.patch, HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-29 Thread Prasad Mujumdar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13885710#comment-13885710
 ] 

Prasad Mujumdar commented on HIVE-6246:
---

+1


 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.1.patch, HIVE-6246.1.patch, HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-28 Thread Lefty Leverenz (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13883910#comment-13883910
 ] 

Lefty Leverenz commented on HIVE-6246:
--

When this is committed, it needs to be documented in the wiki here:  
[Mathematical UDFs 
|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-MathematicalUDFs]
 --  just add sign(a) to the list.

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.1.patch, HIVE-6246.1.patch, HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-27 Thread Swarnim Kulkarni (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13883248#comment-13883248
 ] 

Swarnim Kulkarni commented on HIVE-6246:


Non committer +1

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-27 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13883778#comment-13883778
 ] 

Hive QA commented on HIVE-6246:
---



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12625450/HIVE-6246.1.patch

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 4962 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_import_exported_table
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_load_hdfs_file_with_space_in_the_name
org.apache.hadoop.hive.cli.TestNegativeMinimrCliDriver.testNegativeCliDriver_file_with_header_footer_negative
{noformat}

Test results: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1052/testReport
Console output: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1052/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12625450

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.1.patch, HIVE-6246.1.patch, HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-27 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13883787#comment-13883787
 ] 

Xuefu Zhang commented on HIVE-6246:
---

Above failures are related to HIVE-6310, having nothing to do with the patch 
here.

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.1.patch, HIVE-6246.1.patch, HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-23 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13880335#comment-13880335
 ] 

Hive QA commented on HIVE-6246:
---



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12624861/HIVE-6246.patch

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 4950 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_filter
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_groupby
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_join
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_part
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_select
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_table
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_union
{noformat}

Test results: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1001/testReport
Console output: 
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1001/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 7 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12624861

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-23 Thread Xuefu Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13880352#comment-13880352
 ] 

Xuefu Zhang commented on HIVE-6246:
---

It looks like that the above reported failures are not caused by this patch, as 
they are failing in other pre-commit test runs.

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (HIVE-6246) Sign(a) UDF is not supported for decimal type

2014-01-23 Thread Mohammad Kamrul Islam (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-6246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13880483#comment-13880483
 ] 

Mohammad Kamrul Islam commented on HIVE-6246:
-

Left comments in RB.

 Sign(a) UDF is not supported for decimal type
 -

 Key: HIVE-6246
 URL: https://issues.apache.org/jira/browse/HIVE-6246
 Project: Hive
  Issue Type: Bug
  Components: UDF
Affects Versions: 0.12.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
 Attachments: HIVE-6246.patch


 java.sql.SQLException: Error while compiling statement: FAILED: 
 SemanticException [Error 10014]: Line 1:86 Wrong arguments 'a': No matching 
 method for class org.apache.hadoop.hive.ql.udf.UDFSign with (decimal(38,10)). 
 Possible choices: _FUNC_(double)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)