E0927 17:03:49.970158 71538 main.go:56] rpc error: code = Unknown desc = failed to get the sequence information in the customer keyspace: invalid sequence column vindex name defined in sequence table column_vindexes:{name:"hash" columns:"product_id"} auto_increment:{column:"product_id" sequence:"product_seq"}: UnescapeID err: invalid input identifier ''
Binary Version
❯ vtgate --version
vtgate version Version: 21.0.0-SNAPSHOT (Git revision 670192deda9effd3d7181bc6c2d24d32f9eebe8f branch 'main') built on Fri Sep 27 17:00:16 EDT 2024 by matt@pslord.local using go1.23.1 darwin/arm64
Overview of the Issue
You can specify the columns which make up a vindex in two ways within the vschema:
The
MoveTables
target sequence initialization work (added in https://github.com/vitessio/vitess/pull/13656) only supports the legacy way. It needs to be updated to support either.Reproduction Steps
Result:
Binary Version
Operating System and Environment details
Log Fragments
No response