[ 
https://issues.apache.org/jira/browse/TAJO-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388495#comment-14388495
 ] 

ASF GitHub Bot commented on TAJO-1462:
--------------------------------------

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

    https://github.com/apache/tajo/pull/475#discussion_r27476499
  
    --- Diff: tajo-docs/src/main/sphinx/table_management/text.rst ---
    @@ -1,21 +1,21 @@
     *************************************
    -CSV (TextFile)
    +TEXT
     *************************************
     
    -A character-separated values (CSV) file represents a tabular data set 
consisting of rows and columns.
    +A character-separated values text file represents a tabular data set 
consisting of rows and columns.
     Each row is a plan-text line. A line is usually broken by a character line 
feed ``\n`` or carriage-return ``\r``.
     The line feed ``\n`` is the default delimiter in Tajo. Each record 
consists of multiple fields, separated by
     some other character or string, most commonly a literal vertical bar 
``|``, comma ``,`` or tab ``\t``.
     The vertical bar is used as the default field delimiter in Tajo.
     
     =========================================
    -How to Create a CSV Table ?
    +How to Create a TEXT Table ?
     =========================================
     
     If you are not familiar with the ``CREATE TABLE`` statement, please refer 
to the Data Definition Language :doc:`/sql_language/ddl`.
     
     In order to specify a certain file format for your table, you need to use 
the ``USING`` clause in your ``CREATE TABLE``
    -statement. The below is an example statement for creating a table using 
CSV files.
    +statement. The below is an example statement for creating a table using 
text files.
    --- End diff --
    
    Same comment with the above one.


> Replace CSV examples into TEXT examples in docs
> -----------------------------------------------
>
>                 Key: TAJO-1462
>                 URL: https://issues.apache.org/jira/browse/TAJO-1462
>             Project: Tajo
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Trivial
>             Fix For: 0.10.1
>
>         Attachments: TAJO-1462.Hyun.150328.0.patch.txt, 
> TAJO-1462.Hyun.150331.0.patch.txt
>
>
> To guide users to move from CSV into TEXT storage type, this issue propose to 
> replace CSV examples into TEXT examples.
> * Case 1: An example with no delimiter definition
> {code:sql}
> - USING CSV
> + USING TEXT WITH ('textfile.delimiter'=',')
> {code}
> * Case 2: An example with text delimiter definition
> {code:sql}
> - USING CSV WITH('text.delimiter'='\u0001',...)
> + USING TEXT WITH('text.delimiter'='\u0001',...)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to