SQL function returning different type then the property type fails on conversion error

Description

Customer defined SQL function that convert the member into number
When trying to execute the query with the function he got:
Failed converting [0] from 'java.lang.String' to 'xxx.Yyy' - converter not found.

In case return type of the function is not the same as the member type, or one that can be converted to that type using parse or valueof method this exception is thrown.

Workaround

None

Acceptance Test

com.gigaspaces.test.database.sql.SQLFunctions.ContainsKeyTest

Assignee

Yael Nahon

Reporter

Ester Atzmon

Labels

Priority

Medium

SalesForce Case ID

11929

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Open Source

Platform

All
Configure