MaxGekk commented on a change in pull request #29670:
URL: https://github.com/apache/spark/pull/29670#discussion_r484909140
##########
File path:
mllib/src/main/scala/org/apache/spark/ml/source/libsvm/LibSVMRelation.scala
##########
@@ -100,7 +100,7 @@ private[libsvm] class LibSVMFileFormat
"though the input. If you know the number in advance, please specify
it via " +
"'numFeatures' option to avoid the extra scan.")
- val paths = files.map(_.getPath.toUri.toString)
Review comment:
`getPath.toUri` do some escape on special characters, which break the
case of path with glob metacharacters.
----------------------------------------------------------------
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]