You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by shivzone <gi...@git.apache.org> on 2015/12/01 16:55:10 UTC

[GitHub] incubator-hawq pull request: Hawq 189

Github user shivzone commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/136#discussion_r46295586
  
    --- Diff: pxf/pxf-service/src/main/java/org/apache/hawq/pxf/service/rest/WritableResource.java ---
    @@ -143,7 +146,8 @@ private static Response writeResponse(Bridge bridge,
             } finally {
                 inputStream.close();
             }
    -        returnMsg = "wrote " + totalWritten + " bulks to " + path;
    +        String censuredPath = path.replaceAll("[^a-zA-Z0-9_-]", ".");
    --- End diff --
    
    this has be be done as part of a utility. We might commonly use this in other apis and possibly modify it later


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