-
Notifications
You must be signed in to change notification settings - Fork 102
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
a possible stopgap solution to issue #531 #532
Conversation
Thank you, that's a good improvement, could you add a test for the case of a value error? |
I added some unit tests and also another use case I encountered with a similar issue. |
tests/pyathena/pandas/test_util.py
Outdated
compression="snappy", | ||
partitions=["partition_key"], | ||
) | ||
assert str(exc_info.value) == "Partition key: `partition_key` contains None values, no data will be written to the table." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a new line at the end of the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
The test you added looks good. Thank you.
|
Co-authored-by: laughingman7743 <laughingman7743@gmail.com>
when I run |
For more information on running the test, please check the following |
|
Hopefully this is a decent stopgap measure to the issue I raised.