chrajeshbabu opened a new issue, #15472:
URL: https://github.com/apache/pinot/issues/15472

   In case of Hive partition column values are allowed with spaces which 
apparently generate the HDFS files with spaces. To load data from such files 
with input file path segment name generator ended up with spaces in segments. 
So any such spaces segment name would be better to replace with _. 
   
   
   `
     private String safeConvertPathToFilename(String inputFilePath) {
       // Strip of leading '/' characters
       inputFilePath = inputFilePath.replaceFirst("^[/]+", "");
       // Try to create a valid filename by removing any '/' or '.' chars with 
'_'
       return inputFilePath.replaceAll("[/\\.]", "_");
     }
   `


-- 
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: commits-unsubscr...@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to