Ottomata has submitted this change and it was merged.

Change subject: Adding output if there are no suitable tables found
......................................................................


Adding output if there are no suitable tables found

Change-Id: Ib83d5704ae7d1e972bb964264445c06f56a73212
---
M kraken-etl/hive-partitioner
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/kraken-etl/hive-partitioner b/kraken-etl/hive-partitioner
index d655fa3..1219ea8 100755
--- a/kraken-etl/hive-partitioner
+++ b/kraken-etl/hive-partitioner
@@ -73,3 +73,5 @@
             else:
                 logging.info("Adding %d partitions to table %s." % 
(len(missing_hive), table))
                 hive.create_partitions(table, missing_hive)
+        else:
+            logger.warning('Table {0} does not exist, skipping.'.format(table))
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/102568
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib83d5704ae7d1e972bb964264445c06f56a73212
Gerrit-PatchSet: 1
Gerrit-Project: analytics/kraken
Gerrit-Branch: master
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to