【 TiDB 使用环境】生产环境 /测试/
【 TiDB 版本】 tidb v6.5
【复现路径】 sql 查询
SELECT
MAX( d_time ) AS d_time,
MAX( CASE WHEN c_time > ‘2011-01-01 00:00:00’ THEN c_time ELSE NULL END ) AS c_time,
MAX( CASE WHEN b_time > ‘2011-01-01 00:00:00’ THEN b_time ELSE NULL END ) AS b_time,
MAX( CASE WHEN a_time > ‘2011-01-01 00:00:00’ THEN a_time ELSE NULL END ) AS a_time
FROM
tab_a AS t
JOIN tab_b AS o ON t._code = o.code
AND o.p_code = ‘99999990’
AND o.valid = 10
AND o.s_code = 20
WHERE
t.e_time >= ‘2023-03-22 16:57:03.0’
AND t.e_time <= ‘2023-03-22 16:57:03.0’
【遇到的问题:问题现象及影响】
1105 - other error: invalid data type: invalid range,range.start should be smaller than range.end, but got [[116, 128, 0, 0, 0, 0, 0, 20, 125, 95, 105, 128, 0, 0, 0, 0, 0, 0, 21, 1, 55, 53, 53, 55, 48, 48, 52, 55, 255, 57, 0, 0, 0, 0, 0, 0, 0, 248, 4, 25, 175, 173, 14, 67, 0, 0, 0],[116, 128, 0, 0, 0, 0, 0, 20, 125, 95, 105, 128, 0, 0, 0, 0, 0, 0, 21, 1, 55, 53, 53, 55, 48, 48, 52, 55, 255, 57, 0, 0, 0, 0, 0, 0, 0, 248, 4, 25, 175, 172, 142, 67, 0, 0, 1])
时间: 0.147s
【资源配置】
【附件:截图/日志/监控】