[ 
https://issues.apache.org/jira/browse/IGNITE-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15686376#comment-15686376
 ] 

Vladimir Ozerov commented on IGNITE-4259:
-----------------------------------------

Add {{isGeometryClass}} to {{GridQueryProcessor.initializeCache}} fixes the 
problem with incorrect type passed to H2 engine:

{code}
if (binaryEnabled && !keyOrValMustDeserialize) {
    // Safe to check null.
    if (SQL_TYPES.contains(valCls) || isGeometryClass(valCls))
        desc.valueClass(valCls);
    else
        desc.valueClass(Object.class);

    if (SQL_TYPES.contains(keyCls) || isGeometryClass(keyCls))
        desc.keyClass(keyCls);
    else
        desc.keyClass(Object.class);
}
{code}

> Geospatial functionality is broken in master
> --------------------------------------------
>
>                 Key: IGNITE-4259
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4259
>             Project: Ignite
>          Issue Type: Bug
>          Components: binary, SQL
>            Reporter: Andrew Mashenkov
>            Assignee: Andrew Mashenkov
>            Priority: Blocker
>             Fix For: 1.8
>
>
> GridH2IndexingGeoSelfTest fails with binary marshaller configured. 
> Query parameters are converted to binary since commit "ae77653" as a result 
> of  [https://issues.apache.org/jira/browse/IGNITE-2208]
> Also see [https://issues.apache.org/jira/browse/IGNITE-4238].



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

Reply via email to