According with Known Limitations of NDB Cluster
**
Column width. Attempting to create an index on an NDB table column whose width is greater than 3072 bytes succeeds, but only the first 3072 bytes are actually used for the index. In such cases, a warning Specified key was too long; max key length is 3072 bytes is issued, and a SHOW CREATE TABLE statement shows the length of the index as 3072.
**
So I'm expecting a warning when I try to create a table with a key on a varchar(2000) column,
but I get an error
ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes
and table is not definetively created
Is there any workaround for that ?
**
Column width. Attempting to create an index on an NDB table column whose width is greater than 3072 bytes succeeds, but only the first 3072 bytes are actually used for the index. In such cases, a warning Specified key was too long; max key length is 3072 bytes is issued, and a SHOW CREATE TABLE statement shows the length of the index as 3072.
**
So I'm expecting a warning when I try to create a table with a key on a varchar(2000) column,
but I get an error
ERROR 1071 (42000): Specified key was too long; max key length is 3072 bytes
and table is not definetively created
Is there any workaround for that ?