pinot icon indicating copy to clipboard operation
pinot copied to clipboard

HadoopPinotFS isDirectory wrong implementation

Open troywinter opened this issue 5 years ago • 0 comments

    FileStatus fileStatus = new FileStatus();
    fileStatus.setPath(new Path(uri));
    return fileStatus.isDirectory();

fileStatus will always return false, since default constructor will set isDir to false, and setPath will not affect isDir.

troywinter avatar Jan 19 '21 08:01 troywinter