Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4623

LOAD DATA should support "ignore 1 lines" syntax

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.10.0
    • None
    • Query Processor
    • None

    Description

      MySQL supports the following syntax to ignore lines while loading data:
      LOAD DATA INFILE '/tmp/test.txt' INTO TABLE test IGNORE 1 LINES;

      Its a nice shortcut, especially for CSV files with column headers.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gwenshap Gwen Shapira
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: