You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by xq...@apache.org on 2025/03/11 11:58:50 UTC
(beam) branch master updated: call out the snappy version in the warning message (#34225)
This is an automated email from the ASF dual-hosted git repository.
xqhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 060d6f7f6dc call out the snappy version in the warning message (#34225)
060d6f7f6dc is described below
commit 060d6f7f6dc2d23c322eb154879cbb25bef43fde
Author: liferoad <hu...@gmail.com>
AuthorDate: Tue Mar 11 07:58:43 2025 -0400
call out the snappy version in the warning message (#34225)
* call out the snappy version in the warning message
* Update sdks/python/apache_beam/io/tfrecordio.py
Co-authored-by: tvalentyn <tv...@users.noreply.github.com>
---------
Co-authored-by: tvalentyn <tv...@users.noreply.github.com>
---
sdks/python/apache_beam/io/tfrecordio.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/io/tfrecordio.py b/sdks/python/apache_beam/io/tfrecordio.py
index d3bb0f8acf3..da7ab095433 100644
--- a/sdks/python/apache_beam/io/tfrecordio.py
+++ b/sdks/python/apache_beam/io/tfrecordio.py
@@ -57,7 +57,7 @@ def _default_crc32c_fn(value):
if not _default_crc32c_fn.fn:
_LOGGER.warning(
- 'Couldn\'t find python-snappy so the implementation of '
+ 'Couldn\'t find python-snappy<0.7 so the implementation of '
'_TFRecordUtil._masked_crc32c is not as fast as it could '
'be.')
_default_crc32c_fn.fn = crcmod.predefined.mkPredefinedCrcFun('crc-32c')