Search code examples
google-cloud-platformgoogle-cloud-spanner

Can a child have multiple parents in google spanner?


I was trying out the google spanner and couldnt find in any docs about wether a child table can have multiple parent tables. I think there cannot be such a case, just wanted to make sure. Thank you.


Solution

  • Correct. An interleaved table can have only one direct parent table. However, there can be multiple levels in the hierarchy, so you may be able to model this differently and achieve the same result.