CritasWang
CritasWang
I tried and the pom update in the current document is still valid. At present, it only supports the production of corresponding RPC calling code, and there is no packaged...
The new version of tsfile is currently not supported. You can use the relevant scripts in the tools/tsfile directory of the iotdb project to view the tsfile file
用于指定类型推断规则,如。 说明:用于指定类型推断规则. srcTsDataType 包括 boolean,int,long,float,double,NaN. dstTsDataType 包括 boolean,int,long,float,double,text. 当srcTsDataType为boolean, dstTsDataType只能为boolean或text. 当srcTsDataType为NaN, dstTsDataType只能为float, double或text. 当srcTsDataType为数值类型, dstTsDataType的精度需要高于srcTsDataType. 例如:-typeInfer boolean=text,float=double 意思是将推测的类型转为其他类型,比如 数据值是 true ,推断是 boolean,但是想写入 Text,那就可以通过这个参数进行转换
可以先手动改一下 csv 的表头,将 in_time 写成 in_time(INT64),即可成功导入(提前手动创建 timeseries 并设置为 timestamp 类型)。
Suggest using 1.3.2
The time here is a whole, and this operation is temporarily not supported
SELECT c2, c0, c3 FROM root.min.t1 WHERE ((111.0 = c3) & ((time BETWEEN 1641088367591 AND 1696815489424) | (time IN (1659164962649)))) AND (time BETWEEN 1641024265420 AND 1641024393069) OR FALSE; The OR...
时间条件可以转成 时间戳格式,来避免时区不同造成问题。 另外可以直接使用 cli 查询看下具体的结果再对比 程序中的
> 第一个问题可能是时区问题,具体现象:查询不是每次都出现,而是运行一段时间后,偶发出现。查看当时iotdb服务器的资源状况,发现运行内存不足,服务器是4核8g,此时内存占用几乎是100%。 第二个问题是,返回的数据时间比sql条件时间早1毫秒,可能时间精度存在问题。比如查询条件是time>2025-09-25 17:33:10.555,实际上查询出的数据time是2025-09-25 17:33:10.554,同样也是偶发。 cli查询没发现以上问题,推测可能是C#的iotdb库有问题?测试环境是.net8+windows11,vs2022 可以贴出来有问题的结果和语句来看下,把原始的时间戳和 格式化后的都加到日志中,输出出来。这样也能方便确认具体问题