Databend appears to report DECIMAL metadata (precision/scale) incorrectly over the MySQL wire protocol.
Tested Databend's MySQL-protocol decimal metadata: it reports DECIMAL(10,2) as precision=9, scale=0 instead of the correct values, though the stored schema itself is fine. So Databend's catalog is right, but its MySQL-protocol handler mispopulates the decimals/length fields in the column definition it sends back for query results.
Databend appears to report DECIMAL metadata (precision/scale) incorrectly over the MySQL wire protocol.
Tested Databend's MySQL-protocol decimal metadata: it reports DECIMAL(10,2) as precision=9, scale=0 instead of the correct values, though the stored schema itself is fine. So Databend's catalog is right, but its MySQL-protocol handler mispopulates the decimals/length fields in the column definition it sends back for query results.