You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Danny Chen (Jira)" <ji...@apache.org> on 2023/09/01 05:55:00 UTC
[jira] [Closed] (HUDI-6732) Handle wildcards for partition paths passed in via spark-sql
[ 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)