Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/20827#discussion_r175544242
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala
---
@@ -324,31 +324,28 @@ case class AttributeReference(
* A place holder used when printing expressions without debugging
information such as the
* expression id or the unresolved indicator.
*/
-case class PrettyAttribute(
+case class PrettyNamedExpression(
name: String,
dataType: DataType = NullType)
- extends Attribute with Unevaluable {
--- End diff --
can we still call it `PrettyAttribute` and extends `Attribute`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]