Re: QuerySqlFunction

2018-02-14 Thread vkulichenko
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/

Re: QuerySqlFunction

2018-02-14 Thread Alexey Kuznetsov
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

QuerySqlFunction

2018-02-14 Thread Williams, Michael
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

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-29 Thread edwardkblk
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.

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-28 Thread vkulichenko
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

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-27 Thread edwardkblk
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

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-26 Thread vkulichenko
.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.

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-26 Thread edwardkblk
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.

Re: QuerySqlFunction methods with variable arguments do not seem to work

2016-07-25 Thread vkulichenko
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.

QuerySqlFunction methods with variable arguments do not seem to work

2016-07-25 Thread edwardkblk
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.