zhbdesign commented on issue #27084:
URL: https://github.com/apache/doris/issues/27084#issuecomment-1813823705

   日志里发现一条关于统计信息一直执行的sql,SELECT CONCAT(10061,
   '-',
   -1,
   '-',
   'key') AS `id`,
   0 AS`catalog_id`,
   10059 AS`db_id`,
   10061 AS`tbl_id`,
   -1 AS`idx_id`,
   'key' AS `col_id`,
   NULL AS`part_id`,
   COUNT(1) AS `row_count`,
   NDV(`key`) AS `ndv`,
   COUNT(1)-COUNT(`key`) AS `null_count`,
   CAST(MIN(key)ASSTRING) AS `min`,
   CAST(MAX(key)ASSTRING) AS `max`,
   SUM(LENGTH(`key`)) AS `data_size`,
   NOW() AS `update_time`
   FROM tablename;
   key没有加反引号,导致无法执行


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to