Lei

Results 7 issues of Lei

Now the IoTDB [website](https://iotdb.apache.org/UserGuide/Master/QuickStart/QuickStart.html) has the left sidebar to guide through different markdown files, but lacks the right sidebar to guide through the different sections in a single markdown file....

happened to write a tsfile twice and couldn't read it consequently

bug

**Describe the bug** Correct usage but wrong annotation of BytesUtil.getByteN. ``` /** * get one bit in input byte. the offset is from low to high and start with 0...

描述:使用一个533M大小的mlog文件启动IoTDB server,client查询输入sql查询`show timeseries root`, 等待若干分钟之后,server抛出异常如下: ``` WARN org.apache.thrift.transport.TIOStreamTransport:112 - Error closing output stream. java.net.SocketException: Socket closed at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:118) ~[na:1.8.0_161] at java.net.SocketOutputStream.write(SocketOutputStream.java:155) ~[na:1.8.0_161] at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.8.0_161] at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.8.0_161] at java.io.FilterOutputStream.close(FilterOutputStream.java:158)...

已知iotdb的`TSServiceImpl`类`fetchMetadata`函数中**COLUMN**分支的作用是返回一条路径的数据类型查询结果,特别地,给定一条聚合路径会触发PathErrorException,而此处对于PathErrorException目前只 catch 不处理。 考虑jdbc 的 `resultSet = new TsfileQueryResultSet(this, execResp.getColumns(), client, sessionHandle, operationHandle, sql, execResp.getOperationType(), getColumnsType(execResp.getColumns()))`,当sql是聚合查询语句时, `execResp.getColumns()`得到的是聚合路径(例如"max(root.ln.wf01.wt01)"),`getColumnsType(execResp.getColumns()))`就会执行对该聚合路径的数据类型查询请求,这也是上述对于这种PathErrorException不抛出异常的部分原因。 综上所述,现状是既存在对聚合路径的数据类型查询请求,但是却没有对应的实现,对于聚合路径抛出的异常沉默处理。 改进上述问题的可能的两个方向:1)聚合查询语句的`execResp.getColumns()`得到干净的非聚合路径,或者2)`fetchMetadata`函数的**COLUMN**分支扩展实现对聚合路径的数据类型查询。

Hi, I run into the problem that the MinMaxDownsampler seems to miss the global maxima with the following test code: ```python import matplotlib.pyplot as plt import numpy as np import...

bug