phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabrielreid <...@git.apache.org>
Subject [GitHub] phoenix pull request: Update CsvBulkLoadTool.java by changing the ...
Date Fri, 01 May 2015 10:49:51 GMT
Github user gabrielreid commented on the pull request:

    https://github.com/apache/phoenix/pull/82#issuecomment-98099314
  
    I'm not really in favor of this change, as it would break the default working of the loader,
and because it actually *is* possible to specify a tab (or other escape-based character) as
the separator, although the way of doing this is not well known.
    
    You can supply a tab character on the command line in the current loader in two ways:
    1. after typing the "-d" and a leading single quote, type Ctrl+v and then hit the tab
button, and a closing single quote. This provides a tab literal on the command line
    2. enter the -d parameter as -d $'\t' 
    
    This general issue (and both of these solutions) are not Phoenix-specific, they're just
the way in which you provide escape character values on the command line.
    
    I'm going to update the documentation on http://phoenix.apache.org/bulk_dataload.html
to include this information.


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