huaxingao opened a new pull request #34540:
URL: https://github.com/apache/spark/pull/34540


   
   
   ### What changes were proposed in this pull request?
   Currently, the empty pushed aggregate and pushed group by are logged in 
Explain for JDBCScan
   ```
   Scan 
org.apache.spark.sql.execution.datasources.v2.jdbc.JDBCScan$$anon$1@72e75786 
[NAME#1,SALARY#2] PushedAggregates: [], PushedFilters: [IsNotNull(SALARY), 
GreaterThan(SALARY,100.00)], PushedGroupby: [], ReadSchema: 
struct<NAME:string,SALARY:decimal(20,2)>
   ```
   
   After the fix, the JDBCSScan will be
   ```
   Scan 
org.apache.spark.sql.execution.datasources.v2.jdbc.JDBCScan$$anon$1@72e75786 
[NAME#1,SALARY#2] PushedFilters: [IsNotNull(SALARY), 
GreaterThan(SALARY,100.00)], ReadSchema: 
struct<NAME:string,SALARY:decimal(20,2)>
   ```
   
   
   ### Why are the changes needed?
   address this comment 
https://github.com/apache/spark/pull/34451#discussion_r740220800
   
   
   ### Does this PR introduce _any_ user-facing change?
   no
   
   
   ### How was this patch tested?
   existing tests
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to