Re: Can Custom SQL functions get loaded after server start?

2019-02-28 Thread Ilya Kasnacheev
Hello!

Same class won't work, you will need to generate different classes (by name
+ package name) for different iterations of your functions class.

On related note, you could try to build a generic Java function that will
be calling back .Net code, pass function name + parameters to it.

Regards,
-- 
Ilya Kasnacheev


чт, 28 февр. 2019 г. в 16:09, wt :

> The problem is it will work in java using the api but all my code is in
> .Net
> and unfortunately the .net api doesn't have any of the capability in it. I
> guess we could have a separate java app that does this. I tried to fudge it
> by compiling the same class with an additional function but it looks like
> Ignite loads these up once so it doesn't find it. I am trying to build a
> financial app that allows users to upload their own functions and run those
> over the data in the system. Not a train smash  - i can work around it.
> Thanks Ilya
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: Can Custom SQL functions get loaded after server start?

2019-02-28 Thread wt
The problem is it will work in java using the api but all my code is in .Net
and unfortunately the .net api doesn't have any of the capability in it. I
guess we could have a separate java app that does this. I tried to fudge it
by compiling the same class with an additional function but it looks like
Ignite loads these up once so it doesn't find it. I am trying to build a
financial app that allows users to upload their own functions and run those
over the data in the system. Not a train smash  - i can work around it.
Thanks Ilya



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Can Custom SQL functions get loaded after server start?

2019-02-28 Thread Ilya Kasnacheev
Hello!

I don't see why you can't put new classes to classpath (or even define them
on the fly) and then create new caches with fresh set of functions to bind
them to schema.

However, I guess you will have to put them to classpath on all nodes before
doing that.

Regards,
-- 
Ilya Kasnacheev


чт, 28 февр. 2019 г. в 15:10, wt :

> I am looking to build a capability to add new functions in without
> restarting
> the service.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Can Custom SQL functions get loaded after server start?

2019-02-28 Thread wt
I am looking to build a capability to add new functions in without restarting
the service.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/