Skip to content

Issue accessing column by index of ResultSet  #57

@yevsh

Description

@yevsh

Hi,

I am not sure if this project is maintained, if yes, I think there is an issue with how the 'field' or 'column'

is retrieved by column index. e.g. getField(int columnNumber) in CBResultSet

field names are taken from signature json object from the result retrieved from the REST request to the sever.

The problem is. that fields of signature are not in the order of fields in query, the outcome you are getting wrong field for index.

For example, if query is
Select X,N,A from bucket;

signature will be:

{
“A”:“json”,
“N”:“json”,
“X”:“json”
}

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