You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
Describe the issue
Add support for org.apache.spark.sql.catalyst.expressions.Alias as column type in JoinIndexRule.scala. Currently, this rule only supports Join Conditions on org.apache.spark.sql.catalyst.expressions.Attributes . Consider a case where a column c from the base table has an alias aliasC. A Join query with c will be able to utilize indexes but a query with aliasC won't be.
To Reproduce
Create a query plan of the form
selectT1.A, T2Temp.Bfrom T1
INNER JOIN (
select c as aliasC
from T2
) as T2Temp
whereT1.C=T2Temp.aliasC
Expected behavior
Query utilizes index
Screenshots
NA Desktop (please complete the following information):
NA Additional context
NA
Describe the issue
Add support for
org.apache.spark.sql.catalyst.expressions.Aliasas column type inJoinIndexRule.scala. Currently, this rule only supports Join Conditions onorg.apache.spark.sql.catalyst.expressions.Attributes . Consider a case where a columncfrom the base table has an aliasaliasC. A Join query withcwill be able to utilize indexes but a query withaliasCwon't be.To Reproduce
Create a query plan of the form
Expected behavior
Query utilizes index
Screenshots
NA
Desktop (please complete the following information):
NA
Additional context
NA