-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GLUTEN-8183][CORE] Prune unused column in project operator #8295
Conversation
786dcfe
to
994061b
Compare
0065d48
to
3e8cd31
Compare
@taiyang-li @PHILO-HE @ulysses-you Could you help to review? |
/Benchmark Velox |
c15e39b
to
1505ae5
Compare
Run Gluten Clickhouse CI on x86 |
/Benchmark Velox |
@ulysses-you @PHILO-HE @taiyang-li This PR is ready for review. We didn't notice that we actually added a lot of unnecessary columns to the project. |
@liujiayi771, our internal test shows that there is a bit perf. regression on TPCH. Is it related to this pr?
|
@PHILO-HE According to the TPCH plan golden file, the only change is that the number of columns output by the pre-project before the aggregation has decreased, and there are no other changes at the plan level. Is there any fluctuation? |
@liujiayi771, just verified the main branch, it has the same regression. So I believe the regression is not caused by your pr. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! One comment related to test. @taiyang-li, please take a look.
import org.apache.spark.SparkConf | ||
import org.apache.spark.sql.GlutenSQLTestsTrait | ||
|
||
class GlutenExtensionRewriteRuleSuite extends GlutenSQLTestsTrait { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, we can move this test into gluten/gluten-ut/test
, which will make it tested for all supported Spark with just one test file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
1 similar comment
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
What changes were proposed in this pull request?
Fix #8183
How was this patch tested?
Add a new UT.