Github user HeartSaVioR commented on the issue:

    https://github.com/apache/spark/pull/22952
  
    I'm now also playing with Hadoop glob relevant classes to check whether 
final destination matches source path glob pattern or not.
    
    * Looks like we can leverage `GlobPattern` but it is marked as `@Private`.
    * `GlobFilter` is `@Public` but it only checks against `path.getName()` so 
it would only compare with the last component. If we would like to leverage 
this, we should split all components and compare with multiple filters.
    
    Will update the code and test once I find a viable approach.


---

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

Reply via email to