0

Seems that spanner support struct type. https://cloud.google.com/spanner/docs/data-types#struct-type

However, DDL didn't mention how to use. https://cloud.google.com/spanner/docs/data-definition-language#data_types

It's really confuse me, or I got misunderstood with the documents?

Maxim
  • 4,075
  • 1
  • 14
  • 23
Ben
  • 3
  • 1

1 Answers1

3

You are correct. Sorry for the confusion.

Cloud Spanner doesn't support Struct as a column type. It only supports Arrays as column types, but it does return data from queries in Structs so it's a data return type.

Dominic Preuss
  • 667
  • 4
  • 8