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

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_r308810362
 
 

 ##########
 File path: core/conn/odb/src/odb.c
 ##########
 @@ -1537,7 +1540,9 @@ int main(int ac, char *av[])
             fprintf(stderr, "\tChild EID (.child): %d\n", etab[i].child);
             fprintf(stderr, "\tTBE flag (.tbe): %d\n", etab[i].tbe);
             fprintf(stderr, "\tField Separator (.fs): %d (decimal value)\n", 
etab[i].fs);
+            fprintf(stderr, "\tMuti Charaters Field Separator (.mcfs): %s\n", 
etab[i].mcfs);
             fprintf(stderr, "\tRecord Separator (.rs): %d (decimal value)\n", 
etab[i].rs);
+            fprintf(stderr, "\tMuti Charaters Record Separator (.mcrs): %s\n", 
etab[i].mcrs);
 
 Review comment:
   Similar typo here
 
----------------------------------------------------------------
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: 285067)
    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