Skip to content

Commit

Permalink
airframe-sql: Remove unnecessary condition from AllColumns resolution (
Browse files Browse the repository at this point in the history
…#3061)

Follow up to #3057
  • Loading branch information
takezoe committed Jul 13, 2023
1 parent ce646df commit b5fd84b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ object TypeResolver extends LogSupport {
case other => toResolvedAttribute(other.name, other)
}
List(a.copy(columns = Some((qualifier match {
case Some(q) => allColumns.filter(c => c.qualifier.contains(q) || c.tableAlias.contains(q))
case Some(q) => allColumns.filter(_.tableAlias.contains(q))
case None => allColumns
}).map(_.withQualifier(None)))))
case _ =>
Expand Down

0 comments on commit b5fd84b

Please sign in to comment.