Hello!

I think you need to specify your JAR file with the -JvmClasspath argument
of ignite.exe or corresponding IgniteConfiguration class property.

Regards,
-- 
Ilya Kasnacheev


вт, 22 дек. 2020 г. в 11:03, siva <[email protected]>:

> Hi,
> I have added custom function jar file and added cache configuration in
> default config xml and started server using ignite.bat.I am able to query
> my
> custom function.
> 0: jdbc:ignite:thin://127.0.0.1/> SELECT Custom_Json_Value('','') foo;
> +--------------------------------+
> |              FOO               |
> +--------------------------------+
> | Test                           |
> +--------------------------------+
> 1 row selected (0.034 seconds)
> 0: jdbc:ignite:thin://127.0.0.1/>
>
> But in .NET Server case it's not working
>  IgniteHome,cacheconfig and libs there in at ignite binary.
>  added same cache configuration in .net server xml file.
>
> i have tested create command as well with same cache template but it's not
> working.what might be the cause?
>
> 0: jdbc:ignite:thin://127.0.0.1/> SELECT Custom_Json_Value('','') foo;
> Error: Failed to parse query. Function "CUSTOM_JSON_VALUE" not found; SQL
> statement:
> SELECT Custom_Json_Value('','') foo [90022-197] (state=42000,code=1001)
> java.sql.SQLException: Failed to parse query. Function "CUSTOM_JSON_VALUE"
> not found; SQL statement:
> SELECT Custom_Json_Value('','') foo [90022-197]
>         at
>
> org.apache.ignite.internal.jdbc.thin.JdbcThinConnection.sendRequest(JdbcThinConnection.java:750)
>         at
>
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute0(JdbcThinStatement.java:212)
>         at
>
> org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.execute(JdbcThinStatement.java:475)
>         at sqlline.Commands.execute(Commands.java:823)
>         at sqlline.Commands.sql(Commands.java:733)
>         at sqlline.SqlLine.dispatch(SqlLine.java:795)
>         at sqlline.SqlLine.begin(SqlLine.java:668)
>         at sqlline.SqlLine.start(SqlLine.java:373)
>         at sqlline.SqlLine.main(SqlLine.java:265)
> help is very appreciate.thanks.
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to