Skip to content

Commit 1a848da

Browse files
brillstfx-copybara
authored andcommitted
Partial rollback of cl/315563442:
the flag TFDV_ACCEPT_RECORD_BATCH cannot be removed before tfx > 0.21.0 is released. PiperOrigin-RevId: 318845937
1 parent 89c9ac5 commit 1a848da

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

RELEASE.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## Major Features and Improvements
66

77
## Bug Fixes and Other Changes
8+
* Fixed a bug that affected tfx 0.22.0 to work with TFDV 0.22.1.
89

910
## Known Issues
1011

tensorflow_data_validation/__init__.py

+6
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,9 @@
8484

8585
# Import version string.
8686
from tensorflow_data_validation.version import __version__
87+
88+
# If tfdv module has this flag, tfdv.GenerateStatistics accepts
89+
# PCollection[pa.RecordBatch] as the input; otherwise it accepts
90+
# PCollection[pa.Table]
91+
# TODO(b/153368237): clean this up once tfx>0.22.0 is released.
92+
TFDV_ACCEPT_RECORD_BATCH = True

0 commit comments

Comments
 (0)