You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/11/09 23:54:00 UTC

[jira] [Commented] (SPARK-37262) Not log empty aggregate and group by in JDBCScan

    [ https://issues.apache.org/jira/browse/SPARK-37262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441429#comment-17441429 ] 

Apache Spark commented on SPARK-37262:
--------------------------------------

User 'huaxingao' has created a pull request for this issue:
https://github.com/apache/spark/pull/34540

> Not log empty aggregate and group by in JDBCScan
> ------------------------------------------------
>
>                 Key: SPARK-37262
>                 URL: https://issues.apache.org/jira/browse/SPARK-37262
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0, 3.3.0
>            Reporter: Huaxin Gao
>            Priority: Minor
>
> Address the comment https://github.com/apache/spark/pull/34451#discussion_r740220800
> Current behavior:
> {code:java}
> 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)>
> {code}
> After the fix, it will be
> {code:java}
> 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)>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org