Commit a5bf16f 1 parent 6d3b909 commit a5bf16f Copy full SHA for a5bf16f
File tree 1 file changed +2
-2
lines changed
dqops/src/main/java/com/dqops/data/storage
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,15 @@ public static String makeHivePartitionPath(ParquetPartitionId partitionId) {
64
64
65
65
stringBuilder .append (ParquetPartitioningKeys .CONNECTION );
66
66
stringBuilder .append ('=' );
67
- String encodedConnection = URLEncoder . encode (connectionName , StandardCharsets . UTF_8 );
67
+ String encodedConnection = FileNameSanitizer . encodeForFileSystem (connectionName );
68
68
stringBuilder .append (encodedConnection );
69
69
stringBuilder .append ('/' );
70
70
71
71
PhysicalTableName tableName = partitionId .getTableName ();
72
72
if (tableName != null ) {
73
73
stringBuilder .append (ParquetPartitioningKeys .SCHEMA_TABLE );
74
74
stringBuilder .append ('=' );
75
- String encodedTable = URLEncoder . encode (tableName .toString (), StandardCharsets . UTF_8 );
75
+ String encodedTable = FileNameSanitizer . encodeForFileSystem (tableName .toString ());
76
76
stringBuilder .append (encodedTable );
77
77
stringBuilder .append ('/' );
78
78
}
You can’t perform that action at this time.
0 commit comments