Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/22307#discussion_r214814919 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala --- @@ -1311,7 +1311,10 @@ class AstBuilder(conf: SQLConf) extends SqlBaseBaseVisitor[AnyRef] with Logging protected def visitFunctionName(ctx: QualifiedNameContext): FunctionIdentifier = { ctx.identifier().asScala.map(_.getText) match { case Seq(db, fn) => FunctionIdentifier(fn, Option(db)) - case Seq(fn) => FunctionIdentifier(fn, None) + case Seq(fn) => fn.split('.').toSeq match { --- End diff -- This, at the very least, breaks users app ... even if this is a correct behaviour within Hive, we should target this 3.0.0.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org