tispark某个库里任何操作都报java.lang.IllegalArgumentException: Multiple entries with same key:

看上去这个表使用了 TiSpark 不支持的特性

Supports and Limitations

TiSpark (>= 2.4.2) supports writing data to clustered index tables, which is a new feature in TiDB-5.0.0.

TiSpark does not support writing to the following tables:

  • tables with auto random column
  • partition table
  • tables with generated column

https://github.com/pingcap/tispark/blob/master/docs/datasource_api_userguide.md#supports-and-limitations