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

use SequenceFile rather than TextFile format for hive query results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Hive query's result is written to a temporary directory first and then FetchTask takes the files and display it to the users. Currently the file format used for the resulting file is TextFile format. This could cause incorrect result display if some string typed column contains new lines, which are used as record delimiters in TextInputFormat. Switching to SequenceFile format will solve this problem.

        Attachments

        1. HIVE-1598.2.patch
          18 kB
          Ning Zhang
        2. HIVE-1598.patch
          11 kB
          Ning Zhang

          Issue Links

            Activity

              People

              • Assignee:
                nzhang Ning Zhang
                Reporter:
                nzhang Ning Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: