Skip to content

Commit

Permalink
fix: Added missing job tag key in hive_sample_dag.py (#308)
Browse files Browse the repository at this point in the history
* Added missing job tag key in hive_sample_dag.py

Running "create_table_metadata_databuilder_job()" was giving an Exception : 
""ConfigMissingException" : No Configuration setting found for key job_publish_tag."
Hence,
Adding a missing key for job_publish_tag in "create_table_metadata_databuilder_job()" of hive_sample_dag.py.

* Made changes as per guidelines

Made changes to the code as per guidelines

* Updated the file for failing build

Updated the file for failing build
  • Loading branch information
saiharish97 committed Jul 28, 2020
1 parent faa795c commit d6714b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/dags/hive_sample_dag.py
Expand Up @@ -163,6 +163,8 @@ def create_table_metadata_databuilder_job():
neo4j_password,
'publisher.neo4j.{}'.format(neo4j_csv_publisher.NEO4J_CREATE_ONLY_NODES):
[DESCRIPTION_NODE_LABEL],
'publisher.neo4j.job_publish_tag':
'some_unique_tag' # TO-DO unique tag must be added
})

job = DefaultJob(conf=job_config,
Expand Down

0 comments on commit d6714b7

Please sign in to comment.