[ 
https://issues.apache.org/jira/browse/HUDI-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

voon updated HUDI-6732:
-----------------------
     Attachment: image-2023-08-21-14-59-27-095.png
    Description: 
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!

  was:
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.


> 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
>         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)

Reply via email to