ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: DDL: CREATE INDEX
Date Wed, 18 Jan 2017 03:22:49 GMT
I agree. "CREATE INDEX" could be the 1st command to implement.

On Tue, Jan 17, 2017 at 8:42 AM, Sergi Vladykin <sergi.vladykin@gmail.com>
wrote:

> Guys,
>
> DDL is too broad topic, I think it makes sense to split the needed
> functionality and discuss each part separately.
>
> Lets start with dynamic SQL index creation, since dynamic table creation
> usually makes no sense without indexes.
>
> I suggest the following plan here:
>
> 1. Create method IgniteCacheEx.createQueryIndex(QueryIndex).
>
> 2. Use DiscoveryCustomEvents to exchange information about created indexes.
>
> 3. In the first version lock the whole SQL table from modifications.
>
> 4. Add all the data to the created index from PK.
>
> 5. Notify everyone that all the participating data nodes have completed
> index building using DiscoveryCustomEvents.
>
> 6. Implement CREATE INDEX command handling.
>
>
> Items 2 and 5 must become a common mechanism for all other DDL commands we
> are going to support.
>
> Sergi
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message