Skip to content

Commit

Permalink
Fix Python 3 TypeError in contrib.hive.HiveTableTarget.exists()
Browse files Browse the repository at this point in the history
Closes #1012
  • Loading branch information
Ben Sully committed Jan 4, 2018
1 parent da12e03 commit 4a7a757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luigi/contrib/hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def run_hive(args, check_return_code=True):
if check_return_code and p.returncode != 0:
raise HiveCommandError("Hive command: {0} failed with error code: {1}".format(" ".join(cmd), p.returncode),
stdout, stderr)
return stdout
return str(stdout)


def run_hive_cmd(hivecmd, check_return_code=True):
Expand Down

0 comments on commit 4a7a757

Please sign in to comment.