You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "kyle (Jira)" <ji...@apache.org> on 2022/03/21 09:44:00 UTC

[jira] [Updated] (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 ]

kyle updated ORC-1133:
----------------------
    Description: 
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);

  was:
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);


> 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++
>            Reporter: kyle
>            Assignee: kyle
>            Priority: Trivial
>
> 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.1#820001)