indexInfos SparkStrategies.scala in shall be "lazy"
Closed this issue · 2 comments
ChenZhongPu commented
In SparkStrategies line 330, we should add lazy
for indexInfos
. Otherwise, the indexInfos
will be empty. Correspondingly, the predicates
in IndexedRelationScan.scala will always be empty. In other words, it will full scan and skip the index.
dongx-psu commented
I agree that this is a bug. Please resolve it in your next pull request.