Skip to content

Commit

Permalink
Simplify null feature
Browse files Browse the repository at this point in the history
  • Loading branch information
acevedosharp committed Dec 2, 2024
1 parent 1f7cb20 commit 3e65b56
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions go/internal/feast/onlinestore/cassandraonlinestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,6 @@ func (c *CassandraOnlineStore) OnlineRead(ctx context.Context, entityKeys []*typ
Val: deserializedValue.Val,
},
}
} else {
// Return FeatureData with a null value
rowFeatures[featureName] = FeatureData{
Reference: serving.FeatureReferenceV2{
FeatureViewName: featureViewName,
FeatureName: featureName,
},
Value: types.Value{
Val: &types.Value_NullVal{
NullVal: types.Null_NULL,
},
},
}
}
}

Expand Down

0 comments on commit 3e65b56

Please sign in to comment.