Skip to content

Commit

Permalink
python checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Verma authored and Akash Verma committed Jan 10, 2025
1 parent f7480e1 commit 30c3a2e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _parse_datatype_string( # pylint: disable=too-many-return-statements
data_type = data_type.lower().strip()
data_type = data_type.replace(" ", "")
if data_type.startswith("array"):
# Set arrayDataType to UNKNOWN for Snowflake table array columns
# Set arrayDataType to UNKNOWN for Snowflake table array columns
# to prevent validation error requiring non-null arrayDataType
if data_type == "array":
data_type_string = {
Expand Down Expand Up @@ -394,7 +394,6 @@ def _parse_datatype_string( # pylint: disable=too-many-return-statements
return ColumnTypeParser._parse_struct_fields_string(data_type[7:-1])
if ":" in data_type:
return ColumnTypeParser._parse_struct_fields_string(data_type)


return ColumnTypeParser._parse_primitive_datatype_string(data_type)

Expand Down

0 comments on commit 30c3a2e

Please sign in to comment.