Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10511 Replacing the implementation of Hive CLI using Beeline
  3. HIVE-11236

BeeLine-Cli: use the same output format as old CLI in the new CLI

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • beeline-cli-branch
    • CLI
    • None

    Description

      In old CLI, the output format is as follows:

      hive> show tables;
      OK
      tbl1_name
      tbl2_name
      Time taken: 0.808 seconds, Fetched: 2 row(s)
      
      hive> describe tbl1_name;
      OK
      a                   	int                 	                    
      b                   	int 
      

      This requires the default outputformat for new CLI is dsv with delimiter ' ' and disable the showHeader option.

      Attachments

        1. HIVE-11236.1-beeline-cli.patch
          3 kB
          Ferdinand Xu

        Activity

          People

            Ferd Ferdinand Xu
            Ferd Ferdinand Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: