You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "William Hyun (Jira)" <ji...@apache.org> on 2022/06/16 19:16:00 UTC

[jira] [Closed] (ORC-1133) csv-import tool some command line option not working

     [ https://issues.apache.org/jira/browse/ORC-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Hyun closed ORC-1133.
-----------------------------

> csv-import tool some command line option not working
> ----------------------------------------------------
>
>                 Key: ORC-1133
>                 URL: https://issues.apache.org/jira/browse/ORC-1133
>             Project: ORC
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 1.7.4
>            Reporter: kyle
>            Assignee: kyle
>            Priority: Trivial
>             Fix For: 1.7.5
>
>
> When executing csv-import, some options is not working as expected:
> For example:
> ./csv-import -d ',' 
> The result shows:
> ./csv-import: invalid option – 'd'
>  
> Or:
> ./csv-imprt -s 1024
> The result stripe size seems not working.
>  
> In the CSVFileImport.cc, seems stripesize is defined as character 'p' instead of 's':
> {"stripe", required_argument, ORC_NULLPTR, 'p'}
>  
> and the delimiter character 'd' not in the option string:
> getopt_long(argc, argv, "i:o:s:b:c: p:t:h", longOptions, ORC_NULLPTR);



--
This message was sent by Atlassian Jira
(v8.20.7#820007)