carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuchuanyin <...@git.apache.org>
Subject [GitHub] carbondata pull request #1213: [CARBONDATA-1342] Fixed bugs for spark conf p...
Date Sat, 05 Aug 2017 03:39:43 GMT
Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1213#discussion_r131513710
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/metadata/AbsoluteTableIdentifier.java
---
    @@ -99,8 +98,9 @@ public static AbsoluteTableIdentifier fromTablePath(String tablePath)
{
       }
     
       public String getTablePath() {
    -    return getStorePath() + File.separator + getCarbonTableIdentifier().getDatabaseName()
+
    -        File.separator + getCarbonTableIdentifier().getTableName();
    +    return getStorePath() + CarbonCommonConstants.FILE_SEPARATOR + getCarbonTableIdentifier()
    --- End diff --
    
    why need to change this? In another modification in this PR, you still use `File.separator`
in `renameBadRecord`.


---
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.
---

Mime
View raw message