Core: Fix unicode handling in HTTPClient#8046
Conversation
1c3126d to
34d262f
Compare
singhpk234
left a comment
There was a problem hiding this comment.
LGTM, Thanks @nastra !
dramaticlly
left a comment
There was a problem hiding this comment.
LGTM, maybe also worth updating this hardcoded UTF-8 in PartitionSpec to using StandardCharsets as well? https://github.com/apache/iceberg/blob/master/api/src/main/java/org/apache/iceberg/PartitionSpec.java#L174
fixes apache#7821 Without the fix, tests would fail with ``` expected: struct<1: id: required int (unique ID 🤪), 2: data: required string> but was: struct<1: id: required int (unique ID ?), 2: data: required string> ```
34d262f to
2c6e9ab
Compare
Seems like there are a few more places that use the hardcoded string and it's not directly related to this PR. @dramaticlly would you be interested in updating those? |
Sure I can cut a separate PR to update those. |
fixes #7821
Without the fix, tests would fail with