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

Fix exception when retrieving mixed data types #111

Merged

Conversation

peterkioko
Copy link
Contributor

If the first row of a column returned from Exasol was a decimal type then the adapter would expect all subsequent rows to be decimal and if one of them happened to be NULL it would throw an exception:

"conversion from NoneType to Decimal is not supported"

This commit fixes that.

If the first row of a column returned from Exasol was a decimal type
then the adapter would expect all subsequent rows to be decimal and if
one of them happened to be NULL it would throw an exception:

"conversion from NoneType to Decimal is not supported"

This commit fixes that.
@tglunde tglunde self-requested a review November 14, 2023 11:59
@tglunde
Copy link
Owner

tglunde commented Nov 14, 2023

Hi @peterkioko ,

thanks a lot for the effort, highly appreciated. I will take a look today and hopefully merge by tomorrow.

Regards, Torsten

Copy link
Owner

@tglunde tglunde left a comment

Choose a reason for hiding this comment

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

changes reviewed and test runs green.

@tglunde tglunde merged commit dea72ea into tglunde:master Nov 14, 2023
tglunde pushed a commit that referenced this pull request Nov 14, 2023
If the first row of a column returned from Exasol was a decimal type
then the adapter would expect all subsequent rows to be decimal and if
one of them happened to be NULL it would throw an exception:

"conversion from NoneType to Decimal is not supported"

This commit fixes that.

Co-authored-by: Peter Kioko <kioko@grantstreet.com>
tglunde pushed a commit that referenced this pull request Nov 15, 2023
If the first row of a column returned from Exasol was a decimal type
then the adapter would expect all subsequent rows to be decimal and if
one of them happened to be NULL it would throw an exception:

"conversion from NoneType to Decimal is not supported"

This commit fixes that.

Co-authored-by: Peter Kioko <kioko@grantstreet.com>
@tglunde
Copy link
Owner

tglunde commented Nov 15, 2023

hi @peterkioko , bugfix releases for 1.4.6, 1.5.2 and 1.6.1 are published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants