Skip to content

Commit

Permalink
[fix]: set maxVersion for tablestore offlineTable fetchFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
Yifshao committed Aug 8, 2024
1 parent 90dfade commit c734aca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dao/feature_view_tablestore_dao.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func (d *FeatureViewTableStoreDao) GetUserSequenceFeature(keys []interface{}, us
} else {
rangeRowQueryCriteria.ColumnsToGet = []string{sequenceConfig.ItemIdField, sequenceConfig.EventField, sequenceConfig.PlayTimeField, sequenceConfig.TimestampField}
}
rangeRowQueryCriteria.MaxVersion = 1

getRangeRequest.RangeRowQueryCriteria = rangeRowQueryCriteria
getRangeResp, err := d.tablestoreClient.GetRange(getRangeRequest)
Expand Down

0 comments on commit c734aca

Please sign in to comment.