drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aman Sinha (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2943) Deserialization error for an Order-By of floating point number in 'exponent' representation
Date Sun, 03 May 2015 01:59:06 GMT
Aman Sinha created DRILL-2943:
---------------------------------

             Summary: Deserialization error for an Order-By of floating point number in 'exponent'
representation
                 Key: DRILL-2943
                 URL: https://issues.apache.org/jira/browse/DRILL-2943
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - RPC
    Affects Versions: 0.9.0
            Reporter: Aman Sinha
            Assignee: Aman Sinha


When doing an order-by of values that have a multiplicative floating-point constant, the jackson
deserialization errors out due to the 'E' in the exponent representation. 

{code}
alter session set `planner.slice_target` = 1;
select c_acctbal * 0.0001 as x from cp.`tpch/customer.parquet` order by x;
{code}

{code}
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Expression has syntax error!
line 1:25:mismatched input 'E' expecting CParen (through reference chain: java.util.ArrayList[0])
	com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:210)
~[jackson-databind-2.4.3.jar:2.4.3]
	com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:189)
~[jackson-databind-2.4.3.jar:2.4.3]
	com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:249)
~[jackson-databind-2.4.3.jar:2.4.3]
	com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:206)
~[jackson-databind-2.4.3.jar:2.4.3]
{code}



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

Mime
View raw message