Skip to content

Commit 0ce051f

Browse files
author
zhilingc
committed
Remove entity_timestamp from retrieved entity names
1 parent bfac935 commit 0ce051f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

serving/src/main/java/feast/serving/service/BigQueryServingService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ public GetBatchFeaturesResponse getBatchFeatures(GetBatchFeaturesRequest getFeat
113113

114114
Table entityTable = loadEntities(getFeaturesRequest.getDatasetSource());
115115
Schema entityTableSchema = entityTable.getDefinition().getSchema();
116-
List<String> entityNames = entityTableSchema.getFields().stream().map(Field::getName)
116+
List<String> entityNames = entityTableSchema.getFields().stream()
117+
.map(Field::getName)
118+
.filter(name -> !name.equals("event_timestamp"))
117119
.collect(Collectors.toList());
118120

119121
final String query =

0 commit comments

Comments
 (0)