AngersZhuuuu commented on a change in pull request #31272:
URL: https://github.com/apache/spark/pull/31272#discussion_r564974130



##########
File path: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/StatisticsSuite.scala
##########
@@ -774,9 +774,9 @@ class StatisticsSuite extends StatisticsCollectionTestBase 
with TestHiveSingleto
       StatsSetupConst.TOTAL_SIZE).forall(!tableMetadata.contains(_)))
 
     if (analyzedByHive) {
-      assert(StringUtils.filterPattern(describeResult1, 
"*numRows\\s+500*").nonEmpty)

Review comment:
       > So this PR will break change the behavior of 
`StringUtils.filterPattern` ?
   
   We can add a little logic in `escapeLikeRegex` to solve this.  




----------------------------------------------------------------
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:
[email protected]



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

Reply via email to