Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cluster_processlist查看info信息

May I ask, if the info information in the execute state is null, how can I check the currently executing SQL?
I tried using:
select tidb_decode_sql_digests(concat('\'["', digest, '"]\')) from information_schema.cluster_processlist limit 1;
But it reported an error:
MySQL> select tidb_decode_sql_digests(concat('\'["', digest, '"]\')) from information_schema.cluster_processlist limit 1;
+---------------------------------------------------------+
| tidb_decode_sql_digests(concat('\'["', digest, '"]\')) |
+---------------------------------------------------------+
| NULL |
+---------------------------------------------------------+
1 row in set, 1 warning (0.003 sec)
MySQL> show warnings;
+---------+------+-----------------------------------------------------------------------------------------+
| Level | Code | Message |
+---------+------+-----------------------------------------------------------------------------------------+
| Warning | 1210 | The argument can't be unmarshalled as JSON array: ''["f1808cf7433c3641b0b4d6bfc44ae...' |
+---------+------+-----------------------------------------------------------------------------------------+