Skip to content
This repository was archived by the owner on Sep 12, 2025. It is now read-only.

Commit d52dbba

Browse files
fix: Deprecate format specific row_count field in Read API (#424)
* feat: Deprecate format specific `row_count` field in Read API PiperOrigin-RevId: 438434001 Source-Link: googleapis/googleapis@727f08b Source-Link: googleapis/googleapis-gen@2d62ab0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmQ2MmFiMGQzZDY1MGI3YWJhNGVjNWU1YTk2ZGQ4Y2RiYWU4OWZiNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 9f8c323 commit d52dbba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

google/cloud/bigquery_storage_v1/types/arrow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ class ArrowRecordBatch(proto.Message):
5151
serialized_record_batch (bytes):
5252
IPC-serialized Arrow RecordBatch.
5353
row_count (int):
54-
The count of rows in ``serialized_record_batch``.
54+
[Deprecated] The count of rows in
55+
``serialized_record_batch``. Please use the
56+
format-independent ReadRowsResponse.row_count instead.
5557
"""
5658

5759
serialized_record_batch = proto.Field(

google/cloud/bigquery_storage_v1/types/avro.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ class AvroRows(proto.Message):
4747
serialized_binary_rows (bytes):
4848
Binary serialized rows in a block.
4949
row_count (int):
50-
The count of rows in the returning block.
50+
[Deprecated] The count of rows in the returning block.
51+
Please use the format-independent ReadRowsResponse.row_count
52+
instead.
5153
"""
5254

5355
serialized_binary_rows = proto.Field(

0 commit comments

Comments
 (0)