Sergey Nuyanzin created FLINK-39279:
---------------------------------------

             Summary: CREATE OR ALTER MATERIALIZED TABLE doesn't respect 
distribution change
                 Key: FLINK-39279
                 URL: https://issues.apache.org/jira/browse/FLINK-39279
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
            Reporter: Sergey Nuyanzin
            Assignee: Sergey Nuyanzin


In case there is existing materialized table like
{code:sql}
CREATE MATERIALIZED TABLE mt (
DISTRIBUTED BY HASH (b) INTO 7 BUCKETS
AS SELECT t1.* FROM t1
{code}

and then if there is a query like (with different or absent distribution)
{code:sql}
CREATE MATERIALIZED TABLE mt (
DISTRIBUTED BY HASH (z) INTO 123 BUCKETS
AS SELECT t1.* FROM t1
{code}

another example when first materialized table is without distribution and in 
the second with.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to