[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Affects Version/s: 0.13.0 > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Affects Versions: 0.13.0 >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Fix For: 0.14.0 > > Attachments: HIVE-6858.1.patch, HIVE-6858.2.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Resolution: Fixed Fix Version/s: 0.14.0 Status: Resolved (was: Patch Available) The failed test is not related, I have committed it to trunk. > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Fix For: 0.14.0 > > Attachments: HIVE-6858.1.patch, HIVE-6858.2.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Status: Patch Available (was: Open) > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Attachments: HIVE-6858.1.patch, HIVE-6858.2.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Status: Open (was: Patch Available) > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Attachments: HIVE-6858.1.patch, HIVE-6858.2.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Attachment: HIVE-6858.2.patch Updated patch with the fix to groupby3_map_skew.q as well, as suggested by [~jdere]. Verfied that it passes in both jdk6, jdk7. > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Attachments: HIVE-6858.1.patch, HIVE-6858.2.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Attachment: HIVE-6858.1.patch Attached patch modifies the tests so that it doesn't run into the jdk bug. > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Attachments: HIVE-6858.1.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-6858) Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7.
[ https://issues.apache.org/jira/browse/HIVE-6858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey updated HIVE-6858: --- Status: Patch Available (was: Open) > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > --- > > Key: HIVE-6858 > URL: https://issues.apache.org/jira/browse/HIVE-6858 > Project: Hive > Issue Type: Bug >Reporter: Jitendra Nath Pandey >Assignee: Jitendra Nath Pandey > Attachments: HIVE-6858.1.patch > > > Unit tests decimal_udf.q, vectorization_div0.q fail with jdk-7. > {noformat} > < -250.0 6583411.236 1.0 6583411.236 -0.004 -0.0048 > --- > > -250.0 6583411.236 1.0 6583411.236 -0.0040 -0.0048 > {noformat} > Following code reproduces this behavior when run in jdk-7 vs jdk-6. Jdk-7 > produces -0.004 while, jdk-6 produces -0.0040. > {code} > public class Main { > public static void main(String[] a) throws Exception { > double val = 0.004; > System.out.println("Value = "+val); > } > } > {code} > This happens to be a bug in jdk6, that has been fixed in jdk7. > http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4511638 -- This message was sent by Atlassian JIRA (v6.2#6252)