[Bug] [version:2.0.7]使用C++ API时,如果SQL语句中第一个列类型是boolen类型则无法正确获取值,值为NULL
- 主要言語
- Java
- スター
- 6.4k
- フォーク
- 1.2k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 115
説明
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
2.0.7
### Describe the bug and provide the minimal reproduce step
使用C++ API时,如果SQL语句中第一个列类型是boolen类型则无法正确获取值,值为NULL
create storage group root.test;
insert into root.test(type_boolen) values(true);
insert into root.test(type_boolen) values(false);
使用C++ API执行以下语句并获取结果
select type_boolen,type_boolen from root.test;
### What did you expect to see?
true,true
false,false
### What did you see instead?
null,true
null,false
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
コントリビューションガイド
調査の方向性
まず、issue にある C++ API クエリを 2 つの boolean 行に対して再現し、次に、選択された最初の列が boolean の場合に結果列がどのようにデコードされるかを追跡します。重複した列の結果を、期待される true,true および false,false の値と比較します。最初の boolean 列が null として返されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- api, databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100