[
https://issues.apache.org/jira/browse/IMPALA-10700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356267#comment-17356267
]
ASF subversion and git services commented on IMPALA-10700:
----------------------------------------------------------
Commit 5574c8f7e6a0284d2e050361684cd616a0dd0140 in impala's branch
refs/heads/dependabot/pip/infra/python/deps/py-1.10.0 from Shajini Thayasingh
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=5574c8f ]
IMPALA-10700: [DOCS] add a new query option
Introduced a new query option to skip deleting column statistics on truncate
operation.
Updated text to incorporate the comments received.
Change-Id: Ie753f84b233b06bf4554cab71263671aff36f570
Reviewed-on: http://gerrit.cloudera.org:8080/17533
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Vihang Karajgaonkar <[email protected]>
> Introduce an option to skip deleting column statistics on truncate
> ------------------------------------------------------------------
>
> Key: IMPALA-10700
> URL: https://issues.apache.org/jira/browse/IMPALA-10700
> Project: IMPALA
> Issue Type: Improvement
> Components: Catalog
> Reporter: Vihang Karajgaonkar
> Assignee: Vihang Karajgaonkar
> Priority: Major
> Fix For: Impala 4.0
>
>
> Currently when a user issues {{truncate table}} command on a
> non-transactional table, catalogd also deletes the table and column
> statistics. However, this can affect the performance of the truncate
> operation especially at high concurrency. Based on preliminary research it
> looks like other databases do not delete statistics after truncate operation
> (e.g Oracle, Hive). It would be good to introduce a query option which can
> set by the user to skip deleting the column statistics during the truncate
> table execution.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]