[feature](struct-type/map-type) Add switch for struct and map type for creating table (#16379)

Add switches to forbid uses creating table with struct or map column.
This commit is contained in:
xy720
2023-02-03 13:46:52 +08:00
committed by GitHub
parent dfb610d7ec
commit b1fd124f02
3 changed files with 43 additions and 5 deletions

View File

@ -1740,6 +1740,18 @@ public class Config extends ConfigBase {
@ConfField(mutable = true, masterOnly = true)
public static boolean enable_array_type = false;
/**
* Support complex data type MAP.
*/
@ConfField(mutable = true, masterOnly = true)
public static boolean enable_map_type = false;
/**
* Support complex data type STRUCT.
*/
@ConfField(mutable = true, masterOnly = true)
public static boolean enable_struct_type = false;
/**
* The timeout of executing async remote fragment.
* In normal case, the async remote fragment will be executed in a short time. If system are under high load