Hi Manesh,

Thin clients don't support this API yet.

As a workaround, see if you can implement a custom SQL function [1] and
call it from an INSERT statement issued by the thin client - "INSERT INTO
table(id, name, age) VALUES (generateIdFunction(), 'Mark', 40)". I haven't
tried this approach and not sure if it will work out. Let me know if it
solves your case.

[1] https://apacheignite-sql.readme.io/docs/custom-sql-functions

-
Denis


On Wed, Jun 17, 2020 at 9:04 AM Mahesh Renduchintala <
[email protected]> wrote:

> Hello,
>
> Is there a way to access ignite Atomic Sequence via thin client apis?
> We have a situation where we have thick clients (java micro-services) and
> thin clients (Spark) and both need to generate IDs for inserting data into
> tables.
>
> regards
> Mahesh
>
>
>
>

Reply via email to