stankiewicz commented on code in PR #41916: URL: https://github.com/apache/beam/pull/41916#discussion_r4799546004
########## CHANGES.md: ########## @@ -188,10 +183,10 @@ * (Java) Fixed IcebergIO CDC reads on tables with a `date`, `time`, `timestamp`, `timestamptz` or `fixed` column in the primary key, which could crash or split an update into a DELETE and an INSERT ([#41583](https://github.com/apache/beam/pull/41583)). * (Java) BigQuery Storage Write API successful-row output now propagates fused downstream exceptions instead of allowing the bundle to succeed with missing downstream results ([#40004](https://github.com/apache/beam/pull/40004)). * (Python) Fixed `HuggingFaceModelHandlerTensor` passing `inference_args` instead of the device to a custom `inference_fn` ([#41085](https://github.com/apache/beam/issues/41085)). -* (Python) `SklearnModelHandlerPandas` now passes `inference_args` to the model's `predict`, as `SklearnModelHandlerNumpy` does. Before, they were dropped without an error. Both handlers now raise a clear error when `predict` returns several outputs, for example with `return_std=True`, instead of mixing them up across examples ([#41385](https://github.com/apache/beam/issues/41385)). * (Python) The result of `beam.Partition` applied to a list, such as `[1, 2, 3] | beam.Partition(fn, 2)`, can now be indexed with ints (`partitions[0]`) as inside a pipeline, instead of raising `KeyError` ([#19154](https://github.com/apache/beam/issues/19154)). * (Python) RunInference now raises a `ValueError` when a model handler returns fewer predictions than inputs, instead of silently dropping the inputs that have no prediction. For example, this happened with PyTorch and Keras models that return a tuple or list of outputs, and with Hugging Face causal language models that return `past_key_values` ([#40928](https://github.com/apache/beam/issues/40928)). * (Python) Fixed `fileio.WriteToFiles` failing for sinks that ask for a compressed file in `create_metadata`. Flushing a compressed file ended the compressed stream, so closing the file afterwards raised ([#31863](https://github.com/apache/beam/issues/31863)). +* (Python) Fixed `fileio.WriteToFiles` no longer falis for elements that were output by preceding transforms with a global window. These elements have the timestamp of the end of the global window, which is in the year 294247 ([#41914](https://github.com/apache/beam/issues/41914)). Review Comment: falis->fails -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
