cloud-fan commented on a change in pull request #35108:
URL: https://github.com/apache/spark/pull/35108#discussion_r779302283
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/connector/expressions/expressions.scala
##########
@@ -349,7 +349,7 @@ private[sql] final case class FieldReference(parts:
Seq[String]) extends NamedRe
private[sql] object FieldReference {
def apply(column: String): NamedReference = {
- LogicalExpressions.parseReference(column)
+ LogicalExpressions.parseReference("`" + column + "`")
Review comment:
I think we need to fix the caller side. We shouldn't call
`FieldReference.apply(String)` which parses the given string. We should call
`FieldReference(Seq(col_name))`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]