Closed 3AceShowHand closed 3 months ago
@3AceShowHand this isn't a hidden column, but a generated column, right?
I have created #802 for hidden columns
Looks like you reported this for v7.0.0-1-g640ac78, but I can't reproduce this anymore on v8.1.0-1-g17af326
I can reproduce this on v7.0.0, so this was fixed somewhere after that release.
Bug Report
Please answer these questions before submitting your issue. Thanks!
CREATE TABLE
t
(pk
bigint(20) NOT NULL AUTO_INCREMENT,j
json DEFAULT NULL,i
int(11) DEFAULT NULL,c
char(64) DEFAULT NULL, PRIMARY KEY (pk
) /T![clustered_index] CLUSTERED / ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin AUTO_INCREMENT=30001;alter table t add index j((cast(j->'$.number[*]' as signed array)));
[FATAL] [main.go:120] ["failed to initialize diff process"] [error="get table test.t's information error line 7 column 56 near \"'$.number[*]') as signed array)))\n) ENGINE=InnoDB AUTO_INCREMENT=30001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin\"