dongjoon-hyun commented on a change in pull request #26748: 
[SPARK-29392][CORE][SQL][FOLLOWUP] Avoid deprecated (in 2.13) Symbol syntax 
'foo in favor of simpler expression, where it generated deprecation warnings
URL: https://github.com/apache/spark/pull/26748#discussion_r353482272
 
 

 ##########
 File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/PruneFileSourcePartitionsSuite.scala
 ##########
 @@ -65,7 +65,8 @@ class PruneFileSourcePartitionsSuite extends QueryTest with 
SQLTestUtils with Te
           options = Map.empty)(sparkSession = spark)
 
         val logicalRelation = LogicalRelation(relation, tableMeta)
-        val query = Project(Seq('i, 'p), Filter('p === 1, 
logicalRelation)).analyze
+        val query = Project(Seq(Symbol("i"), Symbol("p")),
+          Filter(Symbol("p") === 1, logicalRelation)).analyze
 
 Review comment:
   nit.
   ```scala
   -        val query = Project(Seq(Symbol("i"), Symbol("p")),
   -          Filter(Symbol("p") === 1, logicalRelation)).analyze
   +        val query = Project(Seq($"i", $"p"), Filter($"p" === 1, 
logicalRelation)).analyze
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to