Skip to content

Commit d5773e7

Browse files
clean code
1 parent baebcd3 commit d5773e7

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.
@@ -1548,7 +1546,6 @@ def _infer_schema_for_file_format(
15481546
):
15491547
identifier = expression
15501548
elif format == "PARQUET" and use_structured_type_infer_schema:
1551-
15521549
if use_relaxed_types:
15531550
identifier = f"$1:{name}::{convert_sp_to_sf_type(datatype)}"
15541551
else:

0 commit comments

Comments
 (0)