Github user zhengruifeng commented on the issue:
https://github.com/apache/spark/pull/21563
@mgaido91 I am sorry to make a force push to update my git username in this
PR.
Since I found that my current PRs are not linked to my account and it is
troublesome to track them.
and I found that `.expr.sql` may not be a good way to get the output column
name:
```
val df = Seq((1,2),(3,4),(1,1),(2,-1),(3,1)).toDF("a","b")
val z = (col("a") + col("b")).as("x").as("z")
scala> z.expr.sql
res15: String = (`a` + `b`) AS `x` AS `z`
```
So I still keep the orignal method.
@MLnick @mengxr @jkbradley Would you please help reveiwing this? Thanks!
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]