@@ -146,13 +146,25 @@ private[sql] case class UnresolvedAttribute(
146146private [sql] object UnresolvedAttribute {
147147 def apply (
148148 unparsedIdentifier : String ,
149- planId : Option [Long ] = None ,
150- isMetadataColumn : Boolean = false ,
151- origin : Origin = CurrentOrigin .get ): UnresolvedAttribute = UnresolvedAttribute (
149+ planId : Option [Long ],
150+ isMetadataColumn : Boolean ,
151+ origin : Origin ): UnresolvedAttribute = UnresolvedAttribute (
152152 AttributeNameParser .parseAttributeName(unparsedIdentifier),
153153 planId = planId,
154154 isMetadataColumn = isMetadataColumn,
155155 origin = origin)
156+
157+ def apply (
158+ unparsedIdentifier : String ,
159+ planId : Option [Long ],
160+ isMetadataColumn : Boolean ): UnresolvedAttribute =
161+ apply(unparsedIdentifier, planId, isMetadataColumn, CurrentOrigin .get)
162+
163+ def apply (unparsedIdentifier : String , planId : Option [Long ]): UnresolvedAttribute =
164+ apply(unparsedIdentifier, planId, false , CurrentOrigin .get)
165+
166+ def apply (unparsedIdentifier : String ): UnresolvedAttribute =
167+ apply(unparsedIdentifier, None , false , CurrentOrigin .get)
156168}
157169
158170/**
0 commit comments