Hive
  1. Hive
  2. HIVE-634

ctrl-A is the only output delimiter used, regardless of the Hive table structure

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 0.3.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      No matter what the table format, INSERT OVERWRITE LOCAL DIRECTORY will always use ctrl-A delimiters ('\001' ).

      INSERT OVERWRITE LOCAL DIRECTORY '/mnt/daily_timelines' SELECT * FROM daily_timelines;

      where daily_timelines is defined as tab delimited

      CREATE TABLE daily_timelines (
      page_id BIGINT,
      dates STRING,
      pageviews STRING,
      total_pageviews BIGINT)
      ROW FORMAT DELIMITED
      FIELDS TERMINATED BY '\t'
      STORED AS TEXTFILE;

      This page also indicates Hive uses a fixed delimiter, and should be updated:

      http://wiki.apache.org/hadoop/Hive/LanguageManual/DML

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Peter Skomoroch
            • Votes:
              9 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development