You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/03/29 01:00:00 UTC
[jira] [Resolved] (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 ]
Quanlong Huang resolved ORC-1133.
---------------------------------
Fix Version/s: 1.8.0
Resolution: Fixed
This is resolved by [https://github.com/apache/orc/pull/1069]. Thank [~kylegrains]!
> 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
> Fix For: 1.8.0
>
>
> 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)