Skip to content

Commit

Permalink
feat: Deprecate format specific row_count field in Read API
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 438434001

Source-Link: googleapis/googleapis@727f08b

Source-Link: googleapis/googleapis-gen@2d62ab0
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQmlnUXVlcnkuU3RvcmFnZS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiMmQ2MmFiMGQzZDY1MGI3YWJhNGVjNWU1YTk2ZGQ4Y2RiYWU4OWZiNyJ9
  • Loading branch information
gcf-owl-bot[bot] authored and jskeet committed Mar 31, 2022
1 parent 01b008d commit 682ee9e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ static ArrowReflection() {
string.Concat(
"Cixnb29nbGUvY2xvdWQvYmlncXVlcnkvc3RvcmFnZS92MS9hcnJvdy5wcm90",
"bxIgZ29vZ2xlLmNsb3VkLmJpZ3F1ZXJ5LnN0b3JhZ2UudjEiKAoLQXJyb3dT",
"Y2hlbWESGQoRc2VyaWFsaXplZF9zY2hlbWEYASABKAwiRgoQQXJyb3dSZWNv",
"cmRCYXRjaBIfChdzZXJpYWxpemVkX3JlY29yZF9iYXRjaBgBIAEoDBIRCgly",
"b3dfY291bnQYAiABKAMizwEKGUFycm93U2VyaWFsaXphdGlvbk9wdGlvbnMS",
"aAoSYnVmZmVyX2NvbXByZXNzaW9uGAIgASgOMkwuZ29vZ2xlLmNsb3VkLmJp",
"Z3F1ZXJ5LnN0b3JhZ2UudjEuQXJyb3dTZXJpYWxpemF0aW9uT3B0aW9ucy5D",
"b21wcmVzc2lvbkNvZGVjIkgKEENvbXByZXNzaW9uQ29kZWMSGwoXQ09NUFJF",
"U1NJT05fVU5TUEVDSUZJRUQQABINCglMWjRfRlJBTUUQARIICgRaU1REEAJC",
"wwEKJGNvbS5nb29nbGUuY2xvdWQuYmlncXVlcnkuc3RvcmFnZS52MUIKQXJy",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new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -317,8 +317,10 @@ public ArrowRecordBatch Clone() {
public const int RowCountFieldNumber = 2;
private long rowCount_;
/// <summary>
/// The count of rows in `serialized_record_batch`.
/// [Deprecated] The count of rows in `serialized_record_batch`.
/// Please use the format-independent ReadRowsResponse.row_count instead.
/// </summary>
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long RowCount {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ static AvroReflection() {
string.Concat(
"Citnb29nbGUvY2xvdWQvYmlncXVlcnkvc3RvcmFnZS92MS9hdnJvLnByb3Rv",
"EiBnb29nbGUuY2xvdWQuYmlncXVlcnkuc3RvcmFnZS52MSIcCgpBdnJvU2No",
"ZW1hEg4KBnNjaGVtYRgBIAEoCSI9CghBdnJvUm93cxIeChZzZXJpYWxpemVk",
"X2JpbmFyeV9yb3dzGAEgASgMEhEKCXJvd19jb3VudBgCIAEoA0LCAQokY29t",
"Lmdvb2dsZS5jbG91ZC5iaWdxdWVyeS5zdG9yYWdlLnYxQglBdnJvUHJvdG9Q",
"AVpHZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9jbG91",
"ZC9iaWdxdWVyeS9zdG9yYWdlL3YxO3N0b3JhZ2WqAiBHb29nbGUuQ2xvdWQu",
"QmlnUXVlcnkuU3RvcmFnZS5WMcoCIEdvb2dsZVxDbG91ZFxCaWdRdWVyeVxT",
"dG9yYWdlXFYxYgZwcm90bzM="));
"ZW1hEg4KBnNjaGVtYRgBIAEoCSJBCghBdnJvUm93cxIeChZzZXJpYWxpemVk",
"X2JpbmFyeV9yb3dzGAEgASgMEhUKCXJvd19jb3VudBgCIAEoA0ICGAFCwgEK",
"JGNvbS5nb29nbGUuY2xvdWQuYmlncXVlcnkuc3RvcmFnZS52MUIJQXZyb1By",
"b3RvUAFaR2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMv",
"Y2xvdWQvYmlncXVlcnkvc3RvcmFnZS92MTtzdG9yYWdlqgIgR29vZ2xlLkNs",
"b3VkLkJpZ1F1ZXJ5LlN0b3JhZ2UuVjHKAiBHb29nbGVcQ2xvdWRcQmlnUXVl",
"cnlcU3RvcmFnZVxWMWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
Expand Down Expand Up @@ -307,8 +307,10 @@ public AvroRows Clone() {
public const int RowCountFieldNumber = 2;
private long rowCount_;
/// <summary>
/// The count of rows in the returning block.
/// [Deprecated] The count of rows in the returning block.
/// Please use the format-independent ReadRowsResponse.row_count instead.
/// </summary>
[global::System.ObsoleteAttribute]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long RowCount {
Expand Down

0 comments on commit 682ee9e

Please sign in to comment.