You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "苏锦佩 (JIRA)" <ji...@apache.org> on 2019/07/26 10:48:00 UTC
[jira] [Created] (TRAFODION-3319) support multiple characters field
and record separator when for data loading and extracting
苏锦佩 created TRAFODION-3319:
------------------------------
Summary: support multiple characters field and record separator when for data loading and extracting
Key: TRAFODION-3319
URL: https://issues.apache.org/jira/browse/TRAFODION-3319
Project: Apache Trafodion
Issue Type: New Feature
Components: db-utility-odb
Reporter: 苏锦佩
Fix For: 2.4
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)