Skip to content

Commit

Permalink
fix Readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davitbzh committed Nov 5, 2020
1 parent 88314d8 commit 68f0927
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ Upsert new data in to the feature group with `time_travel_format="HUDI"`".
fg.insert(upsert_df, operation)
```

Retrieve commit timeline metdata of the feature group with `time_travel_format="HUDI"`".
```python
fg.commit_details()
```

"Reading feature group as of specific point in time".
```python
fg = fs.get_feature_group("rain", 1)
Expand Down
4 changes: 4 additions & 0 deletions python/hsfs/feature_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ def commit_details(self, limit: Optional[int] = None):
# Arguments
limit: Number of commits to retrieve. Defaults to `None`.
# Returns
`Dict[str, Dict[str, str]]`. Dictionary object of commit metadata timeline, where Key is commit id and value
is `Dict[str, str]` with key value pairs of date committed on, number of rows updated, inserted and deleted.
# Raises
`RestAPIError`.
"""
Expand Down

0 comments on commit 68f0927

Please sign in to comment.