Skip to content

Commit

Permalink
feat: Add current timestamp logging for batch write initiation in Spa…
Browse files Browse the repository at this point in the history
…rkKafkaProcessor
  • Loading branch information
Bhargav Dodla committed Jan 28, 2025
1 parent cca1df6 commit b4181d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/python/feast/infra/contrib/spark_kafka_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,10 @@ def batch_write(
feature_view,
):
start_time = time.time()
current_datetime_with_ms = datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")[
:-3
]
print(f"{current_datetime_with_ms} Started batch write..")
sdf.mapInPandas(
lambda x: batch_write_pandas_df(
x, spark_serialized_artifacts, join_keys, batch_id
Expand Down

0 comments on commit b4181d7

Please sign in to comment.