Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/22566#discussion_r220978327
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/command/AnalyzeColumnCommand.scala
---
@@ -70,25 +91,9 @@ case class AnalyzeColumnCommand(
*/
private def computeColumnStats(
sparkSession: SparkSession,
- tableIdent: TableIdentifier,
- columnNames: Seq[String]): (Long, Map[String, CatalogColumnStat]) = {
-
+ relation: LogicalPlan,
+ attributesToAnalyze: Seq[Attribute]): (Long, Map[String,
CatalogColumnStat]) = {
--- End diff --
`attributesToAnalyze ` -> `columns`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]