Uh oh!
There was an error while loading. Please reload this page.
[SPARK-12639] [SQL] Mark Filters Fully Handled By Sources with * - #11317
[SPARK-12639] [SQL] Mark Filters Fully Handled By Sources with *#11317RussellSpitzer wants to merge 1 commit into
Conversation
rxin
commented
Feb 23, 2016
cc @yhuai |
yhuai
commented
Feb 23, 2016
ok to test |
yhuai
commented
Feb 23, 2016
@RussellSpitzer If you get a chance, can you add an example in the description showing the plan before and after this change? |
There was a problem hiding this comment.
Maybe (Seq[Expression], Seq[Filter], Set[Filter])?
yhuai
commented
Feb 23, 2016
Thank you @RussellSpitzer! It looks good. Only one comment. |
SparkQA
commented
Feb 23, 2016
Test build #51781 has finished for PR 11317 at commit
|
yhuai
commented
Mar 16, 2016
ok to test |
SparkQA
commented
Mar 16, 2016
Test build #53374 has finished for PR 11317 at commit
|
HyukjinKwon
commented
May 7, 2016
@RussellSpitzer I saw you answered my ping before. Excuse my ping here again. |
RussellSpitzer
commented
May 10, 2016
@HyukjinKwon + @yhuai Sorry it took so long! Things have been busy :) |
HyukjinKwon
commented
May 10, 2016
@RussellSpitzer Thanks for bearing with my pings here and there! |
SparkQA
commented
May 10, 2016
Test build #58192 has finished for PR 11317 at commit
|
RussellSpitzer
commented
May 10, 2016
I don't think this is because of me |
jacek-lewandowski
commented
May 10, 2016
test this please |
jacek-lewandowski
commented
May 10, 2016
jenkins, test this please |
SparkQA
commented
May 10, 2016
Test build #58268 has finished for PR 11317 at commit
|
yhuai
commented
Jul 6, 2016
@RussellSpitzer Sorry. I missed the last update on update. Would you please update the PR? I will review it and get it merged when it pass all tests. |
RussellSpitzer
commented
Jul 8, 2016
Updated |
SparkQA
commented
Jul 9, 2016
Test build #3176 has finished for PR 11317 at commit
|
In order to make it clear which filters are fully handled by the underlying datasource we will mark them with a *. This will give a clear visual queue to users that the filter is being treated differently by catalyst than filters which are just presented to the underlying DataSource.
yhuai
commented
Jul 11, 2016
tes this please |
yhuai
commented
Jul 11, 2016
tes thsi please |
yhuai
commented
Jul 11, 2016
ok to test |
SparkQA
commented
Jul 12, 2016
Test build #62122 has finished for PR 11317 at commit
|
yhuai
commented
Jul 12, 2016
lgtm. Merging to master. |
What changes were proposed in this pull request?
In order to make it clear which filters are fully handled by the
underlying datasource we will mark them with an *. This will give a
clear visual queue to users that the filter is being treated differently
by catalyst than filters which are just presented to the underlying
DataSource.
Examples from the FilteredScanSuite, in this example
c IN (...)is handled by the source,b < ...is notBefore
After
How was the this patch tested?
Manually tested with the Spark Cassandra Connector, a source which fully handles underlying filters. Now fully handled filters appear with an * next to their names. I can add an automated test as well if requested
Post 1.6.1
Tested by modifying the FilteredScanSuite to run explains.