[ 
https://issues.apache.org/jira/browse/TRAFODION-3320?focusedWorklogId=285068&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-285068
 ]

ASF GitHub Bot logged work on TRAFODION-3320:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Jul/19 16:11
            Start Date: 30/Jul/19 16:11
    Worklog Time Spent: 10m 
      Work Description: DaveBirdsall commented on pull request #1850: 
[TRAFODION-3320] support multiple characters field and record separator when 
for data loading and extracting
URL: https://github.com/apache/trafodion/pull/1850#discussion_r308812017
 
 

 ##########
 File path: core/conn/odb/src/odb.c
 ##########
 @@ -14947,26 +15052,42 @@ static void usagexit()
         "      [:xmltag=[+]element][:xmlord][:xmldump]\n"
 #endif
         "      Defaults/notes:\n"
-        "      * src file: local file or 
{hdfs,mapr}[@host,port[,huser]].<HDFS_PATH>\n"  
+        "      * src file: local file or 
{hdfs,mapr}[@host,port[,huser]].<HDFS_PATH>\n"
         "      * fs: default ','. Also <ASCII_dec> 0<ASCII_OCT> X<ASCII_HEX>\n"
-        "      * rs: default '\\n'. Also <ASCII_dec> 0<ASCII_OCT> 
X<ASCII_HEX>\n" 
-        "      * ec: default '\\'. Also <ASCII_dec> 0<ASCII_OCT> 
X<ASCII_HEX>\n" 
-        "      * pc: no default. Also <ASCII_dec> 0<ASCII_OCT> X<ASCII_HEX>\n" 
+        "      * mcfs: default use fs as feild seperator. If mcfs was set then 
use mcfs as filed\n"
 
 Review comment:
   Typo, "feild" should be "field"
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 285068)
    Time Spent: 40m  (was: 0.5h)

> support multiple characters field and record separator when for data loading 
> and extracting
> -------------------------------------------------------------------------------------------
>
>                 Key: TRAFODION-3320
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-3320
>             Project: Apache Trafodion
>          Issue Type: New Feature
>          Components: db-utility-odb
>            Reporter: 苏锦佩
>            Priority: Major
>             Fix For: 2.4
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> suppose we have below data:
> {code:bash}
> $ cat td.data
> AAAAAABBBB|@|{color}000000120003|@|201401202|@|201401202strX'A'B'C'
> CDDEFDFD|@|000000120003|@|201401202|@|201401202strX'A'B'C'
> SEDDDFF|@|000000120003|@|201401202|@|201401202strX'A'B'C'
> TR3223DD3|@|000000120003|@|201401202|@|201401202strX'A'B'C'
> TR3E32SS|@|201401202|@|201401202strX'A'B'C'
> {code}
> we want to use "|@" as the field separator and "strX'A'B'C'" as the record 
> separator, we can use below command:
> {code:bash}
> ./odb64luo -l src=td.data:tgt=tablename:mcfs="|@|":mcrs="strX'A'B'C'"
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to