Joe Feise created IGNITE-9467:
---------------------------------
Summary: Custom SQL function: Hexadecimal string with odd number
of characters
Key: IGNITE-9467
URL: https://issues.apache.org/jira/browse/IGNITE-9467
Project: Ignite
Issue Type: Bug
Affects Versions: 2.6
Reporter: Joe Feise
I have been trying to use a custom SQL function which expects an array of
doubles, as explained here:
[https://stackoverflow.com/questions/33097103/how-to-sum-an-array-of-doubles-with-ignite-data-grid-sql]
I get this error:
select arraysum(value_double) from time_series;
[Hexadecimal string with odd number of characters: "-9.386298778519813E-152";
SQL statement:
select arraysum(value_double) from time_series
[90003-195]|http://192.168.6.247:64909/query.do?jsessionid=456cb3c32fa9887ebfaaf775c4f3beff]
90003/90003
It seems that Ignite tries to read the double value as a hex string.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)