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 2022/04/03 22:20:00 UTC
[jira] [Commented] (SPARK-38779) Unify the pushed operator checking between FileSource test suite and JDBC test suite
[ https://issues.apache.org/jira/browse/SPARK-38779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17516596#comment-17516596 ]
Apache Spark commented on SPARK-38779:
--------------------------------------
User 'huaxingao' has created a pull request for this issue:
https://github.com/apache/spark/pull/36050
> Unify the pushed operator checking between FileSource test suite and JDBC test suite
> ------------------------------------------------------------------------------------
>
> Key: SPARK-38779
> URL: https://issues.apache.org/jira/browse/SPARK-38779
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0, 3.4.0
> Reporter: Huaxin Gao
> Priority: Minor
>
> In JDBCV2Suite, we use checkPushedInfo to check the pushed down operators. Will do the same for FileSourceAggregatePushDownSuite
> {code:java}
> private def checkPushedInfo(df: DataFrame, expectedPlanFragment: String): Unit = {
> df.queryExecution.optimizedPlan.collect {
> case _: DataSourceV2ScanRelation =>
> checkKeywordsExistsInExplain(df, expectedPlanFragment)
> }
> }
> {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