Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove whitespace from blank line
Signed-off-by: fengxiaochuan <fengxiaochuan@corp.netease.com>
  • Loading branch information
fengxiaochuan authored and ntkathole committed Oct 26, 2025
commit 531a74cb69650d344596fd5cc350ac250e3f86a5
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType:
}
_trino_type_as_str: str = trino_type_as_str
trino_type_as_str = trino_type_as_str.lower()

if trino_type_as_str.startswith("decimal"):
search_precision = re.search(
Comment thread
shuchu marked this conversation as resolved.
r"^decimal\((\d+)(?>,\s?\d+)?\)$", trino_type_as_str
Expand All @@ -41,7 +41,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType:

elif trino_type_as_str.startswith("varchar"):
trino_type_as_str = "varchar"

if trino_type_as_str not in type_map:
raise ValueError(f"Trino type not supported by feast {_trino_type_as_str}")
return type_map[trino_type_as_str]
Expand Down
Loading