Skip to content

Commit 771bef6

Browse files
tf-metadata-teamtfx-copybara
authored andcommitted
TFDV: fixes a bug in validation of derived features wherein we'd always produce a DERIVED_FEATURE_BAD_LIFECYCLE anomaly, and adds test coverage.
PiperOrigin-RevId: 455209162
1 parent c337b40 commit 771bef6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tensorflow_metadata/proto/v0/schema.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@ message Feature {
236236
optional UniqueConstraints unique_constraints = 31;
237237

238238
// If set, indicates that that this feature is derived, and stores metadata
239-
// about its source. If this field is set, this feature should have
240-
// lifecycle_stage VALIDATION_DERIVED or DISABLED.
239+
// about its source. If this field is set, this feature should have a
240+
// disabled stage (PLANNED, ALPHA, DEPRECATED, DISABLED, DEBUG_ONLY), or
241+
// lifecycle_stage VALIDATION_DERIVED.
241242
// Experimental and subject to change.
242243
optional DerivedFeatureSource validation_derived_source = 34;
243244
reserved 33;

0 commit comments

Comments
 (0)