[
https://issues.apache.org/jira/browse/HUDI-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chen closed HUDI-6732.
----------------------------
Resolution: Fixed
Fixed via master branch: 64a05bc0b874fd2f3ce01c669840bb619550f033
> Handle wildcards for partition paths passed in via spark-sql
> ------------------------------------------------------------
>
> Key: HUDI-6732
> URL: https://issues.apache.org/jira/browse/HUDI-6732
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: voon
> Assignee: voon
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Attachments: image-2023-08-21-14-59-27-095.png
>
>
> The drop partition DDL is not handling wildcards properly, specifically, for
> partitions with wildcards that are submitted via the Spark-SQL entry point.
>
> {code:java}
> ALTER TABLE table_x DROP PARTITION(partition_col="*") {code}
>
> The Spark-SQL entrypoint will url-encode special characters, causing the *
> character to be url-encoded to {*}%2A{*}, as such, we will need to handle
> that too.
>
> !image-2023-08-21-14-59-27-095.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)