gengliangwang commented on code in PR #50631: URL: https://github.com/apache/spark/pull/50631#discussion_r2065031263
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveCatalogs.scala: ########## @@ -94,6 +101,27 @@ class ResolveCatalogs(val catalogManager: CatalogManager) resolveNamespace(catalog, ns, fetchMetadata) } + private def resolveIdentifier( + nameParts: Seq[String], + allowTemp: Boolean, + columns: Seq[ColumnDefinition]): ResolvedIdentifier = { + val columnOutput = columns.map { col => + val dataType = col.dataType match { + case _: CharType | _: VarcharType if !conf.preserveCharVarcharTypeInfo => Review Comment: @cloud-fan I made this new change to bypass https://github.com/apache/spark/commit/38c6ef456ed67ed55e186625dcde017d85d6431f#diff-583171e935b2dc349378063a5841c5b98b30a2d57ac3743a9eccfe7bffcb8f2aR286 Does this looks good to you? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org