Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-1133

csv-import tool some command line option not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.7.4
    • 1.7.5
    • C++
    • None

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

      Attachments

        Issue Links

          Activity

            People

              kylegrains kyle
              kylegrains kyle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: