That's correct. Custom SQL functions must be explicitly deployed on all nodes
and can't be deployed dynamically.
-Val
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
work with QuerySqlFunction
> definitions? I’m following the example and adding the class as follows,
> but even with peer class loading enabled, I get a gnarly error. Can clients
> marshal to servers? Any advice?
>
>
>
>
>
> import org.apache.ignite.cache.query.annotati
What changes do I need to do to make ZeroDeploy work with QuerySqlFunction
definitions? I'm following the example and adding the class as follows, but
even with peer class loading enabled, I get a gnarly error. Can clients marshal
to servers? Any advice?
i
https://issues.apache.org/jira/browse/IGNITE-3608
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/QuerySqlFunction-methods-with-variable-arguments-do-not-seem-to-work-tp6524p6625.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
This sounds like a very weird use case for me... As I said, in your
particular example you should use key access instead of SQL query. But feel
free to file a ticket and provide a test there.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/QuerySqlFunction
general. The following works fine:
/select worksFine('java.lang.String', 'key20')
public class MySql {
@QuerySqlFunction
public static org.apache.ignite.cache.affinity.AffinityKey
worksFine(String keyClz, String... ctorArgs) throws NoSuchMet
.nabble.com/QuerySqlFunction-methods-with-variable-arguments-do-not-seem-to-work-tp6524p6552.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/QuerySqlFunction-methods-with-variable-arguments-do-not-seem-to-work-tp6524p6543.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
http://apache-ignite-users.70518.x6.nabble.com/QuerySqlFunction-methods-with-variable-arguments-do-not-seem-to-work-tp6524p6528.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
affinityKey method is not called in the following equivalent example:
/select * from "mycache".mycache c
where _key = affinityKey('java.lang.String', 'key20')
public class MySql {
@QuerySqlFunction
public static org.apache.ignite.cache.affinity.
10 matches
Mail list logo