Hello Huang, Both of them should work. In any way, I would suggest using 'AFFINITY-KEY' instead of 'AFFINITYKEY'. You can find the details here: https://issues.apache.org/jira/browse/IGNITE-6270
By the way, I will try to update the docs. Thanks, S. ср, 15 авг. 2018 г. в 14:19, Huang Meilong <[email protected]>: > thank you slava, > > > it says that to specify an affinity key name we can use AFFINITI_KEY in > the Parameters section, > > " > > - AFFINITY_KEY=<affinity key column name> - specifies an affinity key > <https://apacheignite.readme.io/docs/affinity-collocation> name which > is a column of the PRIMARY KEY constraint. > - > > " > > > but in the example section, it uses affinityKey > > > > - SQL <https://apacheignite-sql.readme.io/docs/create-table> > > Copy > > CREATE TABLE IF NOT EXISTS Person ( > id int, > city_id int, > name varchar, > age int, > company varchar, > PRIMARY KEY (id, city_id) > ) WITH "template=partitioned,backups=1,affinitykey=city_id, key_type=PersonKe > > > > which one works? > ------------------------------ > *发件人:* Вячеслав Коптилин <[email protected]> > *发送时间:* 2018年8月15日 16:14:34 > *收件人:* [email protected] > *主题:* Re: distributed-ddl extended-parameters section showing 404 page > not found > > Hello, > > Yep, the link is broken, unfortunately. > It seems it should be the following > https://apacheignite-sql.readme.io/docs/create-table#section-parameters > > Thanks, > S. > > ср, 15 авг. 2018 г. в 10:17, Huang Meilong <[email protected]>: > > I found it here: https://apacheignite-sql.readme.io/docs/getting-started > Getting Started - Apache Ignite SQL Documentation > <https://apacheignite-sql.readme.io/docs/getting-started> > apacheignite-sql.readme.io > Apache Ignite is a memory-centric distributed database, caching, and > processing platform for transactional, analytical, and streaming workloads, > delivering in-memory speeds at petabyte scale > > > """ > > to set other cache configurations for the table, you should use the > template parameter and provide the name of the cache configuration > previously registered(via XML or code). See extended parameters > <https://apacheignite-sql.readme.io/docs/distributed-ddl#section-extended-parameters> > section > for more details. > > """ > ------------------------------ > *发件人:* dkarachentsev <[email protected]> > *发送时间:* 2018年8月15日 14:48:56 > *收件人:* [email protected] > *主题:* Re: distributed-ddl extended-parameters section showing 404 page > not found > > Hi, > > Where did you find it? It might be a broken link. > > Thanks! > -Dmitry > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > >
