Re: Blocked: Migrate PosgreSQL JSONB data in Apache Ignite

2018-06-01 Thread ilya.kasnacheev
Hello! It should be possible to do all four using Cache API: 1. cache.put() 2. cache.invoke() 3. cache.remove() 4. cache.query(new SqlQuery()) Now 5. is problematic with cache API, since doing joins limits you to SQL, which can't have any specific handling for your JSON. Regards, -- Sent

Re: Blocked: Migrate PosgreSQL JSONB data in Apache Ignite

2018-05-30 Thread Harsh Mishra
Hi Iliya, Thanks for the reply. I will follow your suggestions. Does cache API support full document post and Partial update? API doc seems confusing. In my case, a table has all normal columns(int, varchar, char, boolean, date, timestamp) + a custom column that has JSON data. My requirement

Re: Blocked: Migrate PosgreSQL JSONB data in Apache Ignite

2018-05-30 Thread ilya.kasnacheev
Hello! Apache Ignite in SQL mode doesn't have special support for "destructure-able" datatypes. This means you can put your JSON into VARCHAR or BLOB and hope that performance will be sufficient. I would recommend using Cache API instead of SQL for such use cases, where you can collocate

Blocked: Migrate PosgreSQL JSONB data in Apache Ignite

2018-05-30 Thread Harsh Mishra
Hi, Objective: JSON handling in Apache Ignite I am using PostgreSQL database and one table has JSONB data type so I can add any type of key in DB. How to handle this case in Apache Ignite. TABLE STRUCTURE(Partial) app_member_id character varying(64) DEFAULT NULL::character varying,