miklosgergely commented on a change in pull request #813: HIVE-22323 Fix Desc Table bugs URL: https://github.com/apache/hive/pull/813#discussion_r334401590
########## File path: ql/src/test/results/clientpositive/autoColumnStats_5.q.out ########## @@ -202,19 +202,19 @@ PREHOOK: Input: default@partitioned1_n1 POSTHOOK: query: desc formatted partitioned1_n1 partition(part=1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1_n1 -col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses bitvector comment Review comment: If there are no statistics available then there is the regular header added by TextMetaDataFormatter during the table creation, and still the fetch task adds the header with the statistics to the table. If there are statistics then TextMetaDataFormatter doesn't add any header, it transposes the table, and then the fetch task adds the long header - which is still bad. Both of these are fixed in the patch. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
