Skip to content

Commit 2e52a99

Browse files
committed
small test fix
1 parent e4eaa45 commit 2e52a99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/hsfs/feature_group.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2332,14 +2332,14 @@ def __init__(
23322332
self.partition_key = partition_key
23332333
if (
23342334
time_travel_format is not None
2335-
and time_travel_format.upper() == "HUDI"
2335+
and time_travel_format.upper() == "HUDI" or time_travel_format is None
23362336
and self._features
23372337
):
23382338
self._hudi_precombine_key = (
23392339
util.autofix_feature_name(hudi_precombine_key)
23402340
if hudi_precombine_key is not None
23412341
and self._time_travel_format is not None
2342-
and self._time_travel_format == "HUDI"
2342+
and self._time_travel_format == "HUDI" or time_travel_format is None
23432343
else None
23442344
)
23452345
else:

0 commit comments

Comments
 (0)