Re: Atomic Sequence/Auto Increment via IgniteClient - Thin Client - Ignite 2.8.1

2020-06-17 Thread Denis Magda
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

Atomic Sequence/Auto Increment via IgniteClient - Thin Client - Ignite 2.8.1

2020-06-17 Thread Mahesh Renduchintala
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