From 09eb09f535cd66f136c0031774c159e19106850e Mon Sep 17 00:00:00 2001 From: Zuul Date: Wed, 24 Apr 2019 17:05:04 +0000 Subject: [PATCH] Update git submodules * Update monasca-transform from branch 'master' - Merge "Fix Swift Rate Calculation" - OpenDev Migration Patch This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have. - Fix Swift Rate Calculation * To find the oldest and newest quantities for calculating rate, Spark Data Frame is converted to a Spark RDD, which makes it easy to do a group by and sort. The syntax to pull the value from a map column type in an RDD is rdd.map_column['key'] which is different from dataframe.map_column.key which was causing 'dict' object has no attribute exception * Renamed first_attempt_at_spark_test.py to test_first_attempt_at_spark, because all the tests in that file were not being run. * Changed the pre transform and transform specs which were being used by test_first_attempt_at_spark to newer 'dimensions#field_name that was introduced in rocky release. Story: 2005449 Task: 30501 Change-Id: I6adeee54fe261c535372b8f5f3580e7d3261259b --- monasca-transform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monasca-transform b/monasca-transform index c3e87aea34..2f2972e8a4 160000 --- a/monasca-transform +++ b/monasca-transform @@ -1 +1 @@ -Subproject commit c3e87aea34f1f9d5bda489a823b2127a5350331e +Subproject commit 2f2972e8a43c20aacbca8b740231123160095d45