From 08af8f7df6d140b672f7278cb9ac262c39db0e39 Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Fri, 3 Mar 2023 19:41:18 -0500 Subject: [PATCH] test types for TestSparkConstraintsColumnsEqualPyodbc --- tests/functional/adapter/test_constraints.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/functional/adapter/test_constraints.py b/tests/functional/adapter/test_constraints.py index 6ba9c09b2..e85c9ef15 100644 --- a/tests/functional/adapter/test_constraints.py +++ b/tests/functional/adapter/test_constraints.py @@ -59,10 +59,11 @@ def data_types(self, int_type, schema_int_type, string_type): # ['1', schema_int_type, int_type], ['"1"', "string", string_type], ["true", "boolean", "BOOL"], - # ['array("1","2","3")', "array", "LIST"], - # ['array(1,2,3)', "array", "LIST"], - ["cast('2019-01-01' as date)", "date", "DATETIME"], - ["cast('2019-01-01' as timestamp)", "timestamp", "DATETIME"], + ['array("1","2","3")', "string", string_type], + ['array(1,2,3)', "string", string_type], + ["cast('2019-01-01' as date)", "date", "DATE"], + # ["cast('2019-01-01' as timestamp)", "string", string_type], + # ["cast(1.0 AS DECIMAL(4, 2))", "string", string_type], ]