以下代码执行后,返回插入的行数为0,请问哪里有问题?
tmp = table('device_demo' as device_id,2022.02.23 11:02:01 as data_time,23.1 as temperature,0.05 as pressure);
t = loadTable('dfs://rangedb','device_db')
tableInsert(t,tmp);
range范围分区的表,插入范围外的数据会直接忽略。可以用addRangePartitions 补充所需的范围。