You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Forward Xu (Jira)" <ji...@apache.org> on 2022/03/27 06:06:00 UTC
[jira] [Updated] (HUDI-3722) Fix truncate hudi table's error
[ https://issues.apache.org/jira/browse/HUDI-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forward Xu updated HUDI-3722:
-----------------------------
Summary: Fix truncate hudi table's error (was: Fix truncate table's error)
> Fix truncate hudi table's error
> -------------------------------
>
> Key: HUDI-3722
> URL: https://issues.apache.org/jira/browse/HUDI-3722
> Project: Apache Hudi
> Issue Type: Bug
> Components: spark-sql
> Reporter: Forward Xu
> Assignee: Forward Xu
> Priority: Major
>
> 2. when truncate partition tableļ¼neither metadata nor data is truncated and truncate partition table with partition specs failsĀ
> {code:java}
> // truncate partition table without partition spec, the query is success but never delete data
> spark-sql> truncate table mor_partition_table_0314;
> Time taken: 0.256 seconds
> // truncate partition table with partition spec,
> spark-sql> truncate table mor_partition_table_0314 partition(dt=3);
> Error in query: Table spark_catalog.default.mor_partition_table_0314 does not support partition management.;
> 'TruncatePartition unresolvedpartitionspec((dt,3), None)
> +- ResolvedTable org.apache.spark.sql.hudi.catalog.HoodieCatalog@63f609a4, default.mor_partition_table_0314,{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)