pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/

Home Page:https://pingcap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The error message of `cast(xxx as char array)` is a little misleading

YangKeao opened this issue · comments

Enhancement

The error message is ERROR 1235 (42000): This version of TiDB doesn't yet support 'CAST-ing data to array of char/binary BLOBs'. It's a little misleading, as TIDB does support cast(xxx as char(16) array), but it doesn't support casting without specified length.