Skip to content

Commit 8230e3c

Browse files
clean code
1 parent 4c75b02 commit 8230e3c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/snowflake/snowpark/dataframe_reader.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,6 @@
129129
"fixed": LongType,
130130
}
131131

132-
_NOT_NULL_RE = re.compile(r"\s+NOT\s+NULL", re.IGNORECASE)
133-
134132

135133
def _extract_paren_content(type_str: str) -> Optional[Tuple[str, str]]:
136134
"""Extract the base keyword and content inside matching parentheses.
@@ -1537,7 +1535,6 @@ def _infer_schema_for_file_format(
15371535
):
15381536
identifier = expression
15391537
elif format == "PARQUET" and use_structured_type_infer_schema:
1540-
15411538
if use_relaxed_types:
15421539
identifier = f"$1:{name}::{convert_sp_to_sf_type(datatype)}"
15431540
else:

0 commit comments

Comments
 (0)