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 Python 3 TypeError in contrib.hive.HiveTableTarget.exists() #2323

Merged
merged 1 commit into from
Jan 16, 2018

Conversation

sd2k
Copy link
Contributor

@sd2k sd2k commented Jan 4, 2018

Description

Stdout is bytes which is fine in Python 2 since the rest of the strings are too, but in Python 3 we need it to be unicode so we can do string comparisons. This fixes a long-standing bug, it seems!

Motivation and Context

See #1012.

Have you tested this? If so, how?

I ran my jobs with this code and it works for me.

@Tarrasch Tarrasch merged commit bd10d39 into spotify:master Jan 16, 2018
@Tarrasch
Copy link
Contributor

Thanks!

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