Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vdk-trino: fix ingesting value with bool type failing #753

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

antoniivanov
Copy link
Collaborator

vdk-trino ingestion was failing if send_object_for_ingestion is passed
value with type bool (as it was trying to cast it as if it's stirng.
Error was

"We could not convert the value to that type. Error is bool cast accept
only True/true/False/false values."

Testing Done: unit tests covered the new case

Signed-off-by: Antoni Ivanov aivanov@vmware.com

Copy link
Contributor

@YanaZhivkova YanaZhivkova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

vdk-trino ingestion was failing if `send_object_for_ingestion` is passed
value with type bool (as it was trying to cast it as if it's stirng.
Error was

"We could not convert the value to that type. Error is bool cast accept
only True/true/False/false values."

Testing Done: unit tests covered the new case

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
@antoniivanov antoniivanov force-pushed the person/aivanov/vdk-trino-types branch from d796ee0 to 91a14dc Compare March 8, 2022 13:30
@antoniivanov antoniivanov enabled auto-merge (squash) March 8, 2022 13:30
@antoniivanov antoniivanov merged commit bc5d720 into main Mar 8, 2022
@antoniivanov antoniivanov deleted the person/aivanov/vdk-trino-types branch March 8, 2022 13:38
antoniivanov added a commit that referenced this pull request Mar 16, 2022
vdk-trino ingestion was failing if `send_object_for_ingestion` is passed
value with type bool (as it was trying to cast it as if it's stirng.
Error was

"We could not convert the value to that type. Error is bool cast accept
only True/true/False/false values."

Testing Done: unit tests covered the new case

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants