I created a stream but the supertable doesn't exist
q742694312 opened this issue · comments
版本号是?
其提供sql语句,我们复现
版本号3.2.2.0
--CREATE DATABASE TcpDataBase KEEP 36500
--
--use TcpDataBase;
CREATE STABLE vibration ( ts TIMESTAMP ,
ax FLOAT,
sx FLOAT,
fx FLOAT,
ay FLOAT,
sy FLOAT,
fy FLOAT,
az FLOAT,
sz FLOAT,
fz FLOAT)
TAGS (code varchar(100));
create stream if not exists vibration_stream fill_history 1 trigger at_once into vibration_stream_stb SUBTABLE(CONCAT(code,'_stream_stb')) as
select _wstart as wstart, _wend as wend, LAST(*) ,code from vibration
where sx >= 5 or sy>=5 or sx<=-5 or sy<=-5 or ax>=180 or ax <=-180 or ay>=180 or ay <=-180 PARTITION BY code INTERVAL(10m)
版本号3.2.2.0