Description
Test cases is incorrect because it always run success no matter whether the SQL thrown exception,
if the sql run success, then assert(false), and then catch exception and assert(true), so it always true.
Test cases is incorrect,like:
test("test timeseries create table seven") { try { sql( "create datamap agg0 on table mainTable using 'preaggregate' DMPROPERTIES ('timeseries.eventTime'='dataTime', 'timeseries.hierarchy'='hour=1,day=1,year=1,month=1') as select dataTime, sum(age) from mainTable group by dataTime") assert(false) } catch { case _:Exception => assert(true) } }
It will always run success.
SDV have many similar test case, we need to fix it!