Open vvakame opened 7 years ago
DatastoreのバックアップをBQに突っ込んだ時のスキーマ
CloudDatastore
Slice | RECORD | REPEATED | Slice
-- | -- | -- | --
Slice.A | STRING | NULLABLE | A
Slice.B | STRING | NULLABLE | B
Slice.__key__ | RECORD | NULLABLE | Describe this field...
Slice.__key__.namespace | STRING | NULLABLE | Describe this field...
Slice.__key__.app | STRING | NULLABLE | Describe this field...
Slice.__key__.path | STRING | NULLABLE | Describe this field...
Slice.__key__.kind | STRING | NULLABLE | Describe this field...
Slice.__key__.name | STRING | NULLABLE | Describe this field...
Slice.__key__.id | INTEGER | NULLABLE | Describe this field...
__key__ | RECORD | NULLABLE | Describe this field...
__key__.namespace | STRING | NULLABLE | Describe this field...
__key__.app | STRING | NULLABLE | Describe this field...
__key__.path | STRING | NULLABLE | Describe this field...
__key__.kind | STRING | NULLABLE | Describe this field...
__key__.name | STRING | NULLABLE | Describe this field...
__key__.id | INTEGER | NULLABLE | Describe this field...
__error__ | STRING | REPEATED | Describe this field...
__has_error__ | BOOLEAN | NULLABLE | Describe this field...
AEDatastore
Slice | RECORD | NULLABLE | Slice
-- | -- | -- | --
Slice.B | STRING | REPEATED | B
Slice.A | STRING | REPEATED | A
__key__ | RECORD | NULLABLE | Describe this field...
__key__.namespace | STRING | NULLABLE | Describe this field...
__key__.app | STRING | NULLABLE | Describe this field...
__key__.path | STRING | NULLABLE | Describe this field...
__key__.kind | STRING | NULLABLE | Describe this field...
__key__.name | STRING | NULLABLE | Describe this field...
__key__.id | INTEGER | NULLABLE | Describe this field...
__error__ | STRING | REPEATED | Describe this field...
__has_error__ | BOOLEAN | NULLABLE | Describe this field...
な…る…ほ…ど…ね……??
https://gcpug.slack.com/archives/C2J8XMRKL/p1509346656000074
みたいな構造をPropertyListにした時、違う結果になる。 Sliceの長さを3とした時
検索の仕方は両方
Slice.A
とかなので、実用上の違いはないかもしれない…? BigQueryにexportした時のスキーマ構成とかに影響があるかな…?くらい(未検証