Skip to content

PartiQl for the go sdk #2568

Closed as not planned
Closed as not planned
@hubo123

Description

Acknowledgements

Describe the bug

Hi team,

I used PartiQL to select data with golang sdk, and I used contains function

such as "SELECT product_id FROM traffic_logger WHERE uuid='94b0eff8-b8fb-443d-a567-c57a65730277' AND contains(product_id, '1') ". The product_id field type is string.

If product_id field value is "0", we shouldn't return the result, but the go sdk still return it. Can you help me to check it?

Thanks.

Expected Behavior

If the product_id field value is "0", we shouldn't return it.

Current Behavior

We return the result If the field value is "0" and using contains(product_id, '1') where condition to select,

Reproduction Steps

Use this SQl
SELECT product_id FROM traffic_logger WHERE uuid='94b0eff8-b8fb-443d-a567-c57a65730277' AND contains(product_id, '1')

Possible Solution

No response

Additional Information/Context

No response

AWS Go SDK V2 Module Versions Used

Use go sdk v2

Compiler and Version used

v2

Operating System and version

windows

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions