Skip to content

Commit 531a74c

Browse files
fengxiaochuanntkathole
authored andcommitted
Remove whitespace from blank line
Signed-off-by: fengxiaochuan <fengxiaochuan@corp.netease.com>
1 parent 7a1e8b8 commit 531a74c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType:
2424
}
2525
_trino_type_as_str: str = trino_type_as_str
2626
trino_type_as_str = trino_type_as_str.lower()
27-
27+
2828
if trino_type_as_str.startswith("decimal"):
2929
search_precision = re.search(
3030
r"^decimal\((\d+)(?>,\s?\d+)?\)$", trino_type_as_str
@@ -41,7 +41,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType:
4141

4242
elif trino_type_as_str.startswith("varchar"):
4343
trino_type_as_str = "varchar"
44-
44+
4545
if trino_type_as_str not in type_map:
4646
raise ValueError(f"Trino type not supported by feast {_trino_type_as_str}")
4747
return type_map[trino_type_as_str]

0 commit comments

Comments
 (0)