[jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

2014-10-17 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-8460:
---
   Resolution: Fixed
Fix Version/s: 0.14.0
   Status: Resolved  (was: Patch Available)

Committed to 0.14 & trunk. Thanks, Prasanth!

> ORC SARG literal creation for double from float may lead to wrong evaluation 
> of SARG
> 
>
> Key: HIVE-8460
> URL: https://issues.apache.org/jira/browse/HIVE-8460
> Project: Hive
>  Issue Type: Bug
>  Components: Query Processor
>Affects Versions: 0.13.0, 0.13.1
>Reporter: Ashutosh Chauhan
>Assignee: Prasanth J
> Fix For: 0.14.0
>
> Attachments: HIVE-8460.1.patch, HIVE-8460.2.patch
>
>
> e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to 
> double d = 0.21986 in SARG creation. This will cause erroneous evaluation 
> of SARG expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

2014-10-16 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-8460:
-
Attachment: HIVE-8460.2.patch

> ORC SARG literal creation for double from float may lead to wrong evaluation 
> of SARG
> 
>
> Key: HIVE-8460
> URL: https://issues.apache.org/jira/browse/HIVE-8460
> Project: Hive
>  Issue Type: Bug
>  Components: Query Processor
>Affects Versions: 0.13.0, 0.13.1
>Reporter: Ashutosh Chauhan
>Assignee: Prasanth J
> Attachments: HIVE-8460.1.patch, HIVE-8460.2.patch
>
>
> e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to 
> double d = 0.21986 in SARG creation. This will cause erroneous evaluation 
> of SARG expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

2014-10-15 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-8460:
-
Attachment: HIVE-8460.1.patch

> ORC SARG literal creation for double from float may lead to wrong evaluation 
> of SARG
> 
>
> Key: HIVE-8460
> URL: https://issues.apache.org/jira/browse/HIVE-8460
> Project: Hive
>  Issue Type: Bug
>  Components: Query Processor
>Affects Versions: 0.13.0, 0.13.1
>Reporter: Ashutosh Chauhan
> Attachments: HIVE-8460.1.patch
>
>
> e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to 
> double d = 0.21986 in SARG creation. This will cause erroneous evaluation 
> of SARG expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

2014-10-15 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-8460:
-
Status: Patch Available  (was: Open)

> ORC SARG literal creation for double from float may lead to wrong evaluation 
> of SARG
> 
>
> Key: HIVE-8460
> URL: https://issues.apache.org/jira/browse/HIVE-8460
> Project: Hive
>  Issue Type: Bug
>  Components: Query Processor
>Affects Versions: 0.13.1, 0.13.0
>Reporter: Ashutosh Chauhan
> Attachments: HIVE-8460.1.patch
>
>
> e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to 
> double d = 0.21986 in SARG creation. This will cause erroneous evaluation 
> of SARG expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

2014-10-15 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-8460:
-
Description: 
e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to 
double d = 0.21986 in SARG creation. This will cause erroneous evaluation 
of SARG expression.


  was:e.g., expression like d = 0.22 where 0.22 is of float type, after it goes 
through Kryo + base64 ser/deserialization cycle via jobconf becomes d = 
0.21986


> ORC SARG literal creation for double from float may lead to wrong evaluation 
> of SARG
> 
>
> Key: HIVE-8460
> URL: https://issues.apache.org/jira/browse/HIVE-8460
> Project: Hive
>  Issue Type: Bug
>  Components: Query Processor
>Affects Versions: 0.13.0, 0.13.1
>Reporter: Ashutosh Chauhan
>
> e.g., expression like d = 0.22 where 0.22 is of float type, gets converted to 
> double d = 0.21986 in SARG creation. This will cause erroneous evaluation 
> of SARG expression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-8460) ORC SARG literal creation for double from float may lead to wrong evaluation of SARG

2014-10-15 Thread Prasanth J (JIRA)

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

Prasanth J updated HIVE-8460:
-
Summary: ORC SARG literal creation for double from float may lead to wrong 
evaluation of SARG  (was: Kryo + Base 64 serialization for filter expression 
messes up float data)

> ORC SARG literal creation for double from float may lead to wrong evaluation 
> of SARG
> 
>
> Key: HIVE-8460
> URL: https://issues.apache.org/jira/browse/HIVE-8460
> Project: Hive
>  Issue Type: Bug
>  Components: Query Processor
>Affects Versions: 0.13.0, 0.13.1
>Reporter: Ashutosh Chauhan
>
> e.g., expression like d = 0.22 where 0.22 is of float type, after it goes 
> through Kryo + base64 ser/deserialization cycle via jobconf becomes d = 
> 0.21986



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)