Open scuffell opened 11 months ago
@gbrueckl Do you have any input on this?
Thanks for reporting @scuffell I just created a PR that fixes this issue https://github.com/delta-io/delta/pull/2289 it handles all potential special characters that get en-/decoded
Bug
Which Delta project/connector is this regarding?
Describe the problem
If a delta table partitioned on a field that contains round brackets, the partitions are ignored/don't show in Power BI.
Steps to reproduce
Create dataframe with a field that has round brackets in the value, output dataframe as delta format, partitioned by that field.
Output:
Storage:
Observed results
When using fn_ReadDeltaTable in Power BI, results omit partitioned field where value contains round brackets:
Query:
Results:
Expected results
Expected to see all values of "product" field. E.g.:
Further details
Seems to be related to the URL encoding/decoding of paths. Adding a couple of Text.Replace's in line 311 fixes the problem, but I wonder if there are other special characters affected.
Environment information
Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?