KeDeng has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23063


Change subject: [thrift] Explicitly specify field ID to silence protocol 
compatibility warning
......................................................................

[thrift] Explicitly specify field ID to silence protocol compatibility warning

The Thrift compiler emitted warnings on both Rocky (ARM) and CentOS 7 platforms:

  [WARNING:/data/code/kudu/src/kudu/hms/hive_metastore.thrift:2184]
  No field key specified for o2, resulting protocol may have conflicts or not 
be backwards compatible!

This was due to a struct field lacking an explicit field ID. Although Thrift
auto-assigns IDs, this practice can lead to fragile or incompatible schemas.

This commit explicitly assigns a field ID to `o2` to ensure protocol 
compatibility
and eliminate the warning across all build environments.

Change-Id: Ifdb8b650f9b8ed1cdea9dd0cf1a80ef264ccc7d7
---
M src/kudu/hms/hive_metastore.thrift
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/63/23063/1
--
To view, visit http://gerrit.cloudera.org:8080/23063
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdb8b650f9b8ed1cdea9dd0cf1a80ef264ccc7d7
Gerrit-Change-Number: 23063
Gerrit-PatchSet: 1
Gerrit-Owner: KeDeng <[email protected]>

Reply via email to