Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BDF24200BB1 for ; Wed, 19 Oct 2016 18:20:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BCEE4160AFC; Wed, 19 Oct 2016 16:20:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F8C4160ADC for ; Wed, 19 Oct 2016 18:19:59 +0200 (CEST) Received: (qmail 11646 invoked by uid 500); 19 Oct 2016 16:19:58 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 11610 invoked by uid 99); 19 Oct 2016 16:19:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2016 16:19:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ADD182C0086 for ; Wed, 19 Oct 2016 16:19:58 +0000 (UTC) Date: Wed, 19 Oct 2016 16:19:58 +0000 (UTC) From: "Jesus Camacho Rodriguez (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-15018) ALTER rewriting flag in materialized view MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Oct 2016 16:20:00 -0000 Jesus Camacho Rodriguez created HIVE-15018: ---------------------------------------------- Summary: ALTER rewriting flag in materialized view Key: HIVE-15018 URL: https://issues.apache.org/jira/browse/HIVE-15018 Project: Hive Issue Type: Sub-task Components: Materialized views Reporter: Jesus Camacho Rodriguez We should extend the ALTER statement in case we want to change the rewriting behavior of the materialized view after we have created it. {code:sql} ALTER MATERIALIZED VIEW [db_name.]materialized_view_name DISABLE REWRITE; {code} {code:sql} ALTER MATERIALIZED VIEW [db_name.]materialized_view_name ENABLE REWRITE; {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)