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"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:

      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: