[
https://issues.apache.org/jira/browse/SPARK-27917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853869#comment-16853869
]
Sandeep Katta commented on SPARK-27917:
---------------------------------------
This can be tested using the below UT code
val attrRef = AttributeReference("ACCESS_CHECK", StringType)()
val aliasAttrRef = attrRef.withName("access_check")
val caseWhenObj1 = CaseWhen(Seq((attrRef, Literal("A"))))
val caseWhenObj2 = CaseWhen(Seq((aliasAttrRef, Literal("A"))))
assert(caseWhenObj1.semanticEquals(caseWhenObj2))
> Semantic equals of CaseWhen is failing with case sensitivity of column Names
> ----------------------------------------------------------------------------
>
> Key: SPARK-27917
> URL: https://issues.apache.org/jira/browse/SPARK-27917
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.3.2
> Environment: Spark-2.3.2
> Reporter: Akash R Nilugal
> Priority: Major
>
> Semantic equals of CaseWhen is failing with case sensitivity of column Names
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]