dongjoon-hyun commented on code in PR #30752:
URL: https://github.com/apache/spark/pull/30752#discussion_r867563922


##########
sql/hive/src/test/scala/org/apache/spark/sql/hive/StatisticsSuite.scala:
##########
@@ -997,8 +1001,8 @@ class StatisticsSuite extends StatisticsCollectionTestBase 
with TestHiveSingleto
             sql(
               s"""
                  |ALTER TABLE $table ADD
-                 |PARTITION (ds='2008-04-09', hr='11') LOCATION 
'${dir1.toURI.toString}'
-                 |PARTITION (ds='2008-04-09', hr='12') LOCATION 
'${dir2.toURI.toString}'
+                 |PARTITION (ds='2008-04-09', hr='11') LOCATION 
'${partDir1.toURI.toString}'
+                 |PARTITION (ds='2008-04-09', hr='12') LOCATION 
'${partDir1.toURI.toString}'

Review Comment:
   Sorry for commenting here.
   
   This bug is introduced here and backported to 2.4.8/3.0.2/3.1.0 and 
SPARK-38786 fixed this at master branch for Apache Spark 3.4 recently.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to