Skip to content

column type is Array(Nullable(Int64)) But Null becomes 0 in the result returned #924

Closed
@liumaojing

Description

@liumaojing

resultSet:
[3553669559,3571293165,3851086538,3090702645,3407263362]
[3874870412,3451171182,3922428704,3228944982,3590715072]
[NULL,3989698365,3521029982,NULL,NULL]
[NULL]
[3411652369,3144762202,3230150923,3581921969,3306736155]

getArray:
{0,3989698365,3521029982,0,0}

my code:
while (resultSet.next()) {
Array array = resultSet.getArray(1);
Object array1 = array.getArray();
}

version 0.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions