Re: How to set Expiry Policies when using Dataframe API to save data to Ignite?

2018-04-11 Thread vkulichenko
Ray, You can use IgniteDataFrameSettings#OPTION_CREATE_TABLE_PARAMETERS parameter to specify custom parameters that Spark should use when creating new table in Ignite. Provided string will be attached to WITH clause of Ignite's CREATE TABLE command [1]. For expiry policy in particular, you can ha

Re: How to set Expiry Policies when using Dataframe API to save data to Ignite?

2018-04-11 Thread dkarachentsev
Hi Ray, I think the only way to do it is to use IgniteDataFrameSettings.OPTION_CONFIG_FILE and set path to xml configuration with all settings you need. Here is a nice article about this [1] [1] https://medium.com/hashmapinc/apache-ignite-using-a-memory-grid-for-distributed-computation-frameworks

How to set Expiry Policies when using Dataframe API to save data to Ignite?

2018-04-10 Thread Ray
tings exists in the IgniteDataFrameSettings. So my question is how to set Expiry Policies when using Dataframe API to save data to Ignite? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/