eldenmoon commented on code in PR #53083:
URL: https://github.com/apache/doris/pull/53083#discussion_r2203741072
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java:
##########
@@ -2460,6 +2460,11 @@ private boolean createOlapTable(Database db,
CreateTableStmt stmt) throws UserEx
boolean variantEnableFlattenNested = false;
try {
+ // session variable: disable_variant_flatten_nested = true
+ // table property: variant_enable_flatten_nested = true we should
throw error
+ if (ctx.getSessionVariable().getDisableVariantFlattenNested()) {
+ throw new DdlException("Disable to create table with `VARIANT`
type column enable flatten nested");
Review Comment:
the message is not clear
--
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]