Skip to content

Conversation

@yfakariya
Copy link

@yfakariya yfakariya commented Sep 9, 2025

WHAT

Make mapped type of array elenment nullable. For example, ARRAY<INT64> will be []spanner.NullInt64 instead of []int64.

In addition, I updated go version to pass CI.

WHY

In spanner, array elements are always nullable, but current yo implementation treats them as non null. In fact, SQL driver for Spanner maps array types to []spanner.NullXxx types, so sql.Rows.Scan() fails with unsupported Scan, storing driver.Value type []spanner.NullInt64 into type []int64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant