ramitg254 commented on code in PR #5715:
URL: https://github.com/apache/hive/pull/5715#discussion_r2051549217
##########
common/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java:
##########
@@ -362,6 +363,8 @@ public enum ErrorMsg {
DBTXNMGR_REQUIRES_CONCURRENCY(10264,
"To use DbTxnManager you must set hive.support.concurrency=true"),
TXNMGR_NOT_ACID(10265, "This command is not allowed on an ACID table {0}.{1}
with a non-ACID transaction manager", true),
+ COLUMN_NOT_FOUND(10266, "Invalid Column Name"),
+ DROP_COLUMN_UNCASCADED(10267, "Drop column is not supported without cascade
for partitioned table. SerDe may be incompatible.", true),
Review Comment:
Yeah it is present in AlterTableRepalceColumnsOperation as:
if (ParquetHiveSerDe.isParquetTable(table) &&
AlterTableUtils.isSchemaEvolutionEnabled(table, context.getConf()) &&
!desc.isCascade() && droppingColumns && table.isPartitioned()) {
LOG.warn("Cannot drop columns from a partitioned parquet table without
the CASCADE option");
throw new HiveException(ErrorMsg.REPLACE_CANNOT_DROP_COLUMNS,
desc.getDbTableName());
}
--
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]