udim commented on a change in pull request #13302:
URL: https://github.com/apache/beam/pull/13302#discussion_r521786274
##########
File path: sdks/python/apache_beam/io/parquetio.py
##########
@@ -506,6 +509,11 @@ def __init__(
compression_type=CompressionTypes.UNCOMPRESSED)
self._schema = schema
self._codec = codec
+ if ARROW_MAJOR_VERSION == 1 and self._codec.lower() == "lz4":
Review comment:
Technically a str, so:
```suggestion
if ARROW_MAJOR_VERSION == '1' and self._codec.lower() == "lz4":
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]