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

when writing data into filesystem from queries ,the output files could contain a line of column names

Log workAgile BoardRank to TopRank to BottomAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Query Processor
    • Labels:
      None

      Description

      For example :
      hive>desc src;
      key string
      value string

      hive>select * from src;
      1 10
      2 20

      hive>set hive.output.markschema=true;
      hive>insert overwrite local directory './test1' select * from src ;
      hive>!ls -l './test1';
      ./test1/_metadata
      ./test1/000000_0

      hive>!cat './test1/_metadata'
      key^Avalue

      hive>!cat './test1/000000_0';
      1^A10
      2^A20

        Attachments

        1. HIVE-4346-4.patch
          23 kB
          caofangkun
        2. HIVE-4346-3.patch
          8 kB
          caofangkun
        3. HIVE-4346-1.patch
          6 kB
          caofangkun

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:

                Issue deployment