We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2012d58 commit 4fcbc6dCopy full SHA for 4fcbc6d
sql/core/src/main/scala/org/apache/spark/sql/execution/stat/StatFunctions.scala
@@ -264,7 +264,6 @@ object StatFunctions extends Logging {
264
}
265
266
val selectedCols = ds.logicalPlan.output
267
- .filter(a => a.dataType.isInstanceOf[NumericType] || a.dataType.isInstanceOf[StringType])
268
269
val aggExprs = statisticFns.flatMap { func =>
270
selectedCols.map(c => Column(Cast(func(c), StringType)).as(c.name))
0 commit comments