Skip to content

Commit

Permalink
test types for TestSparkConstraintsColumnsEqualPyodbc
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Mar 4, 2023
1 parent ce8a7b1 commit 44317a1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/functional/adapter/test_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>", "LIST"],
# ['array(1,2,3)', "array<int>", "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)", "string", string_type],
["cast('2019-01-01' as timestamp)", "string", string_type],
["cast(1.0 AS DECIMAL(4, 2))", "string", string_type],
]


Expand Down

0 comments on commit 44317a1

Please sign in to comment.