BiteTheDDDDt opened a new issue, #10608: URL: https://github.com/apache/doris/issues/10608
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description ```sql create table u_table( k1 int null, k2 int null, k3 bigint null, k4 bigint null ) unique key (k1,k2,k3) distributed BY hash(k1) buckets 3 properties("replication_num" = "1"); create materialized view k123 as select k1,k3,k2,k4 from u_table; MySQL [test]> desc u_table all;+-----------+---------------+-------+--------+------+-------+---------+---------+---------+ | IndexName | IndexKeysType | Field | Type | Null | Key | Default | Extra | Visible | +-----------+---------------+-------+--------+------+-------+---------+---------+---------+ | u_table | UNIQUE_KEYS | k1 | INT | Yes | true | NULL | | true | | | | k2 | INT | Yes | true | NULL | | true | | | | k3 | BIGINT | Yes | true | NULL | | true | | | | k4 | BIGINT | Yes | false | NULL | REPLACE | true | | | | | | | | | | | | k123 | UNIQUE_KEYS | k1 | INT | Yes | true | NULL | | true | | | | k3 | BIGINT | Yes | true | NULL | | true | | | | k2 | INT | Yes | true | NULL | | true | | | | k4 | BIGINT | Yes | true | NULL | REPLACE | true | +-----------+---------------+-------+--------+------+-------+---------+---------+---------+ 9 rows in set (0.006 sec) ``` ### Solution _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
