You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Lars Volker (JIRA)" <ji...@apache.org> on 2018/02/04 18:38:03 UTC

[jira] [Resolved] (IMPALA-5293) Turn insert clustering on by default

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

Lars Volker resolved IMPALA-5293.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.0

IMPALA-5293: Turn insert clustering on by default

This change enables clustering by default. IMPALA-2521 introduced the
'clustered' hint which inserts a local sort by the partitioning columns
to a query plan. The hint is only effective for HDFS and Kudu tables.

Like before, the 'noclustered' hint prevents clustering. If a table has
ordering columns defined, the 'noclustered' hint is ignored and we
issue a warning.

This change removes some tests that were added specifically to test
that clustering can be enabled using the 'clustered' hint. It changes
some tests to use the 'noclustered' hint to make sure that clustering
can be disabled. It also adds tests to make sure that we cover the
'noclustered' case properly.

Cherry-picks: not for 2.x.

Change-Id: Idbf2368cf4415e6ecfa65058daf6ff87ef62f9d9
Reviewed-on: http://gerrit.cloudera.org:8080/9153
Reviewed-by: Lars Volker <lv...@cloudera.com>
Tested-by: Impala Public Jenkins

> Turn insert clustering on by default
> ------------------------------------
>
>                 Key: IMPALA-5293
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5293
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.8.0
>            Reporter: Lars Volker
>            Assignee: Lars Volker
>            Priority: Major
>              Labels: compatibility, include-in-v3, incompatibility
>             Fix For: Impala 3.0
>
>
> Currently pre-insert clustering needs to be enabled using the {{clustered}} hint. We should enable it by default, allowing it to be disabled using the {{noclustered}} hint.
> It may be necessary to wait until the next compatibility breaking release.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)