![]() |
API for writing statistics to both sharded records and binary pb.
tfdv.WriteStatisticsToRecordsAndBinaryFile(
binary_proto_path: str,
records_path_prefix: str,
io_provider: Optional[statistics_io_impl.StatisticsIOProvider] = None
) -> None
This PTransform assumes that input represents sharded statistics, which are written directly. These statistics are also merged and written to a binary proto.
Currently Experimental.
Args | |
---|---|
binary_proto_path
|
Output path for writing statistics as a binary proto. |
records_path_prefix
|
File pattern for writing statistics to sharded records. |
io_provider
|
Optional StatisticsIOProvider. If unset, a default will be constructed. This argument determines the format of statistics output. |
Class Variables | |
---|---|
pipeline |
None
|