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

webhcat should be able to return detailed serde information when show table using "fromat=extended"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None

    Description

      Now in webhcat, when using GET ddl/database/:db/table/:table and "format=extended", return value is based on query "show table extended like". However, this query doesn't contains serde info like "line.delim" and "filed.delim". In this case, user won't have enough information to reconstruct the exact same table based on the information from the json file. The "descExtendedTable" function in HcatDelegator should also return extra fields from query "desc extended tablename" which contains fields "sd", "retention", "parameters" "parametersSize" and "tableType".

      Attachments

        1. HIVE-6044.1.patch
          3 kB
          Shuaishuai Nie

        Activity

          People

            shuainie Shuaishuai Nie
            shuainie Shuaishuai Nie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: