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

Add an option to skip the table names for the column headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Beeline
    • None

    Description

      It would be good to have an option where the beeline output could skip reporting the <table_name>.<column_name> in the headers.

      Eg:

      0: jdbc:hive2://:> select * from sample_07 limit 1; 
      --------------------------------------------------------------------------------------------------
      sample_07.code	sample_07.description	sample_07.total_emp	sample_07.salary
      --------------------------------------------------------------------------------------------------
      00-0000	Operations	123	12345
      --------------------------------------------------------------------------------------------------
      

      b) After the option is set:

      0: jdbc:hive2://:> select * from sample_07 limit 1; 
      ---------------------------------------------------
      code	 description	total_emp	 salary
      ---------------------------------------------------
      00-0000	Operations	123	12345
      

      Attachments

        Issue Links

          Activity

            People

              kuczoram Marta Kuczora
              vihangk1 Vihang Karajgaonkar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: