carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzcclp <...@git.apache.org>
Subject [GitHub] carbondata pull request #1516: [CARBONDATA-1729]Fix the compatibility issue ...
Date Fri, 17 Nov 2017 09:03:30 GMT
Github user zzcclp commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1516#discussion_r151632600
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/datastore/impl/FileFactory.java
---
    @@ -462,39 +461,8 @@ public static DataOutputStream getDataOutputStreamUsingAppend(String
path, FileT
        * @throws IOException
        */
       public static void truncateFile(String path, FileType fileType, long newSize) throws
IOException {
    -    path = path.replace("\\", "/");
    --- End diff --
    
    want to use the interface 'CarbonFile.truncate' to truncate file uniformly.


---

Mime
View raw message