spansql: AlterColumn produces invalid SQL when there is an AllowCommitTimestamp OPTION #2621
Labels
api: spanner
Issues related to the Spanner API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Code
Expected behavior
AlterColumn
should only alter the column type:To support setting options, there should probably be a separate type (maybe something like
AlterOptions
) that produces:Actual behavior
The resulting statement is invalid and rejected by spanner:
The text was updated successfully, but these errors were encountered: