You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by joseheitor <jo...@heitorprojects.com> on 2018/11/18 07:45:32 UTC

SQL 'affinityKey' or 'AFFINITY_KEY"

What is the correct syntax for the affinity key parameter in the WITH clause
in a CREATE TABLE SQL statement?



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

Re: SQL 'affinityKey' or 'AFFINITY_KEY"

Posted by Adam Rosini <ar...@jobcase.com>.
I asked the same question in Gitter awhile back, here was the response:

> it doesn't matter, Ignite understand both. affinity_key was added later,
I think affinitykey was treated as typo
> private static final String PARAM_AFFINITY_KEY_OLD = "AFFINITYKEY";
> private static final String PARAM_AFFINITY_KEY = "AFFINITY_KEY";

On Mon, Nov 19, 2018 at 3:15 AM Ilya Kasnacheev <il...@gmail.com>
wrote:

> Hello!
>
> I think it's AFFINITY_KEY. Have you tried either one? I think Ignite will
> complain if there's invalid input.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> вс, 18 нояб. 2018 г. в 10:45, joseheitor <jo...@heitorprojects.com>:
>
>> What is the correct syntax for the affinity key parameter in the WITH
>> clause
>> in a CREATE TABLE SQL statement?
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>

-- 
Adam Rosini, Software Engineer
Jobcase, Inc.  <https://www.jobcase.com/>| 201 Broadway | 7th Floor |
Cambridge, MA 02139
arosini@jobcase.com

Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.

Re: SQL 'affinityKey' or 'AFFINITY_KEY"

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

I think it's AFFINITY_KEY. Have you tried either one? I think Ignite will
complain if there's invalid input.

Regards,
-- 
Ilya Kasnacheev


вс, 18 нояб. 2018 г. в 10:45, joseheitor <jo...@heitorprojects.com>:

> What is the correct syntax for the affinity key parameter in the WITH
> clause
> in a CREATE TABLE SQL statement?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>