Skip to content

Commit

Permalink
fix: log microseconds during materialization
Browse files Browse the repository at this point in the history
  • Loading branch information
zabarn committed Nov 1, 2024
1 parent c3507e3 commit 15bfc6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ def materialize_incremental(
f" to {Style.BRIGHT + Fore.GREEN}{end_date.replace(microsecond=0).astimezone()}{Style.RESET_ALL}:"
)
logger.info(
f"{feature_view.name} from {start_date.replace(microsecond=0).astimezone()} to {end_date.replace(microsecond=0).astimezone()}:"
f"{feature_view.name} from {start_date.astimezone()} to {end_date.astimezone()}:"
)

def tqdm_builder(length):
Expand Down Expand Up @@ -1367,7 +1367,7 @@ def materialize(
provider = self._get_provider()
print(f"{Style.BRIGHT + Fore.GREEN}{feature_view.name}{Style.RESET_ALL}:")
logger.info(
f"{feature_view.name} from {start_date.replace(microsecond=0).astimezone()} to {end_date.replace(microsecond=0).astimezone()}:"
f"{feature_view.name} from {start_date.astimezone()} to {end_date.astimezone()}:"
)

def tqdm_builder(length):
Expand Down

0 comments on commit 15bfc6c

Please sign in to comment.