Skip to content

[Bug] [version:2.0.7]使用C++ API时,如果SQL语句中第一个列类型是boolen类型则无法正确获取值,值为NULL #17397

@zhouzhiwei1992

Description

@zhouzhiwei1992

Search before asking

  • I searched in the 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions