Github user jiangxb1987 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19868#discussion_r180962121
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -176,12 +176,13 @@ class HadoopTableReader(
                   val matches = fs.globStatus(pathPattern)
                   matches.foreach(fileStatus => existPathSet += 
fileStatus.getPath.toString)
                 }
    -            // convert  /demo/data/year/month/day  to  /demo/data/*/*/*/
    +            // convert  /demo/data/year/month/day  to  
/demo/data/year/month/*/
    --- End diff --
    
    If the partition columns are `A/B/C/D`, unless you specify a value for `A`, 
you have to check that level. The same case for `B`/`C`/`D`


---

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

Reply via email to