cambyzju opened a new pull request, #36494:
URL: https://github.com/apache/doris/pull/36494
## Proposed changes
There are lots of basic usage problems for MAP and STRUCT in v1.2, so we
forbid them on v1.2
such as:
```
CREATE TABLE `test` (
`k1` varchar(20) NULL COMMENT "",
`v` MAP<varchar(20),varchar(200)> NULL COMMENT ""
) ENGINE = OLAP
DISTRIBUTED BY HASH(`k1`)
BUCKETS 1
PROPERTIES ("replication_num" = "1");
```
```
> desc test;
+-------+------------------------------------------+------+-------+---------+-------+
| Field | Type | Null | Key | Default
| Extra |
+-------+------------------------------------------+------+-------+---------+-------+
| k1 | VARCHAR(20) | Yes | true | NULL
| |
| v | org.apache.doris.catalog.MapType@7c62f50 | Yes | false | NULL
| NONE |
+-------+------------------------------------------+------+-------+---------+-------+
```
<!--Describe your changes.-->
--
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]