[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2014-08-14 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan commented on HIVE-5382:
-

This can be closed because it no longer happens in hive-0.13 possibly due to 
HIVE-5356.

Thanks
Hari

 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-05 Thread Hudson (JIRA)

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

Hudson commented on HIVE-5382:
--

FAILURE: Integrated in Hive-trunk-hadoop2-ptest #125 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/125/])
HIVE-5382 - PTest2 should allow you to specify ant properties which will only 
be added to the command when a test is executed (brock: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1529212)
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/PTest.java
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/conf/TestConfiguration.java
* /hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.java
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testAlternativeTestJVM.approved.txt
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testBatch.approved.txt


 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-05 Thread Hudson (JIRA)

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

Hudson commented on HIVE-5382:
--

FAILURE: Integrated in Hive-trunk-hadoop1-ptest #191 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/191/])
HIVE-5382 - PTest2 should allow you to specify ant properties which will only 
be added to the command when a test is executed (brock: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1529212)
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/PTest.java
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/conf/TestConfiguration.java
* /hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.java
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testAlternativeTestJVM.approved.txt
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testBatch.approved.txt


 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-05 Thread Hudson (JIRA)

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

Hudson commented on HIVE-5382:
--

FAILURE: Integrated in Hive-trunk-h0.21 #2381 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2381/])
HIVE-5382 - PTest2 should allow you to specify ant properties which will only 
be added to the command when a test is executed (brock: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1529212)
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/PTest.java
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/conf/TestConfiguration.java
* /hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.java
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testAlternativeTestJVM.approved.txt
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testBatch.approved.txt


 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-04 Thread Hudson (JIRA)

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

Hudson commented on HIVE-5382:
--

FAILURE: Integrated in Hive-trunk-hadoop2 #477 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/477/])
HIVE-5382 - PTest2 should allow you to specify ant properties which will only 
be added to the command when a test is executed (brock: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1529212)
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/PTest.java
* 
/hive/trunk/testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/conf/TestConfiguration.java
* /hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.java
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testAlternativeTestJVM.approved.txt
* 
/hive/trunk/testutils/ptest2/src/test/java/org/apache/hive/ptest/execution/TestScripts.testBatch.approved.txt


 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-03 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan commented on HIVE-5382:
-

Hi Gunther,
Thanks for the review for addressing those issues.
It seems like e notation explicitly means 10^value.
I need to look more into how java language handles similar scenarios .
One question is why cant we directly use 'Double.valueOf(string)'  for this 
conversion as defined in 
http://developer.classpath.org/doc/java/lang/Double-source.html  Theoretically, 
it should tally with the results that we obtain if we cast one number type to 
another number type in Hive.

The bottom line is that the issues that Gunther addressed in RB need to be 
clearly understood and addressed before we can  merge in the change. This will 
be fixed by 0.13.

Thanks
Hari

 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-02 Thread Gunther Hagleitner (JIRA)

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

Gunther Hagleitner commented on HIVE-5382:
--

comments on rb.

 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-01 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-5382:
---



{color:green}Overall{color}: +1 all checks pass

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

{color:green}SUCCESS:{color} +1 4077 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/985/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/985/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (HIVE-5382) Allow strings represented as exponential notation to be typecasted to int/smallint/bigint/tinyint

2013-10-01 Thread Hari Sankar Sivarama Subramaniyan (JIRA)

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

Hari Sankar Sivarama Subramaniyan commented on HIVE-5382:
-

https://reviews.apache.org/r/14430/

 Allow strings represented as exponential notation to be typecasted to 
 int/smallint/bigint/tinyint
 -

 Key: HIVE-5382
 URL: https://issues.apache.org/jira/browse/HIVE-5382
 Project: Hive
  Issue Type: Bug
Reporter: Hari Sankar Sivarama Subramaniyan
Assignee: Hari Sankar Sivarama Subramaniyan
 Attachments: HIVE-5382.1.patch


 Follow up jira for HIVE-5352



--
This message was sent by Atlassian JIRA
(v6.1#6144)