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
Cloud Spanner column names are case-sensitive. We've historically been overriding the columnMetadata() and duplicateColumnNames() TCK test methods to reflect that case sensitivity is expected.
However, this implementation technically violates the R2DBC Row and RowMetadata specs that say:
Column names are case insensitive. When a get method contains several columns with same name, then the value of the first
matching column will be returned
* @return the {@link ColumnMetadata} for one column in this row
Consider whether for V2, we should revert to R2DBC spec definition of case-insensitive column names.
The text was updated successfully, but these errors were encountered:
Remove TCK test overrides that were necessary due to DML syntax requiring column list in Spanner.
R2DBC SPI 0.8.3 containing the TCK changes was released. I also upgraded Reactor to the same version that's in SPI.
There are still two reasons for overrides:
1) Spanner returning `Long` even when `Integer` is requested -- work tracked in #276.
2) the driver breaking R2DBC spec by treating columns as case insensitive -- decision pending on #271.
Spring Data dialect updates:
* Many supporting classes moved from Spring Data into Spring Framework.
* Spring Boot integration is no longer in experimental; it's part of mainstream Boot autoconfiguration.
* The need for `SpannerBindMarkerFactoryProvider` is a bit redundant since the same information can be derived from dialect, which is already getting autodiscovered. But it's documented [here](https://docs.spring.io/spring-framework/docs/current/reference/html/data-access.html#r2dbc-DatabaseClient).
Updated sample:
* Explicitly specifying `@Column` is needed because v1 is case-sensitive. We have fixed it to comply with case-insensitive spec for v2 in #271 , so this should become unnecessary when we migrate to v2.
Necessary but not sufficient step towards #314.
Cloud Spanner column names are case-sensitive. We've historically been overriding the
columnMetadata()
andduplicateColumnNames()
TCK test methods to reflect that case sensitivity is expected.However, this implementation technically violates the R2DBC
Row
andRowMetadata
specs that say:Consider whether for V2, we should revert to R2DBC spec definition of case-insensitive column names.
The text was updated successfully, but these errors were encountered: