PolarDB-X中程序使用polar2.0偶尔会报错?这个该如何解决?没有,SELECT[阿里云PolarDB]

PolarDB-X中程序使用polar2.0偶尔会报错### Cause: java.sql.SQLException: [164761fe77811000][10.244.173.16:3306][xio_mes]ERR-CODE: [PXC-4601][ERR_EXECUTOR] ERR-CODE: [PXC-4614][ERR_EXECUTE_ON_MYSQL] Error occurs when execute on GROUP ‘XIO_MES_P00000_GROUP’ ATOM ‘dskey_xio_mes_p00000_group#polardb-x-nxfw-dn-0#10.108.116.15-3306#xio_mes_p00000’: The definition of the table required by the flashback query has changed 这个该如何解决?没有,SELECT a.id, a.startTime, a.shiftId, b.NAME AS shiftName, date_format( a.workDate, ‘%Y-%m-%d’ ) AS workday, CASE

	WHEN EXISTS (
	SELECT
		* 
	FROM
		staff_schedule t 
	WHERE
		t.hasSummary = 0 
		AND t.userId = '01244830432421654692' 
		AND timestampdiff( DAY, date_sub( a.startTime, INTERVAL - 1 DAY ), t.workDate ) = 0 
		AND timestampdiff( MINUTE, date_sub( a.startTime, INTERVAL - 1 DAY ), t.startTime ) <= 0 
		) THEN
		(
		SELECT
			t.startTime 
		FROM
			staff_schedule t 
		WHERE
			t.hasSummary = 0 
			AND t.userId = '01244830432421654692'
			AND timestampdiff( DAY, date_sub( a.startTime, INTERVAL - 1 DAY ), t.workDate ) = 0 
			AND timestampdiff( MINUTE, date_sub( a.startTime, INTERVAL - 1 DAY ), t.startTime ) = 1440一到整点就会报错The definition of the table required by the flashback query has changed 该怎么解决,资源应该都是够的,能把这个语句包在事务里跑吗,显式 begin -> sql -> rollback 这样跑试试看

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
=====这是一个广告位,招租中,联系qq 78315851====