Skip to content

[SPARK-18216][SQL] Make Column.expr public #15724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sql/core/src/main/scala/org/apache/spark/sql/Column.scala
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ class TypedColumn[-T, U](
* $"a" === $"b"
* }}}
*
* Note that the internal Catalyst expression can be accessed via "expr", but this method is for
* debugging purposes only and can change in any future Spark releases.
*
* @groupname java_expr_ops Java-specific expression operators
* @groupname expr_ops Expression operators
* @groupname df_ops DataFrame functions
Expand All @@ -126,7 +129,7 @@ class TypedColumn[-T, U](
* @since 1.3.0
*/
@InterfaceStability.Stable
class Column(protected[sql] val expr: Expression) extends Logging {
class Column(val expr: Expression) extends Logging {

def this(name: String) = this(name match {
case "*" => UnresolvedStar(None)
Expand Down