Skip to content

Commit 0a98899

Browse files
SNOW-2860998 Schema evolution granular logging (#1222)
1 parent 1add1aa commit 0a98899

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/com/snowflake/kafka/connector/internal/SnowflakeConnectionServiceV1.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,11 @@ public boolean hasSchemaEvolutionPermission(String tableName, String role) {
501501

502502
boolean hasPermission = hasRolePrivilege && hasTableOptionEnabled;
503503
LOGGER.info(
504-
String.format("Table: %s has schema evolution permission: %s", tableName, hasPermission));
504+
"Table {} has enable_schema_evolution -> {}. Role {} has evolve_schema/ownership -> {}.",
505+
tableName,
506+
hasTableOptionEnabled,
507+
role,
508+
hasRolePrivilege);
505509
return hasPermission;
506510
}
507511

0 commit comments

Comments
 (0)