[ 
https://issues.apache.org/jira/browse/SPARK-24521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-24521:
------------------------------------

    Assignee:     (was: Apache Spark)

> Fix ineffective test in CachedTableSuite
> ----------------------------------------
>
>                 Key: SPARK-24521
>                 URL: https://issues.apache.org/jira/browse/SPARK-24521
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Li Jin
>            Priority: Minor
>
> test("withColumn doesn't invalidate cached dataframe") in CachedTableSuite 
> doesn't not work because:
> The UDF is executed and test count incremented when "df.cache()" is called 
> and the subsequent "df.collect()" has no effect on the test result. 
> link:
> https://github.com/apache/spark/blob/master/sql/core/src/test/scala/org/apache/spark/sql/CachedTableSuite.scala#L86



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to