You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---
# Values are need to be encoded as documented.
# https://cloud.google.com/spanner/docs/reference/rpc/google.spanner.v1#google.spanner.v1.TypeCode
- ID: "All_Type_Values"
BoolValue: true
BytesValue: "aG9nZQ==" # base64("hoge")
DateValue: "2022-04-01"
Float64Value: 3.14159
Int64Value: 42
JSONValue: '{"test": 1}'
NumericValue: "-12345678901234567890123456789.123456789"
StringValue: "FooBar"
TimestampValue: "2022-04-01T00:00:00Z"
# failed to load data to spanner tables: failed to insert records: spanner: code = "InvalidArgument", desc = "client doesn't support type []interface {}"exit status 1
# StringArray:
# - "Foo"
# - "Bar"
In this case, it seems to need []interface{}-to-[]string conversion(using INFORMATION_SCHEMA or use reflection?). ARRAY<INT64>, ARRAY<TIMESTAMP>, etc are also should be supported
The text was updated successfully, but these errors were encountered:
splanter seems to support all Cloud Spanner table column types except
ARRAY
types.Ideally,
ARRAY
types should be supported.Schama
YAML
In this case, it seems to need
[]interface{}
-to-[]string
conversion(usingINFORMATION_SCHEMA
or use reflection?).ARRAY<INT64>
,ARRAY<TIMESTAMP>
, etc are also should be supportedThe text was updated successfully, but these errors were encountered: