From 07fcee92bfcc74aa2929137584ed0112030c7459 Mon Sep 17 00:00:00 2001 From: Stefan Krawczyk Date: Mon, 29 Apr 2024 15:46:47 -0700 Subject: [PATCH] Changes spark example module name To make it more intuitive and less confusing with the name clash with `@with_columns`. --- .../{with_columns.py => column_features.py} | 0 examples/spark/pyspark_feature_catalog/features.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename examples/spark/pyspark_feature_catalog/{with_columns.py => column_features.py} (100%) diff --git a/examples/spark/pyspark_feature_catalog/with_columns.py b/examples/spark/pyspark_feature_catalog/column_features.py similarity index 100% rename from examples/spark/pyspark_feature_catalog/with_columns.py rename to examples/spark/pyspark_feature_catalog/column_features.py diff --git a/examples/spark/pyspark_feature_catalog/features.py b/examples/spark/pyspark_feature_catalog/features.py index d4b14d7c4..670360239 100644 --- a/examples/spark/pyspark_feature_catalog/features.py +++ b/examples/spark/pyspark_feature_catalog/features.py @@ -1,6 +1,6 @@ import pyspark.sql as ps +from column_features import darkshore_flag, durotar_flag from pyspark.sql import functions as sf -from with_columns import darkshore_flag, durotar_flag from hamilton.function_modifiers import schema from hamilton.plugins.h_spark import with_columns