flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhangminglei <...@git.apache.org>
Subject [GitHub] flink pull request #4168: [FLINK-6987] Fix erroneous when path containing sp...
Date Fri, 23 Jun 2017 07:43:48 GMT
Github user zhangminglei commented on a diff in the pull request:

    --- Diff: flink-core/src/main/java/org/apache/flink/api/common/io/FileInputFormat.java
    @@ -461,8 +463,9 @@ public LocatableInputSplitAssigner getInputSplitAssigner(FileInputSplit[]
     		// take the desired number of splits into account
     		minNumSplits = Math.max(minNumSplits, this.numSplits);
    -		final Path path = this.filePath;
    +		final Path path = new Path(URLDecoder.decode(this.filePath.toString(), Charset.defaultCharset().name()));
    --- End diff --
    What do you mean ? My computer is windows and operation system belongs to windows 7. I
didnt get any error with this line of code and with a folder called ```flink-1.3.1 2```  to
build it with test. Test passed with ```flink-1.3.1 2``` when build flink.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message