You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by wangyum <gi...@git.apache.org> on 2018/09/16 16:34:07 UTC

[GitHub] spark pull request #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSo...

GitHub user wangyum opened a pull request:

    https://github.com/apache/spark/pull/22435

    [SPARK-25423][SQL] Output "dataFilters" in DataSourceScanExec.metadata

    ## What changes were proposed in this pull request?
    
    Output `dataFilters` in `DataSourceScanExec.metadata`.
    
    ## How was this patch tested?
    
    unit tests


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangyum/spark SPARK-25423

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22435.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22435
    
----
commit 830e1881b4ef4d9bb661d8b6635470e2596d4eaa
Author: Yuming Wang <yu...@...>
Date:   2018-09-16T16:31:32Z

    Output "dataFilters" in DataSourceScanExec.metadata

----


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96115/
    Test PASSed.


---

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


[GitHub] spark pull request #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSo...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22435#discussion_r217933342
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/DataSourceScanExecRedactionSuite.scala ---
    @@ -83,4 +83,20 @@ class DataSourceScanExecRedactionSuite extends QueryTest with SharedSQLContext {
         }
       }
     
    +  test("FileSourceScanExec metadata") {
    +    withTempDir { dir =>
    +      val basePath = dir.getCanonicalPath
    +      spark.range(0, 10).toDF("a").write.parquet(new Path(basePath, "foo=1").toString)
    +      val df = spark.read.parquet(basePath).filter("a = 1")
    --- End diff --
    
    Hi, @wangyum . I know that you follow the style of the other test cases in this suite, but could you simplify like the following? We had better keep a single test case as simple as possible by excluding irrelevant stuffs.
    ```scala
        withTempPath { path =>
          val dir = path.getCanonicalPath
          spark.range(0, 10).toDF("a").write.parquet(dir)
          val df = spark.read.parquet(dir).filter("a = 1")
    ```


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/96111/
    Test PASSed.


---

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


[GitHub] spark pull request #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSo...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/22435


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Merged to the master.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3138/
    Test PASSed.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    **[Test build #96115 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/96115/testReport)** for PR 22435 at commit [`da86846`](https://github.com/apache/spark/commit/da868465de9ccdd302699786db30fe4fe90e4cfa).


---

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


[GitHub] spark pull request #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSo...

Posted by wangyum <gi...@git.apache.org>.
Github user wangyum commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22435#discussion_r217934875
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/DataSourceScanExecRedactionSuite.scala ---
    @@ -83,4 +83,20 @@ class DataSourceScanExecRedactionSuite extends QueryTest with SharedSQLContext {
         }
       }
     
    +  test("FileSourceScanExec metadata") {
    +    withTempDir { dir =>
    +      val basePath = dir.getCanonicalPath
    +      spark.range(0, 10).toDF("a").write.parquet(new Path(basePath, "foo=1").toString)
    +      val df = spark.read.parquet(basePath).filter("a = 1")
    --- End diff --
    
    Thanks @dongjoon-hyun I fixed it.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    **[Test build #96111 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/96111/testReport)** for PR 22435 at commit [`830e188`](https://github.com/apache/spark/commit/830e1881b4ef4d9bb661d8b6635470e2596d4eaa).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/3141/
    Test PASSed.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by dongjoon-hyun <gi...@git.apache.org>.
Github user dongjoon-hyun commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Thank you, @wangyum !


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    **[Test build #96115 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/96115/testReport)** for PR 22435 at commit [`da86846`](https://github.com/apache/spark/commit/da868465de9ccdd302699786db30fe4fe90e4cfa).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Merged build finished. Test PASSed.


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    **[Test build #96111 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/96111/testReport)** for PR 22435 at commit [`830e188`](https://github.com/apache/spark/commit/830e1881b4ef4d9bb661d8b6635470e2596d4eaa).


---

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


[GitHub] spark issue #22435: [SPARK-25423][SQL] Output "dataFilters" in DataSourceSca...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the issue:

    https://github.com/apache/spark/pull/22435
  
    Merged build finished. Test PASSed.


---

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