github-actions[bot] commented on code in PR #41698:
URL: https://github.com/apache/beam/pull/41698#discussion_r4705206734
##########
sdks/python/apache_beam/transforms/enrichment_handlers/bigtable.py:
##########
@@ -121,7 +131,19 @@ def __call__(self, request: beam.Row, *args, **kwargs):
row_key = self._row_key_fn(request)
else:
Review Comment:
**🔵 Info**: When `self._row_key_fn` is used and Bigtable returns an empty
row, `row_key_str` remains `""`, causing `_handle_empty_row` to log/raise with
an empty `row_key:` value. Consider decoding `row_key` (e.g., `row_key_str =
row_key.decode(self._encoding, errors='replace')` when `row_key` is `bytes`) or
handling `None` returns from `row_key_fn` as well.
##########
CHANGES.md:
##########
@@ -66,6 +66,7 @@
## Bugfixes
+
Review Comment:
**🟢 Nit**: Unintended blank line added inside the `CHANGES.md` template
block.
--
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]