Hi,

I think we can map members in a nested object to table columns when we create 
the cache. And when we add a field to the first-level value object (which 
contains the nested object) and add a column to the table dynamically, they can 
be connected automatically. So now the problem is when we add a field to the 
nested object and add a column to the table, they cannot be connected 
automatically.  May I know how this part is implemented in Ignite? Could you 
please create a ticket and fix this in the future?

Thanks,
Cong

-----Original Message----- 
From: slava.koptilin [mailto:[email protected]] 
Sent: 2018年6月21日 9:25
To: [email protected]
Subject: RE: SQL cannot find data of new class definition

Hello,

> How should I write the "alter table Person" statement if I want to add 
> a new member to class Address after the cache has been created?
I don't think that there is a way to do it for nested objects, unfortunately.

In that case, I think that you need to update your configuration [1] and 
restart the cluster.
[1]
https://apacheignite-sql.readme.io/docs/schema-and-indexes#section-annotation-based-configuration

Thanks!



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

Reply via email to