You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2023/10/30 09:41:00 UTC

[jira] [Commented] (SPARK-45700) Fix `The outer reference in this type test cannot be checked at run time`

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

Yang Jie commented on SPARK-45700:
----------------------------------

work on this 

> Fix `The outer reference in this type test cannot be checked at run time`
> -------------------------------------------------------------------------
>
>                 Key: SPARK-45700
>                 URL: https://issues.apache.org/jira/browse/SPARK-45700
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Priority: Major
>              Labels: pull-request-available
>
> {code:java}
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:324:12: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.createScalaTestCase
> [error]       case udfTestCase: UDFTest
> [error]            ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:506:12: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries
> [error]       case udfTestCase: UDFTest =>
> [error]            ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:508:12: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries
> [error]       case udtfTestCase: UDTFSetTest =>
> [error]            ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:514:13: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries
> [error]       case _: PgSQLTest =>
> [error]             ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:522:13: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries
> [error]       case _: AnsiTest =>
> [error]             ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:524:13: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries
> [error]       case _: TimestampNTZTest =>
> [error]             ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:584:12: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries.clue
> [error]       case udfTestCase: UDFTest
> [error]            ^
> [error] /Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala:596:12: The outer reference in this type test cannot be checked at run time.
> [error] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unchecked, site=org.apache.spark.sql.SQLQueryTestSuite.runQueries.clue
> [error]       case udtfTestCase: UDTFSetTest
> [error]            ^ {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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