Thank you,Stephen.yes,I have found the feature in the release planning.When the 
ignite 3.0 will be release?


------------------------------------------------------------------
发件人:Stephen Darlington <stephen.darling...@gridgain.com>
发送时间:2021年8月19日(星期四) 23:09
收件人:user <user@ignite.apache.org>
主 题:Re: use java code to dynamic change sturcture of cache value

Basically you need to do both: change the Java class and run the SQL “ALTER 
TABLE” command. Until Ignite 3.0, they are (effectively) two distinct schemas, 
and you need to manage them separately.


On 19 Aug 2021, at 11:14, 常鑫 <xin.ch...@intotech.com.cn> wrote:

Hi All,
We are using Ignite 2.10.0 and we have a question on dynamic change sturcture 
of cache value.
    For example, a cache stores objects of the Person type.At first,it have two 
field: "name" and "salary",then a new node join the cluster ,but the person 
type it used have three field:"name"、  “salary" and "newCol".  I can operate 
the new field with key-value API.But I can't see it from SQL Tools.The SQL tool 
shows columns only which are present when Ignite cache has been initialized 
first time. 
   So how to publish the java code structure to the table structure.I know the 
ddl language,but I still wonder the answer.


---------
Thanks & Regards,
Xin Chang





Reply via email to