From ce8a7b1a25a5da17548886c0183e189598ee0bee Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Fri, 3 Mar 2023 19:35:15 -0500 Subject: [PATCH] test datetime types for TestSparkConstraintsColumnsEqualPyodbc --- tests/functional/adapter/test_constraints.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/functional/adapter/test_constraints.py b/tests/functional/adapter/test_constraints.py index c3bc167da..6ba9c09b2 100644 --- a/tests/functional/adapter/test_constraints.py +++ b/tests/functional/adapter/test_constraints.py @@ -59,8 +59,10 @@ 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"], + # ['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"], ]