From e05232f3a0776b8d21c876f6bff32faf3f9cdf66 Mon Sep 17 00:00:00 2001 From: Chunchun Ye <14298407+appletreeisyellow@users.noreply.github.com> Date: Sun, 16 Apr 2023 08:11:33 -0500 Subject: [PATCH] GH-35118: [FlightSQL] Use `int32` to refer to 32-bit integers rather than `int` (#35120) ### Rationale for this change The spec is inconsistent -- see details on #35118 ### What changes are included in this PR? Use `int32` to refer to 32-bit integers rather than `int` ### Are these changes tested? No, only comments are changed ### Are there any user-facing changes? This clarifies a small corner case in the document * Closes: https://github.com/apache/arrow/issues/35118 * Closes: #35118 Authored-by: Chunchun <14298407+appletreeisyellow@users.noreply.github.com> Signed-off-by: Andrew Lamb --- format/FlightSql.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/format/FlightSql.proto b/format/FlightSql.proto index ad427fd8096f0..650c67f24d690 100644 --- a/format/FlightSql.proto +++ b/format/FlightSql.proto @@ -1271,7 +1271,7 @@ message CommandGetTableTypes { * table_name: utf8 not null, * column_name: utf8 not null, * key_name: utf8, - * key_sequence: int not null + * key_sequence: int32 not null * > * The returned data should be ordered by catalog_name, db_schema_name, table_name, key_name, then key_sequence. */ @@ -1321,7 +1321,7 @@ enum UpdateDeleteRules { * fk_db_schema_name: utf8, * fk_table_name: utf8 not null, * fk_column_name: utf8 not null, - * key_sequence: int not null, + * key_sequence: int32 not null, * fk_key_name: utf8, * pk_key_name: utf8, * update_rule: uint8 not null, @@ -1367,7 +1367,7 @@ message CommandGetExportedKeys { * fk_db_schema_name: utf8, * fk_table_name: utf8 not null, * fk_column_name: utf8 not null, - * key_sequence: int not null, + * key_sequence: int32 not null, * fk_key_name: utf8, * pk_key_name: utf8, * update_rule: uint8 not null, @@ -1420,7 +1420,7 @@ message CommandGetImportedKeys { * fk_db_schema_name: utf8, * fk_table_name: utf8 not null, * fk_column_name: utf8 not null, - * key_sequence: int not null, + * key_sequence: int32 not null, * fk_key_name: utf8, * pk_key_name: utf8, * update_rule: uint8 not null,