-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[luigi.contrib.hive] HiveTableTarget inherits HivePartitionTarget #2872
[luigi.contrib.hive] HiveTableTarget inherits HivePartitionTarget #2872
Conversation
@@ -469,34 +469,6 @@ def run_job(self, job, tracking_url_callback=None): | |||
return luigi.contrib.hadoop.run_and_track_hadoop_job(arglist, job.set_tracking_url) | |||
|
|||
|
|||
class HiveTableTarget(luigi.Target): |
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.
I moved this class declaration down to make new parent visible to it
afffb5c
to
702a4e7
Compare
@honnix |
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.
i think this makes sense to me. i've never been a hive luigi user, but the surface looks fine to me. while it was mostly copy/paste, could you improve the note left below?
@drowoseque Sorry for being late. I saw this PR has been approved. Anything else you need from me apart from merging it? |
@honnix |
Yeah one is usually enough. I will take a look just to get informed and then merge it. Thanks for the PR. |
Description
luigi.contrib.hive.HiveTableTarget
inheritsHivePartitionTarget
Motivation and Context
HiveTableTarget
is a particular case ofHivePartitionTarget
with no partitionHiveTableTarget
are copy-pasted fromHivePartitionTarget
Have you tested this? If so, how?
Unit-tests are updated