Dima,

Yes, I saw it also. But this is not about syntax only. Spanner use this
information to store data efficiently - child entries a located near to
their parents. We can think of it as if all related tables were logical
caches inside one physical cache, sorted by the key. With this storage
format it will be possible to implement very efficient co-located joins.

On Wed, Oct 25, 2017 at 1:26 PM, Dmitriy Setrakyan <dsetrak...@apache.org>
wrote:

> Igniters,
>
> Please take a look at how the affinity syntax works in Google Spanner:
> https://stackoverflow.com/questions/46903159/can-i-have-
> multiple-tables-with-same-parent-in-google-spanner
>
> I find it rather nice. Perhaps we can borrow from it.
>
> D.
>

Reply via email to