LuciferYang commented on code in PR #58333:
URL: https://github.com/apache/spark/pull/58333#discussion_r3878384385
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -2230,7 +2230,7 @@ private[sql] object QueryCompilationErrors extends
QueryErrorsBase with Compilat
def bucketingColumnCannotBePartOfPartitionColumnsError(
bucketCol: String, normalizedPartCols: Seq[String]): Throwable = {
new AnalysisException(
- errorClass = "_LEGACY_ERROR_TEMP_1166",
+ errorClass = "BUCKET_COLUMN_IN_PARTITION_COLUMNS",
messageParameters = Map(
"bucketCol" -> bucketCol,
"normalizedPartCols" -> normalizedPartCols.mkString(", ")))
Review Comment:
Renamed to `partitionColumns`. Kept `bucketCol` and `sortCol`: what leaked
was `normalized`, which names an internal step, and the short form has company
among published keys (`colName`, `numCols`, `staticPartCols`).
--
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]