From 7ba0b9c477523de859efcd525e47ac6e62bc1eac Mon Sep 17 00:00:00 2001 From: Argenis Leon Date: Wed, 6 Nov 2019 01:55:10 -0600 Subject: [PATCH] Fix cast when using colums param --- optimus/dataframe/columns.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/optimus/dataframe/columns.py b/optimus/dataframe/columns.py index 10b0e948..8853952f 100644 --- a/optimus/dataframe/columns.py +++ b/optimus/dataframe/columns.py @@ -337,9 +337,6 @@ def cast(input_cols=None, dtype=None, output_cols=None, columns=None): :return: Spark DataFrame """ - if dtype is None: - RaiseIt.value_error(dtype, "datatype") - _dtype = [] # Parse params if columns is None: