manisin commented on code in PR #7580:
URL: https://github.com/apache/iceberg/pull/7580#discussion_r1194082492


##########
snowflake/src/main/java/org/apache/iceberg/snowflake/SnowflakeCatalog.java:
##########
@@ -114,8 +121,14 @@ public void initialize(String name, Map<String, String> 
properties) {
           cnfe);
     }
 
+    String uniqueId = UUID.randomUUID().toString().replace("-", 
"").substring(0, UNIQUE_ID_LENGTH);
+    String uniqueAppIdentifier = APP_IDENTIFIER + "_" + uniqueId;
+    String icebergVersion = IcebergBuild.fullVersion() + 
IcebergBuild.gitCommitShortId();
+    String userAgentSuffix = icebergVersion + " " + uniqueAppIdentifier;

Review Comment:
    I have added the iceberg build and commit id but the Unique identifier part 
is still required to correlate header with JDBC sessions in our telemetry. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to