dongjoon-hyun commented on a change in pull request #24637: [SPARK-27707][SQL]
Prune unnecessary nested fields from Generate in explode
URL: https://github.com/apache/spark/pull/24637#discussion_r300880522
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1576,7 +1576,8 @@ object SQLConf {
.doc("Prune nested fields from a logical relation's output which are
unnecessary in " +
"satisfying a query. This optimization allows columnar file format
readers to avoid " +
"reading unnecessary nested column data. Currently Parquet and ORC are
the " +
- "data sources that implement this optimization.")
+ "data sources that implement this optimization. This optimization also
allows pruning " +
+ "unnecessary nested fields in expressions of operator.")
Review comment:
Can we have another configuration for this `pruning on expressions`? For me,
this is not about `nestedSchemaPruning` because this seems irrelevant `schema`
changing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]