diff --git hbase-handler/src/test/results/positive/external_table_ppd.q.out hbase-handler/src/test/results/positive/external_table_ppd.q.out index 328131a967..cdc43ee560 100644 --- hbase-handler/src/test/results/positive/external_table_ppd.q.out +++ hbase-handler/src/test/results/positive/external_table_ppd.q.out @@ -39,7 +39,6 @@ POSTHOOK: query: DESCRIBE FORMATTED t_hbase POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t_hbase # col_name data_type comment - key string tinyint_col tinyint smallint_col smallint diff --git hbase-handler/src/test/results/positive/hbase_binary_storage_queries.q.out hbase-handler/src/test/results/positive/hbase_binary_storage_queries.q.out index 5404cd955f..153613e6d0 100644 --- hbase-handler/src/test/results/positive/hbase_binary_storage_queries.q.out +++ hbase-handler/src/test/results/positive/hbase_binary_storage_queries.q.out @@ -39,7 +39,6 @@ POSTHOOK: query: DESCRIBE FORMATTED t_hbase POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t_hbase # col_name data_type comment - key string tinyint_col tinyint smallint_col smallint @@ -219,7 +218,6 @@ POSTHOOK: query: DESCRIBE FORMATTED t_hbase_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t_hbase_1 # col_name data_type comment - key string tinyint_col tinyint smallint_col smallint diff --git hbase-handler/src/test/results/positive/hbase_ddl.q.out hbase-handler/src/test/results/positive/hbase_ddl.q.out index 8cb88edb30..c015f29b90 100644 --- hbase-handler/src/test/results/positive/hbase_ddl.q.out +++ hbase-handler/src/test/results/positive/hbase_ddl.q.out @@ -106,7 +106,6 @@ POSTHOOK: query: desc formatted hbase_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@hbase_table_1 # col_name data_type comment - key int It is a column key value string It is the column string value @@ -153,7 +152,6 @@ POSTHOOK: query: desc formatted hbase_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@hbase_table_1 # col_name data_type comment - key int It is a column key value string It is the column string value diff --git hbase-handler/src/test/results/positive/hbasestats.q.out hbase-handler/src/test/results/positive/hbasestats.q.out index b7ef954944..29eefd43a9 100644 --- hbase-handler/src/test/results/positive/hbasestats.q.out +++ hbase-handler/src/test/results/positive/hbasestats.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: desc formatted users POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@users # col_name data_type comment - key string state string country string @@ -118,7 +117,6 @@ POSTHOOK: query: desc formatted users POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@users # col_name data_type comment - key string state string country string @@ -183,7 +181,6 @@ POSTHOOK: query: desc formatted users POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@users # col_name data_type comment - key string state string country string @@ -239,7 +236,6 @@ POSTHOOK: query: desc formatted users POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@users # col_name data_type comment - key string state string country string @@ -310,7 +306,6 @@ POSTHOOK: query: desc formatted users POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@users # col_name data_type comment - key string state string country string diff --git itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_blobstore.q.out itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_blobstore.q.out index c1e57eeeb5..8750dbf0be 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_blobstore.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_blobstore.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -145,7 +144,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -191,7 +189,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -245,7 +242,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_local.q.out itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_local.q.out index 4d296da8fc..4a821ea795 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_local.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_local.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -145,7 +144,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -191,7 +189,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -245,7 +242,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_warehouse.q.out itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_warehouse.q.out index fce5ffe503..31745a0937 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_warehouse.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_blobstore_to_warehouse.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -141,7 +140,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -183,7 +181,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -233,7 +230,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_local_to_blobstore.q.out itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_local_to_blobstore.q.out index 72068c5f6b..8c689d4d42 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_local_to_blobstore.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_addpartition_local_to_blobstore.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -143,7 +142,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -187,7 +185,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -239,7 +236,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_blobstore.q.out itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_blobstore.q.out index b15a22fb64..741eef5df3 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_blobstore.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_blobstore.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -139,7 +138,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_local.q.out itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_local.q.out index 4d2eeb09d5..00ab66b8bd 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_local.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_local.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -139,7 +138,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_warehouse.q.out itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_warehouse.q.out index 764c86d8cb..01cae7ce8c 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_warehouse.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_blobstore_to_warehouse.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -135,7 +134,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git itests/hive-blobstore/src/test/results/clientpositive/import_local_to_blobstore.q.out itests/hive-blobstore/src/test/results/clientpositive/import_local_to_blobstore.q.out index 56343bb631..6e2b38bbcd 100644 --- itests/hive-blobstore/src/test/results/clientpositive/import_local_to_blobstore.q.out +++ itests/hive-blobstore/src/test/results/clientpositive/import_local_to_blobstore.q.out @@ -60,7 +60,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### @@ -137,7 +136,6 @@ emp_country string two char iso code # Partition Information # col_name data_type comment - emp_country string two char iso code #### A masked pattern was here #### diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java index 443be545d4..30cbd8d36e 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -144,6 +144,7 @@ import org.apache.hadoop.hive.ql.metadata.UniqueConstraint; import org.apache.hadoop.hive.ql.metadata.formatting.MetaDataFormatUtils; import org.apache.hadoop.hive.ql.metadata.formatting.MetaDataFormatter; +import org.apache.hadoop.hive.ql.metadata.formatting.TextMetaDataTable; import org.apache.hadoop.hive.ql.parse.AlterTablePartMergeFilesDesc; import org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer; @@ -2011,7 +2012,9 @@ private int msck(Hive db, MsckDesc msckDesc) { for (String val : vals) { String escapedPath = FileUtils.escapePathName(val); assert escapedPath != null; - if (escapedPath.equals(val)) continue; + if (escapedPath.equals(val)) { + continue; + } String errorMsg = "Repair: Cannot add partition " + msckDesc.getTableName() + ':' + part.getPartitionName() + " due to invalid characters in the name"; if (doSkip) { @@ -2637,8 +2640,11 @@ public int showColumns(Hive db, ShowColumnsDesc showCols) // In case the query is served by HiveServer2, don't pad it with spaces, // as HiveServer2 output is consumed by JDBC/ODBC clients. boolean isOutputPadded = !SessionState.get().isHiveServerQuery(); - outStream.writeBytes(MetaDataFormatUtils.getAllColumnsInformation( - cols, false, isOutputPadded, null)); + TextMetaDataTable tmd = new TextMetaDataTable(); + for (FieldSchema fieldSchema : cols) { + tmd.addRow(MetaDataFormatUtils.extractColumnValues(fieldSchema)); + } + outStream.writeBytes(tmd.renderTable(isOutputPadded, false)); } catch (IOException e) { throw new HiveException(e, ErrorMsg.GENERIC_ERROR); } finally { @@ -2715,7 +2721,9 @@ private int showLocks(Hive db, ShowLocksDesc showLocks) throws HiveException { HiveTxnManager txnManager = ctx.getHiveTxnManager(); HiveLockManager lockMgr = txnManager.getLockManager(); - if (txnManager.useNewShowLocksFormat()) return showLocksNewFormat(showLocks, lockMgr); + if (txnManager.useNewShowLocksFormat()) { + return showLocksNewFormat(showLocks, lockMgr); + } boolean isExt = showLocks.isExt(); if (lockMgr == null) { diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java index a7f29674ff..94639045b2 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataFormatUtils.java @@ -18,7 +18,6 @@ package org.apache.hadoop.hive.ql.metadata.formatting; -import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang.StringEscapeUtils; import org.apache.hadoop.hive.common.type.HiveDecimal; import org.apache.hadoop.hive.conf.HiveConf; @@ -53,9 +52,10 @@ import org.apache.hadoop.hive.serde2.io.DateWritable; import org.apache.hive.common.util.HiveStringUtils; +import com.google.common.collect.Lists; + import java.math.BigInteger; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.Date; @@ -81,81 +81,6 @@ private MetaDataFormatUtils() { } - private static void formatColumnsHeader(StringBuilder columnInformation, - List colStats) { - columnInformation.append("# "); // Easy for shell scripts to ignore - formatOutput(getColumnsHeader(colStats), columnInformation); - columnInformation.append(LINE_DELIM); - } - - /** - * Write formatted information about the given columns to a string - * @param cols - list of columns - * @param printHeader - if header should be included - * @param isOutputPadded - make it more human readable by setting indentation - * with spaces. Turned off for use by HiveServer2 - * @param colStats - * @return string with formatted column information - */ - public static String getAllColumnsInformation(List cols, - boolean printHeader, boolean isOutputPadded, List colStats) { - StringBuilder columnInformation = new StringBuilder(DEFAULT_STRINGBUILDER_SIZE); - if(printHeader){ - formatColumnsHeader(columnInformation, colStats); - } - - formatAllFields(columnInformation, cols, isOutputPadded, colStats); - return columnInformation.toString(); - } - - /** - * Write formatted information about the given columns, including partition - * columns to a string - * @param cols - list of columns - * @param partCols - list of partition columns - * @param printHeader - if header should be included - * @param isOutputPadded - make it more human readable by setting indentation - * with spaces. Turned off for use by HiveServer2 - * @return string with formatted column information - */ - public static String getAllColumnsInformation(List cols, - List partCols, boolean printHeader, boolean isOutputPadded, boolean showPartColsSep) { - StringBuilder columnInformation = new StringBuilder(DEFAULT_STRINGBUILDER_SIZE); - if(printHeader){ - formatColumnsHeader(columnInformation, null); - } - formatAllFields(columnInformation, cols, isOutputPadded, null); - - if ((partCols != null) && !partCols.isEmpty() && showPartColsSep) { - columnInformation.append(LINE_DELIM).append("# Partition Information") - .append(LINE_DELIM); - formatColumnsHeader(columnInformation, null); - formatAllFields(columnInformation, partCols, isOutputPadded, null); - } - - return columnInformation.toString(); - } - - /** - * Write formatted column information into given StringBuilder - * @param tableInfo - StringBuilder to append column information into - * @param cols - list of columns - * @param isOutputPadded - make it more human readable by setting indentation - * with spaces. Turned off for use by HiveServer2 - * @param colStats - */ - private static void formatAllFields(StringBuilder tableInfo, - List cols, boolean isOutputPadded, List colStats) { - for (FieldSchema col : cols) { - if(isOutputPadded) { - formatWithIndentation(col.getName(), col.getType(), getComment(col), tableInfo, colStats); - } - else { - formatWithoutIndentation(col.getName(), col.getType(), col.getComment(), tableInfo, colStats); - } - } - } - private static String convertToString(Decimal val) { if (val == null) { return ""; @@ -183,12 +108,12 @@ private static String convertToString(byte[] buf) { return ""; } byte[] sub = new byte[2]; - sub[0] = (byte) buf[0]; - sub[1] = (byte) buf[1]; + sub[0] = buf[0]; + sub[1] = buf[1]; return new String(sub); } - private static ColumnStatisticsObj getColumnStatisticsObject(String colName, + public static ColumnStatisticsObj getColumnStatisticsObject(String colName, String colType, List colStats) { if (colStats != null && !colStats.isEmpty()) { for (ColumnStatisticsObj cso : colStats) { @@ -201,56 +126,6 @@ private static ColumnStatisticsObj getColumnStatisticsObject(String colName, return null; } - private static void formatWithoutIndentation(String name, String type, String comment, - StringBuilder colBuffer, List colStats) { - colBuffer.append(name); - colBuffer.append(FIELD_DELIM); - colBuffer.append(type); - colBuffer.append(FIELD_DELIM); - if (colStats != null) { - ColumnStatisticsObj cso = getColumnStatisticsObject(name, type, colStats); - if (cso != null) { - ColumnStatisticsData csd = cso.getStatsData(); - if (csd.isSetBinaryStats()) { - BinaryColumnStatsData bcsd = csd.getBinaryStats(); - appendColumnStatsNoFormatting(colBuffer, "", "", bcsd.getNumNulls(), "", - bcsd.getAvgColLen(), bcsd.getMaxColLen(), "", ""); - } else if (csd.isSetStringStats()) { - StringColumnStatsData scsd = csd.getStringStats(); - appendColumnStatsNoFormatting(colBuffer, "", "", scsd.getNumNulls(), scsd.getNumDVs(), - scsd.getAvgColLen(), scsd.getMaxColLen(), "", ""); - } else if (csd.isSetBooleanStats()) { - BooleanColumnStatsData bcsd = csd.getBooleanStats(); - appendColumnStatsNoFormatting(colBuffer, "", "", bcsd.getNumNulls(), "", "", "", - bcsd.getNumTrues(), bcsd.getNumFalses()); - } else if (csd.isSetDecimalStats()) { - DecimalColumnStatsData dcsd = csd.getDecimalStats(); - appendColumnStatsNoFormatting(colBuffer, convertToString(dcsd.getLowValue()), - convertToString(dcsd.getHighValue()), dcsd.getNumNulls(), dcsd.getNumDVs(), - "", "", "", ""); - } else if (csd.isSetDoubleStats()) { - DoubleColumnStatsData dcsd = csd.getDoubleStats(); - appendColumnStatsNoFormatting(colBuffer, dcsd.getLowValue(), dcsd.getHighValue(), - dcsd.getNumNulls(), dcsd.getNumDVs(), "", "", "", ""); - } else if (csd.isSetLongStats()) { - LongColumnStatsData lcsd = csd.getLongStats(); - appendColumnStatsNoFormatting(colBuffer, lcsd.getLowValue(), lcsd.getHighValue(), - lcsd.getNumNulls(), lcsd.getNumDVs(), "", "", "", ""); - } else if (csd.isSetDateStats()) { - DateColumnStatsData dcsd = csd.getDateStats(); - appendColumnStatsNoFormatting(colBuffer, - convertToString(dcsd.getLowValue()), - convertToString(dcsd.getHighValue()), - dcsd.getNumNulls(), dcsd.getNumDVs(), "", "", "", ""); - } - } else { - appendColumnStatsNoFormatting(colBuffer, "", "", "", "", "", "", "", ""); - } - } - colBuffer.append(comment == null ? "" : HiveStringUtils.escapeJava(comment)); - colBuffer.append(LINE_DELIM); - } - public static String getIndexInformation(Index index, boolean isOutputPadded) { StringBuilder indexInfo = new StringBuilder(DEFAULT_STRINGBUILDER_SIZE); @@ -283,9 +158,9 @@ public static String getIndexInformation(Index index, boolean isOutputPadded) { indexColumns.add(indexType.getName()); String comment = index.getParameters().get("comment"); - indexColumns.add(comment == null ? null : HiveStringUtils.escapeJava(comment)); + indexColumns.add(comment); - formatOutput(indexColumns.toArray(new String[0]), indexInfo, isOutputPadded); + formatOutput(indexColumns.toArray(new String[0]), indexInfo, isOutputPadded, isOutputPadded); return indexInfo.toString(); } @@ -634,27 +509,35 @@ private static String formatDate(long timeInSeconds) { * @param isLastLinePadded Is the last field could be printed in multiple lines, if contains * newlines? */ - private static void formatOutput(String[] fields, StringBuilder tableInfo, - boolean isLastLinePadded) { - int[] paddings = new int[fields.length-1]; - if (fields.length > 1) { - for (int i = 0; i < fields.length - 1; i++) { - if (fields[i] == null) { - tableInfo.append(FIELD_DELIM); - continue; + public static void formatOutput(String[] fields, StringBuilder tableInfo, + boolean isLastLinePadded, boolean isFormatted) { + if (!isFormatted) { + for (int i = 0; i < fields.length; i++) { + Object value = HiveStringUtils.escapeJava(fields[i]); + if (value != null) { + tableInfo.append(value); } - tableInfo.append(String.format("%-" + ALIGNMENT + "s", fields[i])).append(FIELD_DELIM); - paddings[i] = ALIGNMENT > fields[i].length() ? ALIGNMENT : fields[i].length(); + tableInfo.append((i == fields.length - 1) ? LINE_DELIM : FIELD_DELIM); } - } - if (fields.length > 0) { - String value = fields[fields.length-1]; - String unescapedValue = - (isLastLinePadded && value != null) ? value.replaceAll("\\\\n|\\\\r|\\\\r\\\\n","\n") - :value; - indentMultilineValue(unescapedValue, tableInfo, paddings, false); } else { - tableInfo.append(LINE_DELIM); + int[] paddings = new int[fields.length - 1]; + if (fields.length > 1) { + for (int i = 0; i < fields.length - 1; i++) { + if (fields[i] == null) { + tableInfo.append(FIELD_DELIM); + continue; + } + tableInfo.append(String.format("%-" + ALIGNMENT + "s", fields[i])).append(FIELD_DELIM); + paddings[i] = ALIGNMENT > fields[i].length() ? ALIGNMENT : fields[i].length(); + } + } + if (fields.length > 0) { + String value = fields[fields.length - 1]; + String unescapedValue = (isLastLinePadded && value != null) ? value.replaceAll("\\\\n|\\\\r|\\\\r\\\\n", "\n") : value; + indentMultilineValue(unescapedValue, tableInfo, paddings, false); + } else { + tableInfo.append(LINE_DELIM); + } } } @@ -664,7 +547,7 @@ private static void formatOutput(String[] fields, StringBuilder tableInfo, * @param tableInfo The target builder */ private static void formatOutput(String[] fields, StringBuilder tableInfo) { - formatOutput(fields, tableInfo, false); + formatOutput(fields, tableInfo, false, false); } /** @@ -696,61 +579,52 @@ protected static void formatOutput(String name, String value, StringBuilder tabl formatOutput(name, unescapedValue, tableInfo); } - private static void formatWithIndentation(String colName, String colType, String colComment, - StringBuilder tableInfo, List colStats) { - tableInfo.append(String.format("%-" + ALIGNMENT + "s", colName)).append(FIELD_DELIM); - tableInfo.append(String.format("%-" + ALIGNMENT + "s", colType)).append(FIELD_DELIM); + public static String[] extractColumnValues(FieldSchema col) { + return extractColumnValues(col, false, null); + } + + public static String[] extractColumnValues(FieldSchema col, boolean isColStatsAvailable, ColumnStatisticsObj columnStatisticsObj){ + List ret = new ArrayList<>(); + ret.add(col.getName()); + ret.add(col.getType()); - if (colStats != null) { - ColumnStatisticsObj cso = getColumnStatisticsObject(colName, colType, colStats); - if (cso != null) { - ColumnStatisticsData csd = cso.getStatsData(); + if (isColStatsAvailable) { + if (columnStatisticsObj != null) { + ColumnStatisticsData csd = columnStatisticsObj.getStatsData(); if (csd.isSetBinaryStats()) { BinaryColumnStatsData bcsd = csd.getBinaryStats(); - appendColumnStats(tableInfo, "", "", bcsd.getNumNulls(), "", "", bcsd.getAvgColLen(), - bcsd.getMaxColLen(), "", ""); + ret.addAll(Lists.newArrayList("", "", "" + bcsd.getNumNulls(), "", "" + bcsd.getAvgColLen(), "" + bcsd.getMaxColLen(), "", "", "")); } else if (csd.isSetStringStats()) { StringColumnStatsData scsd = csd.getStringStats(); - appendColumnStats(tableInfo, "", "", scsd.getNumNulls(), scsd.getNumDVs(), - convertToString(scsd.getBitVectors()), scsd.getAvgColLen(), - scsd.getMaxColLen(), "", ""); + ret.addAll(Lists.newArrayList("", "", "" + scsd.getNumNulls(), "" + scsd.getNumDVs(), "" + scsd.getAvgColLen(), "" + scsd.getMaxColLen(), "", "", + convertToString(scsd.getBitVectors()))); } else if (csd.isSetBooleanStats()) { BooleanColumnStatsData bcsd = csd.getBooleanStats(); - appendColumnStats(tableInfo, "", "", bcsd.getNumNulls(), "", "", "", "", - bcsd.getNumTrues(), bcsd.getNumFalses()); + ret.addAll(Lists.newArrayList("", "", "" + bcsd.getNumNulls(), "", "", "", "" + bcsd.getNumTrues(), "" + bcsd.getNumFalses(), "")); } else if (csd.isSetDecimalStats()) { DecimalColumnStatsData dcsd = csd.getDecimalStats(); - appendColumnStats(tableInfo, convertToString(dcsd.getLowValue()), - convertToString(dcsd.getHighValue()), dcsd.getNumNulls(), dcsd.getNumDVs(), - convertToString(dcsd.getBitVectors()), - "", "", "", ""); + ret.addAll(Lists.newArrayList(convertToString(dcsd.getLowValue()), convertToString(dcsd.getHighValue()), "" + dcsd.getNumNulls(), + "" + dcsd.getNumDVs(), "", "", "", "", convertToString(dcsd.getBitVectors()))); } else if (csd.isSetDoubleStats()) { DoubleColumnStatsData dcsd = csd.getDoubleStats(); - appendColumnStats(tableInfo, dcsd.getLowValue(), dcsd.getHighValue(), dcsd.getNumNulls(), - dcsd.getNumDVs(), convertToString(dcsd.getBitVectors()), - "", "", "", ""); + ret.addAll(Lists.newArrayList("" + dcsd.getLowValue(), "" + dcsd.getHighValue(), "" + dcsd.getNumNulls(), "" + dcsd.getNumDVs(), "", "", "", "", + convertToString(dcsd.getBitVectors()))); } else if (csd.isSetLongStats()) { LongColumnStatsData lcsd = csd.getLongStats(); - appendColumnStats(tableInfo, lcsd.getLowValue(), lcsd.getHighValue(), lcsd.getNumNulls(), - lcsd.getNumDVs(), convertToString(lcsd.getBitVectors()), - "", "", "", ""); + ret.addAll(Lists.newArrayList("" + lcsd.getLowValue(), "" + lcsd.getHighValue(), "" + lcsd.getNumNulls(), "" + lcsd.getNumDVs(), "", "", "", "", + convertToString(lcsd.getBitVectors()))); } else if (csd.isSetDateStats()) { DateColumnStatsData dcsd = csd.getDateStats(); - appendColumnStats(tableInfo, - convertToString(dcsd.getLowValue()), - convertToString(dcsd.getHighValue()), - dcsd.getNumNulls(), dcsd.getNumDVs(), - convertToString(dcsd.getBitVectors()), - "", "", "", ""); + ret.addAll(Lists.newArrayList(convertToString(dcsd.getLowValue()), convertToString(dcsd.getHighValue()), "" + dcsd.getNumNulls(), + "" + dcsd.getNumDVs(), "", "", "", "", convertToString(dcsd.getBitVectors()))); } } else { - appendColumnStats(tableInfo, "", "", "", "", "", "", "", "", ""); + ret.addAll(Lists.newArrayList("", "", "", "", "", "", "", "", "")); + } } - } - int colNameLength = ALIGNMENT > colName.length() ? ALIGNMENT : colName.length(); - int colTypeLength = ALIGNMENT > colType.length() ? ALIGNMENT : colType.length(); - indentMultilineValue(colComment, tableInfo, new int[]{colNameLength, colTypeLength}, false); + ret.add(getComment(col)); + return ret.toArray(new String[] {}); } /** @@ -796,32 +670,6 @@ private static void printPadding(StringBuilder tableInfo, int[] columnWidths) { } } - private static void appendColumnStats(StringBuilder sb, Object min, Object max, Object numNulls, - Object ndv, Object bitVector, Object avgColLen, Object maxColLen, Object numTrues, Object numFalses) { - sb.append(String.format("%-" + ALIGNMENT + "s", min)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", max)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", numNulls)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", ndv)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", avgColLen)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", maxColLen)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", numTrues)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", numFalses)).append(FIELD_DELIM); - sb.append(String.format("%-" + ALIGNMENT + "s", bitVector)).append(FIELD_DELIM); - } - - private static void appendColumnStatsNoFormatting(StringBuilder sb, Object min, - Object max, Object numNulls, Object ndv, Object avgColLen, Object maxColLen, - Object numTrues, Object numFalses) { - sb.append(min).append(FIELD_DELIM); - sb.append(max).append(FIELD_DELIM); - sb.append(numNulls).append(FIELD_DELIM); - sb.append(ndv).append(FIELD_DELIM); - sb.append(avgColLen).append(FIELD_DELIM); - sb.append(maxColLen).append(FIELD_DELIM); - sb.append(numTrues).append(FIELD_DELIM); - sb.append(numFalses).append(FIELD_DELIM); - } - public static String[] getColumnsHeader(List colStats) { boolean showColStats = false; if (colStats != null) { @@ -843,4 +691,5 @@ public static MetaDataFormatter getFormatter(HiveConf conf) { return new TextMetaDataFormatter(conf.getIntVar(HiveConf.ConfVars.CLIPRETTYOUTPUTNUMCOLS), conf.getBoolVar(ConfVars.HIVE_DISPLAY_PARTITION_COLUMNS_SEPARATELY)); } } + } diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataPrettyFormatUtils.java ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataPrettyFormatUtils.java index c653252839..768cceff8b 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataPrettyFormatUtils.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/MetaDataPrettyFormatUtils.java @@ -21,7 +21,6 @@ import java.util.List; import java.util.StringTokenizer; -import org.apache.commons.lang.StringEscapeUtils; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.hive.metastore.api.FieldSchema; diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java index dcecb0e504..975d58d626 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataFormatter.java @@ -128,16 +128,46 @@ public void describeTable(DataOutputStream outStream, String colPath, PrimaryKeyInfo pkInfo, ForeignKeyInfo fkInfo, UniqueConstraint ukInfo, NotNullConstraint nnInfo) throws HiveException { try { - String output; + List partCols = tbl.isPartitioned() ? tbl.getPartCols() : null; + + if (isPretty) { + String output = MetaDataPrettyFormatUtils.getAllColumnsInformation(cols, partCols, prettyOutputNumCols); + outStream.write(output.getBytes("UTF-8")); + return; + } + String output = ""; + + boolean isColStatsAvailable = colStats != null; + + TextMetaDataTable mdt = new TextMetaDataTable(); + if (isFormatted && !isColStatsAvailable) { + output = "# "; + } + if (isFormatted) { + mdt.addRow(MetaDataFormatUtils.getColumnsHeader(colStats)); + } + for (FieldSchema col : cols) { + mdt.addRow(MetaDataFormatUtils.extractColumnValues(col, isColStatsAvailable, + MetaDataFormatUtils.getColumnStatisticsObject(col.getName(), col.getType(), colStats))); + } + if (isColStatsAvailable) { + mdt.transpose(); + } + output += mdt.renderTable(isOutputPadded, isFormatted); + if (colPath.equals(tableName)) { - List partCols = tbl.isPartitioned() ? tbl.getPartCols() : null; - output = isPretty ? - MetaDataPrettyFormatUtils.getAllColumnsInformation( - cols, partCols, prettyOutputNumCols) - : - MetaDataFormatUtils.getAllColumnsInformation(cols, partCols, isFormatted, isOutputPadded, showPartColsSeparately); + if ((partCols != null) && !partCols.isEmpty() && showPartColsSeparately) { + + mdt = new TextMetaDataTable(); + output += MetaDataFormatUtils.LINE_DELIM + "# Partition Information" + MetaDataFormatUtils.LINE_DELIM + "# "; + mdt.addRow(MetaDataFormatUtils.getColumnsHeader(null)); + for (FieldSchema col : partCols) { + mdt.addRow(MetaDataFormatUtils.extractColumnValues(col)); + } + output += mdt.renderTable(isOutputPadded, isFormatted); + } } else { - output = MetaDataFormatUtils.getAllColumnsInformation(cols, isFormatted, isOutputPadded, colStats); + String statsState; if (tbl.getParameters() != null && (statsState = tbl.getParameters().get(StatsSetupConst.COLUMN_STATS_ACCURATE)) != null) { StringBuilder str = new StringBuilder(); diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataTable.java ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataTable.java new file mode 100644 index 0000000000..180c41b70f --- /dev/null +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/formatting/TextMetaDataTable.java @@ -0,0 +1,68 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.metadata.formatting; + +import java.util.ArrayList; +import java.util.List; + +import com.google.common.collect.Lists; + +public class TextMetaDataTable { + + List> table = new ArrayList<>(); + + public void addHeader(String... values) { + assert (values.length > 0); + ArrayList v = Lists. newArrayList(values); + v.set(0, "# " + v.get(0)); + table.add(v); + } + + public void addRow(String... values) { + table.add(Lists. newArrayList(values)); + } + + public String renderTable(boolean isOutputPadded, boolean isFormatted) { + StringBuilder str = new StringBuilder(); + for (List row : table) { + MetaDataFormatUtils.formatOutput(row.toArray(new String[] {}), str, isOutputPadded, isOutputPadded); + } + return str.toString(); + } + + public void transpose() { + if (table.size() == 0) { + return; + } + List> newTable = new ArrayList>(); + for (int i = 0; i < table.get(0).size(); i++) { + newTable.add(new ArrayList<>()); + } + for (List srcRow : table) { + if (newTable.size() != srcRow.size()) { + throw new RuntimeException("invalid table size"); + } + for (int i = 0; i < srcRow.size(); i++) { + newTable.get(i).add(srcRow.get(i)); + } + } + table = newTable; + } + +} diff --git ql/src/java/org/apache/hadoop/hive/ql/plan/DescTableDesc.java ql/src/java/org/apache/hadoop/hive/ql/plan/DescTableDesc.java index 845ffcfb53..88c9921d01 100644 --- ql/src/java/org/apache/hadoop/hive/ql/plan/DescTableDesc.java +++ ql/src/java/org/apache/hadoop/hive/ql/plan/DescTableDesc.java @@ -59,7 +59,7 @@ public void setPartSpec(Map partSpec) { */ private static final String schema = "col_name,data_type,comment#string:string:string"; private static final String colStatsSchema = "col_name,data_type,min,max,num_nulls," - + "distinct_count,avg_col_len,max_col_len,num_trues,num_falses,comment,bitVector" + + "distinct_count,avg_col_len,max_col_len,num_trues,num_falses,bitVector,comment" + "#string:string:string:string:string:string:string:string:string:string:string:string"; public DescTableDesc() { diff --git ql/src/test/results/clientnegative/alter_file_format.q.out ql/src/test/results/clientnegative/alter_file_format.q.out index 4a79eaa5c8..96259e53fa 100644 --- ql/src/test/results/clientnegative/alter_file_format.q.out +++ ql/src/test/results/clientnegative/alter_file_format.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string diff --git ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out index d9a0624be4..3d3696b08f 100644 --- ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out +++ ql/src/test/results/clientnegative/alter_partition_coltype_2columns.q.out @@ -29,7 +29,6 @@ ts string # Partition Information # col_name data_type comment - dt string ts string FAILED: ParseException line 4:50 mismatched input ',' expecting ) near 'int' in alter partition key type diff --git ql/src/test/results/clientnegative/alter_partition_coltype_invalidcolname.q.out ql/src/test/results/clientnegative/alter_partition_coltype_invalidcolname.q.out index cc06fc5325..78d7e87319 100644 --- ql/src/test/results/clientnegative/alter_partition_coltype_invalidcolname.q.out +++ ql/src/test/results/clientnegative/alter_partition_coltype_invalidcolname.q.out @@ -29,7 +29,6 @@ ts string # Partition Information # col_name data_type comment - dt string ts string FAILED: SemanticException [Error 10002]: Invalid column reference dd diff --git ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out index 26ef712bb3..f50a25bae8 100644 --- ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out +++ ql/src/test/results/clientnegative/alter_partition_coltype_invalidtype.q.out @@ -29,7 +29,6 @@ ts string # Partition Information # col_name data_type comment - dt string ts string FAILED: ParseException line 4:47 cannot recognize input near 'time' ')' '' in column type diff --git ql/src/test/results/clientnegative/alter_partition_partial_spec_dyndisabled.q.out ql/src/test/results/clientnegative/alter_partition_partial_spec_dyndisabled.q.out index 8ec2c283ab..c71c9bfc3e 100644 --- ql/src/test/results/clientnegative/alter_partition_partial_spec_dyndisabled.q.out +++ ql/src/test/results/clientnegative/alter_partition_partial_spec_dyndisabled.q.out @@ -34,7 +34,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string FAILED: SemanticException [Error 10095]: Dynamic partition is disabled. Either enable it by setting hive.exec.dynamic.partition=true or specify partition column values diff --git ql/src/test/results/clientnegative/alter_view_as_select_with_partition.q.out ql/src/test/results/clientnegative/alter_view_as_select_with_partition.q.out index 4893c6195f..8e240ea83f 100644 --- ql/src/test/results/clientnegative/alter_view_as_select_with_partition.q.out +++ ql/src/test/results/clientnegative/alter_view_as_select_with_partition.q.out @@ -38,12 +38,10 @@ POSTHOOK: query: DESCRIBE FORMATTED testViewPart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testviewpart # col_name data_type comment - key string # Partition Information # col_name data_type comment - value string # Detailed Table Information diff --git ql/src/test/results/clientnegative/desc_failure2.q.out ql/src/test/results/clientnegative/desc_failure2.q.out index 7e55211002..8e3836e719 100644 --- ql/src/test/results/clientnegative/desc_failure2.q.out +++ ql/src/test/results/clientnegative/desc_failure2.q.out @@ -11,7 +11,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string FAILED: SemanticException [Error 10006]: Partition not found {ds=2012-04-08, hr=15} diff --git ql/src/test/results/clientnegative/stats_partialscan_autogether.q.out ql/src/test/results/clientnegative/stats_partialscan_autogether.q.out index a88e0b8d80..680999ffa3 100644 --- ql/src/test/results/clientnegative/stats_partialscan_autogether.q.out +++ ql/src/test/results/clientnegative/stats_partialscan_autogether.q.out @@ -44,13 +44,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/acid_table_stats.q.out ql/src/test/results/clientpositive/acid_table_stats.q.out index 6ab6b4346d..32c8531754 100644 --- ql/src/test/results/clientpositive/acid_table_stats.q.out +++ ql/src/test/results/clientpositive/acid_table_stats.q.out @@ -17,13 +17,11 @@ POSTHOOK: query: desc formatted acid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -80,13 +78,11 @@ POSTHOOK: query: desc formatted acid partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -196,13 +192,11 @@ POSTHOOK: query: desc formatted acid partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -245,13 +239,11 @@ POSTHOOK: query: desc formatted acid partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -373,13 +365,11 @@ POSTHOOK: query: desc formatted acid partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -421,13 +411,11 @@ POSTHOOK: query: desc formatted acid partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -591,13 +579,11 @@ POSTHOOK: query: desc formatted acid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -653,13 +639,11 @@ POSTHOOK: query: desc formatted acid partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/alter2.q.out ql/src/test/results/clientpositive/alter2.q.out index 47ed6d60a6..18032ac6dd 100644 --- ql/src/test/results/clientpositive/alter2.q.out +++ ql/src/test/results/clientpositive/alter2.q.out @@ -18,7 +18,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -49,7 +48,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -81,7 +79,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -121,7 +118,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -152,7 +148,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -184,7 +179,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -263,7 +257,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -294,7 +287,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -326,7 +318,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -366,7 +357,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -397,7 +387,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### @@ -429,7 +418,6 @@ insertdate string # Partition Information # col_name data_type comment - insertdate string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/alter3.q.out ql/src/test/results/clientpositive/alter3.q.out index ebae93ff39..3bd7288c13 100644 --- ql/src/test/results/clientpositive/alter3.q.out +++ ql/src/test/results/clientpositive/alter3.q.out @@ -76,7 +76,6 @@ pcol2 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string @@ -93,7 +92,6 @@ pcol2 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string @@ -148,7 +146,6 @@ pcol2 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string @@ -294,7 +291,6 @@ pcol2 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string @@ -311,7 +307,6 @@ pcol2 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string @@ -366,7 +361,6 @@ pcol2 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string diff --git ql/src/test/results/clientpositive/alter5.q.out ql/src/test/results/clientpositive/alter5.q.out index 4c83dc052a..1eb24c2d18 100644 --- ql/src/test/results/clientpositive/alter5.q.out +++ ql/src/test/results/clientpositive/alter5.q.out @@ -42,7 +42,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -82,7 +81,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -185,7 +183,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -225,7 +222,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/alterColumnStats.q.out ql/src/test/results/clientpositive/alterColumnStats.q.out index ea2416f6fb..09f2fe1008 100644 --- ql/src/test/results/clientpositive/alterColumnStats.q.out +++ ql/src/test/results/clientpositive/alterColumnStats.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: desc formatted p POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - insert_num int c1 tinyint c2 smallint @@ -62,7 +61,6 @@ POSTHOOK: query: desc formatted p POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - insert_num int c1 tinyint c2 smallint @@ -106,7 +104,6 @@ POSTHOOK: query: desc formatted p POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - insert_num int c1 string c2 string @@ -142,9 +139,18 @@ PREHOOK: Input: default@p POSTHOOK: query: desc formatted p c1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c1 string from deserializer +col_name c1 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: desc formatted p c2 PREHOOK: type: DESCTABLE @@ -152,7 +158,16 @@ PREHOOK: Input: default@p POSTHOOK: query: desc formatted p c2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c2 string from deserializer +col_name c2 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} diff --git ql/src/test/results/clientpositive/alterColumnStatsPart.q.out ql/src/test/results/clientpositive/alterColumnStatsPart.q.out index a315a6be39..6b9b7e5407 100644 --- ql/src/test/results/clientpositive/alterColumnStatsPart.q.out +++ ql/src/test/results/clientpositive/alterColumnStatsPart.q.out @@ -17,13 +17,11 @@ POSTHOOK: query: desc formatted p POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c int # Detailed Table Information @@ -66,7 +64,6 @@ POSTHOOK: query: desc formatted p partition (c=1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - a int from deserializer PREHOOK: query: desc formatted p partition (c=1) PREHOOK: type: DESCTABLE @@ -75,13 +72,11 @@ POSTHOOK: query: desc formatted p partition (c=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c int # Detailed Partition Information @@ -202,13 +197,11 @@ POSTHOOK: query: desc formatted p partition(c=4) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c int # Detailed Partition Information @@ -296,13 +289,11 @@ POSTHOOK: query: desc formatted p partition (c=100) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c int # Detailed Partition Information @@ -441,13 +432,11 @@ POSTHOOK: query: desc formatted p partition(c=100) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@p # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c int # Detailed Partition Information diff --git ql/src/test/results/clientpositive/alter_file_format.q.out ql/src/test/results/clientpositive/alter_file_format.q.out index e4be931ac5..d134bc1146 100644 --- ql/src/test/results/clientpositive/alter_file_format.q.out +++ ql/src/test/results/clientpositive/alter_file_format.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -56,7 +55,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -100,7 +98,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -144,7 +141,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -188,7 +184,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -232,7 +227,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -276,7 +270,6 @@ POSTHOOK: query: desc FORMATTED alter_file_format_test POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_file_format_test # col_name data_type comment - key int value string @@ -331,13 +324,11 @@ POSTHOOK: query: desc FORMATTED alter_partition_format_test partition(ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_partition_format_test # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -379,13 +370,11 @@ POSTHOOK: query: desc FORMATTED alter_partition_format_test partition(ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_partition_format_test # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -428,13 +417,11 @@ POSTHOOK: query: desc FORMATTED alter_partition_format_test partition(ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_partition_format_test # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -477,13 +464,11 @@ POSTHOOK: query: desc FORMATTED alter_partition_format_test partition(ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_partition_format_test # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -526,13 +511,11 @@ POSTHOOK: query: desc FORMATTED alter_partition_format_test partition(ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_partition_format_test # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -575,13 +558,11 @@ POSTHOOK: query: desc FORMATTED alter_partition_format_test partition(ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_partition_format_test # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/alter_merge_2.q.out ql/src/test/results/clientpositive/alter_merge_2.q.out index e118c39204..5f5778ebbe 100644 --- ql/src/test/results/clientpositive/alter_merge_2.q.out +++ ql/src/test/results/clientpositive/alter_merge_2.q.out @@ -26,7 +26,6 @@ ts string # Partition Information # col_name data_type comment - ds string ts string diff --git ql/src/test/results/clientpositive/alter_merge_2_orc.q.out ql/src/test/results/clientpositive/alter_merge_2_orc.q.out index caa41b25cf..0829057f83 100644 --- ql/src/test/results/clientpositive/alter_merge_2_orc.q.out +++ ql/src/test/results/clientpositive/alter_merge_2_orc.q.out @@ -26,7 +26,6 @@ ts string # Partition Information # col_name data_type comment - ds string ts string diff --git ql/src/test/results/clientpositive/alter_merge_stats.q.out ql/src/test/results/clientpositive/alter_merge_stats.q.out index fdd2ddc4a1..c3f67d0682 100644 --- ql/src/test/results/clientpositive/alter_merge_stats.q.out +++ ql/src/test/results/clientpositive/alter_merge_stats.q.out @@ -178,7 +178,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -206,7 +205,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -247,7 +245,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table2_h23.q.out ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table2_h23.q.out index 12dcc11794..3479ac31a0 100644 --- ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table2_h23.q.out +++ ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table2_h23.q.out @@ -13,13 +13,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -64,13 +62,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -111,13 +107,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -163,13 +157,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -210,13 +202,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -262,13 +252,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -309,13 +297,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -361,13 +347,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -408,13 +392,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -460,13 +442,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -507,13 +487,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -559,13 +537,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -606,13 +582,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -658,13 +632,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -705,13 +677,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -757,13 +727,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -804,13 +772,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -856,13 +822,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table_h23.q.out ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table_h23.q.out index 944482c6d5..537e776cc3 100644 --- ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table_h23.q.out +++ ql/src/test/results/clientpositive/alter_numbuckets_partitioned_table_h23.q.out @@ -21,13 +21,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -73,13 +71,11 @@ POSTHOOK: query: describe formatted tst1 partition (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -130,13 +126,11 @@ POSTHOOK: query: describe formatted tst1 partition (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -169,13 +163,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -218,13 +210,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -260,13 +250,11 @@ POSTHOOK: query: describe formatted tst1 partition (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -307,13 +295,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -349,13 +335,11 @@ POSTHOOK: query: describe formatted tst1 partition (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -397,13 +381,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -447,13 +429,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -497,13 +477,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -547,13 +525,11 @@ POSTHOOK: query: describe formatted tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/alter_partition_change_col.q.out ql/src/test/results/clientpositive/alter_partition_change_col.q.out index 1738aea8ec..7e2864b816 100644 --- ql/src/test/results/clientpositive/alter_partition_change_col.q.out +++ ql/src/test/results/clientpositive/alter_partition_change_col.q.out @@ -196,7 +196,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Column p1 p2 string Column p2 PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') @@ -212,7 +211,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Column p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -275,7 +273,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: alter table alter_partition_change_col1 partition (p1='abc', p2='123') change c2 c2 decimal(14,4) @@ -300,7 +297,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -365,7 +361,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -430,7 +425,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') @@ -445,7 +439,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -508,7 +501,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -572,7 +564,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: describe alter_partition_change_col1 partition (p1='abc', p2='123') @@ -587,7 +578,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -652,7 +642,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' @@ -720,7 +709,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: describe alter_partition_change_col1 partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -736,7 +724,6 @@ p2 string Column p2 # Partition Information # col_name data_type comment - p1 string Changed comment for p1 p2 string Column p2 PREHOOK: query: select * from alter_partition_change_col1 where p1='abc' diff --git ql/src/test/results/clientpositive/alter_partition_clusterby_sortby.q.out ql/src/test/results/clientpositive/alter_partition_clusterby_sortby.q.out index d67be565ce..758dd23b7f 100644 --- ql/src/test/results/clientpositive/alter_partition_clusterby_sortby.q.out +++ ql/src/test/results/clientpositive/alter_partition_clusterby_sortby.q.out @@ -29,13 +29,11 @@ POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby partition POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_table_partition_clusterby_sortby # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c string # Detailed Partition Information @@ -78,13 +76,11 @@ POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby partition POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_table_partition_clusterby_sortby # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c string # Detailed Partition Information @@ -127,13 +123,11 @@ POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby partition POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_table_partition_clusterby_sortby # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c string # Detailed Partition Information @@ -167,13 +161,11 @@ POSTHOOK: query: desc formatted alter_table_partition_clusterby_sortby POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_table_partition_clusterby_sortby # col_name data_type comment - a int b int # Partition Information # col_name data_type comment - c string # Detailed Table Information diff --git ql/src/test/results/clientpositive/alter_partition_coltype.q.out ql/src/test/results/clientpositive/alter_partition_coltype.q.out index 426a4de206..72322d98f3 100644 --- ql/src/test/results/clientpositive/alter_partition_coltype.q.out +++ ql/src/test/results/clientpositive/alter_partition_coltype.q.out @@ -29,7 +29,6 @@ ts string # Partition Information # col_name data_type comment - dt string ts string PREHOOK: query: select count(*) from alter_coltype where dt = '100' @@ -359,7 +358,6 @@ ts double # Partition Information # col_name data_type comment - dt string ts double PREHOOK: query: desc alter_coltype partition (dt='100', ts='6.30') @@ -375,7 +373,6 @@ ts double # Partition Information # col_name data_type comment - dt string ts double PREHOOK: query: desc alter_coltype partition (dt='100', ts=3.0) @@ -391,7 +388,6 @@ ts double # Partition Information # col_name data_type comment - dt string ts double PREHOOK: query: drop table alter_coltype diff --git ql/src/test/results/clientpositive/alter_partition_format_loc.q.out ql/src/test/results/clientpositive/alter_partition_format_loc.q.out index ea2a70ce51..06f94f5d07 100644 --- ql/src/test/results/clientpositive/alter_partition_format_loc.q.out +++ ql/src/test/results/clientpositive/alter_partition_format_loc.q.out @@ -87,7 +87,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -112,7 +111,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -137,7 +135,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -153,7 +150,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -177,7 +173,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -201,7 +196,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/alter_partition_onto_nocurrent_db.q.out ql/src/test/results/clientpositive/alter_partition_onto_nocurrent_db.q.out index f109bcc145..129df9538a 100644 --- ql/src/test/results/clientpositive/alter_partition_onto_nocurrent_db.q.out +++ ql/src/test/results/clientpositive/alter_partition_onto_nocurrent_db.q.out @@ -32,7 +32,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -56,7 +55,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/alter_partition_update_status.q.out ql/src/test/results/clientpositive/alter_partition_update_status.q.out index caa1f8dd32..37b24edf49 100644 --- ql/src/test/results/clientpositive/alter_partition_update_status.q.out +++ ql/src/test/results/clientpositive/alter_partition_update_status.q.out @@ -34,9 +34,18 @@ PREHOOK: Input: default@src_stat_part_one POSTHOOK: query: describe formatted src_stat_part_one PARTITION(partitionId=1) key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part_one -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 16 1.72 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 16 +avg_col_len 1.72 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: ALTER TABLE src_stat_part_one PARTITION(partitionId=1) UPDATE STATISTICS for column key SET ('numDVs'='11','avgColLen'='2.2') PREHOOK: type: ALTERTABLE_UPDATEPARTSTATS POSTHOOK: query: ALTER TABLE src_stat_part_one PARTITION(partitionId=1) UPDATE STATISTICS for column key SET ('numDVs'='11','avgColLen'='2.2') @@ -47,9 +56,18 @@ PREHOOK: Input: default@src_stat_part_one POSTHOOK: query: describe formatted src_stat_part_one PARTITION(partitionId=1) key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part_one -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 11 2.2 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 11 +avg_col_len 2.2 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: create table src_stat_part_two(key string, value string) partitioned by (px int, py string) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default @@ -86,9 +104,18 @@ PREHOOK: Input: default@src_stat_part_two POSTHOOK: query: describe formatted src_stat_part_two PARTITION(px=1, py='a') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part_two -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 16 1.72 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 16 +avg_col_len 1.72 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: ALTER TABLE src_stat_part_two PARTITION(px=1, py='a') UPDATE STATISTICS for column key SET ('numDVs'='30','maxColLen'='40') PREHOOK: type: ALTERTABLE_UPDATEPARTSTATS POSTHOOK: query: ALTER TABLE src_stat_part_two PARTITION(px=1, py='a') UPDATE STATISTICS for column key SET ('numDVs'='30','maxColLen'='40') @@ -99,9 +126,18 @@ PREHOOK: Input: default@src_stat_part_two POSTHOOK: query: describe formatted src_stat_part_two PARTITION(px=1, py='a') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part_two -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 30 1.72 40 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 30 +avg_col_len 1.72 +max_col_len 40 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: create database if not exists dummydb PREHOOK: type: CREATEDATABASE PREHOOK: Output: database:dummydb @@ -124,9 +160,18 @@ PREHOOK: Input: default@src_stat_part_two POSTHOOK: query: describe formatted default.src_stat_part_two PARTITION(px=1, py='a') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part_two -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 40 1.72 50 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 40 +avg_col_len 1.72 +max_col_len 50 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: use default PREHOOK: type: SWITCHDATABASE PREHOOK: Input: database:default diff --git ql/src/test/results/clientpositive/alter_skewed_table.q.out ql/src/test/results/clientpositive/alter_skewed_table.q.out index e553267420..ce4b5093bb 100644 --- ql/src/test/results/clientpositive/alter_skewed_table.q.out +++ ql/src/test/results/clientpositive/alter_skewed_table.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: describe formatted original POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@original # col_name data_type comment - key string value string @@ -56,7 +55,6 @@ POSTHOOK: query: describe formatted original POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@original # col_name data_type comment - key string value string @@ -116,7 +114,6 @@ POSTHOOK: query: describe formatted skew_test.original2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: skew_test@original2 # col_name data_type comment - key string value string @@ -159,7 +156,6 @@ POSTHOOK: query: describe formatted skew_test.original2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: skew_test@original2 # col_name data_type comment - key string value string @@ -213,7 +209,6 @@ POSTHOOK: query: describe formatted skew_test.original3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: skew_test@original3 # col_name data_type comment - key string value string @@ -258,7 +253,6 @@ POSTHOOK: query: describe formatted skew_test.original3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: skew_test@original3 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/alter_table_add_partition.q.out ql/src/test/results/clientpositive/alter_table_add_partition.q.out index c96e5b43b7..ca941dd860 100644 --- ql/src/test/results/clientpositive/alter_table_add_partition.q.out +++ ql/src/test/results/clientpositive/alter_table_add_partition.q.out @@ -13,12 +13,10 @@ POSTHOOK: query: desc formatted mp POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mp # col_name data_type comment - a int # Partition Information # col_name data_type comment - b int # Detailed Table Information @@ -60,12 +58,10 @@ POSTHOOK: query: desc formatted mp POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mp # col_name data_type comment - a int # Partition Information # col_name data_type comment - b int # Detailed Table Information @@ -100,12 +96,10 @@ POSTHOOK: query: desc formatted mp partition (b=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mp # col_name data_type comment - a int # Partition Information # col_name data_type comment - b int # Detailed Partition Information @@ -145,12 +139,10 @@ POSTHOOK: query: desc formatted mp POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mp # col_name data_type comment - a int # Partition Information # col_name data_type comment - b int # Detailed Table Information @@ -185,12 +177,10 @@ POSTHOOK: query: desc formatted mp partition (b=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mp # col_name data_type comment - a int # Partition Information # col_name data_type comment - b int # Detailed Partition Information diff --git ql/src/test/results/clientpositive/alter_table_cascade.q.out ql/src/test/results/clientpositive/alter_table_cascade.q.out index 13e6b24e5c..d722b902bd 100644 --- ql/src/test/results/clientpositive/alter_table_cascade.q.out +++ ql/src/test/results/clientpositive/alter_table_cascade.q.out @@ -67,7 +67,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -82,7 +81,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -97,7 +95,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_cascade where p1='abc' @@ -182,7 +179,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='xyz', p2='123') @@ -198,7 +194,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -214,7 +209,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -230,7 +224,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_cascade where p1='xyz' @@ -320,7 +313,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='xyz', p2='123') @@ -336,7 +328,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -352,7 +343,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -368,7 +358,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_cascade where p1='xyz' @@ -458,7 +447,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='xyz', p2='123') @@ -474,7 +462,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -490,7 +477,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -506,7 +492,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: alter table alter_table_cascade change c2fromc1 c1 string comment "change position first" first cascade @@ -536,7 +521,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='xyz', p2='123') @@ -552,7 +536,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -568,7 +551,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -584,7 +566,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: alter table alter_table_cascade replace columns (c1 string) cascade @@ -613,7 +594,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='xyz', p2='123') @@ -628,7 +608,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -643,7 +622,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -658,7 +636,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_cascade where p1='xyz' @@ -748,7 +725,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='xyz', p2='123') @@ -764,7 +740,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='abc', p2='123') @@ -780,7 +755,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_cascade partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -796,7 +770,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_cascade where p1='xyz' @@ -908,7 +881,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='abc', p2='123') @@ -923,7 +895,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -938,7 +909,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_restrict where p1='abc' @@ -1027,7 +997,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='xyz', p2='123') @@ -1043,7 +1012,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='abc', p2='123') @@ -1058,7 +1026,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -1073,7 +1040,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: select * from alter_table_restrict where p1='xyz' @@ -1157,7 +1123,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='xyz', p2='123') @@ -1173,7 +1138,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='abc', p2='123') @@ -1188,7 +1152,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -1203,7 +1166,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: alter table alter_table_restrict replace columns (c1 string) @@ -1226,7 +1188,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='xyz', p2='123') @@ -1242,7 +1203,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='abc', p2='123') @@ -1257,7 +1217,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -1272,7 +1231,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: alter table alter_table_restrict add columns (c2 decimal(14,4)) @@ -1296,7 +1254,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='xyz', p2='123') @@ -1312,7 +1269,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='abc', p2='123') @@ -1327,7 +1283,6 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string PREHOOK: query: describe alter_table_restrict partition (p1='__HIVE_DEFAULT_PARTITION__', p2='123') @@ -1342,6 +1297,5 @@ p2 string # Partition Information # col_name data_type comment - p1 string p2 string diff --git ql/src/test/results/clientpositive/alter_table_column_stats.q.out ql/src/test/results/clientpositive/alter_table_column_stats.q.out index b93e9de1c1..a648335195 100644 --- ql/src/test/results/clientpositive/alter_table_column_stats.q.out +++ ql/src/test/results/clientpositive/alter_table_column_stats.q.out @@ -88,7 +88,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 # col_name data_type comment - col1 int col2 string col3 string @@ -123,9 +122,18 @@ PREHOOK: Input: statsdb1@testtable0 POSTHOOK: query: describe formatted statsdb1.testtable0 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable0 col2 PREHOOK: type: DESCTABLE @@ -133,9 +141,18 @@ PREHOOK: Input: statsdb1@testtable0 POSTHOOK: query: describe formatted statsdb1.testtable0 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable0 col3 PREHOOK: type: DESCTABLE @@ -143,9 +160,18 @@ PREHOOK: Input: statsdb1@testtable0 POSTHOOK: query: describe formatted statsdb1.testtable0 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: alter table statsdb1.testtable0 rename to statsdb1.testtable1 PREHOOK: type: ALTERTABLE_RENAME @@ -163,7 +189,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 # col_name data_type comment - col1 int col2 string col3 string @@ -199,9 +224,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -209,9 +243,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col3 PREHOOK: type: DESCTABLE @@ -219,9 +262,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: alter table testtable1 replace columns (col1 int, col2 string, col4 string) PREHOOK: type: ALTERTABLE_REPLACECOLS @@ -238,7 +290,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 # col_name data_type comment - col1 int col2 string col4 string @@ -274,9 +325,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -284,9 +344,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col4 PREHOOK: type: DESCTABLE @@ -294,9 +363,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col4 string from deserializer +col_name col4 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\"}} PREHOOK: query: alter table testtable1 change col1 col1 string PREHOOK: type: ALTERTABLE_RENAMECOL @@ -313,7 +391,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 # col_name data_type comment - col1 string col2 string col4 string @@ -349,9 +426,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 string from deserializer +col_name col1 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -359,9 +445,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col4 PREHOOK: type: DESCTABLE @@ -369,9 +464,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col4 string from deserializer +col_name col4 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: alter table statsdb1.testtable1 rename to statsdb2.testtable2 PREHOOK: type: ALTERTABLE_RENAME @@ -389,7 +493,6 @@ POSTHOOK: query: describe formatted statsdb2.testtable2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 # col_name data_type comment - col1 string col2 string col4 string @@ -425,9 +528,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 string from deserializer +col_name col1 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col2 PREHOOK: type: DESCTABLE @@ -435,9 +547,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col4 PREHOOK: type: DESCTABLE @@ -445,9 +566,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col4 string from deserializer +col_name col4 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: analyze table testpart0 compute statistics for columns PREHOOK: type: QUERY @@ -468,14 +598,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -510,14 +638,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -549,27 +675,54 @@ PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 @@ -577,14 +730,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -616,27 +767,54 @@ PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table statsdb1.testpart0 rename to statsdb1.testpart1 PREHOOK: type: ALTERTABLE_RENAME PREHOOK: Input: statsdb1@testpart0 @@ -653,14 +831,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -696,14 +872,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -735,27 +909,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -763,14 +964,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -802,27 +1001,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table statsdb1.testpart1 partition (part = 'part1') rename to partition (part = 'part11') PREHOOK: type: ALTERTABLE_RENAMEPART PREHOOK: Input: statsdb1@testpart1 @@ -840,14 +1066,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -883,14 +1107,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -922,27 +1144,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -950,14 +1199,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -989,27 +1236,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table statsdb1.testpart1 replace columns (col1 int, col2 string, col4 string) cascade PREHOOK: type: ALTERTABLE_REPLACECOLS PREHOOK: Input: statsdb1@testpart1 @@ -1029,14 +1303,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -1072,14 +1344,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1111,18 +1381,36 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -1130,7 +1418,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE @@ -1139,14 +1426,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1178,18 +1463,36 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -1197,7 +1500,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: alter table statsdb1.testpart1 change column col1 col1 string cascade PREHOOK: type: ALTERTABLE_RENAMECOL @@ -1218,14 +1520,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -1261,14 +1561,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1301,7 +1599,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE @@ -1309,9 +1606,18 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -1319,7 +1625,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE @@ -1328,14 +1633,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1368,7 +1671,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE @@ -1376,9 +1678,18 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -1386,7 +1697,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: alter table statsdb1.testpart1 rename to statsdb2.testpart2 PREHOOK: type: ALTERTABLE_RENAME @@ -1404,14 +1714,12 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -1447,7 +1755,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE @@ -1455,9 +1762,18 @@ PREHOOK: Input: statsdb2@testpart2 POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb2@testpart2 @@ -1465,7 +1781,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col4 string from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col1 PREHOOK: type: DESCTABLE @@ -1474,7 +1789,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE @@ -1482,9 +1796,18 @@ PREHOOK: Input: statsdb2@testpart2 POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb2@testpart2 @@ -1492,7 +1815,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col4 string from deserializer PREHOOK: query: use statsdb2 PREHOOK: type: SWITCHDATABASE @@ -1628,7 +1950,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 # col_name data_type comment - col1 int col2 string col3 string @@ -1663,9 +1984,18 @@ PREHOOK: Input: statsdb1@testtable0 POSTHOOK: query: describe formatted statsdb1.testtable0 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable0 col2 PREHOOK: type: DESCTABLE @@ -1673,9 +2003,18 @@ PREHOOK: Input: statsdb1@testtable0 POSTHOOK: query: describe formatted statsdb1.testtable0 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable0 col3 PREHOOK: type: DESCTABLE @@ -1683,9 +2022,18 @@ PREHOOK: Input: statsdb1@testtable0 POSTHOOK: query: describe formatted statsdb1.testtable0 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: alter table statsdb1.testtable0 rename to statsdb1.testtable1 PREHOOK: type: ALTERTABLE_RENAME @@ -1703,7 +2051,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 # col_name data_type comment - col1 int col2 string col3 string @@ -1739,9 +2086,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -1749,9 +2105,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col3 PREHOOK: type: DESCTABLE @@ -1759,9 +2124,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: alter table testtable1 replace columns (col1 int, col2 string, col4 string) PREHOOK: type: ALTERTABLE_REPLACECOLS @@ -1778,7 +2152,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 # col_name data_type comment - col1 int col2 string col4 string @@ -1814,9 +2187,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -1824,9 +2206,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col4 PREHOOK: type: DESCTABLE @@ -1834,9 +2225,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col4 string from deserializer +col_name col4 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\"}} PREHOOK: query: alter table testtable1 change col1 col1 string PREHOOK: type: ALTERTABLE_RENAMECOL @@ -1853,7 +2253,6 @@ POSTHOOK: query: describe formatted statsdb1.testtable1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 # col_name data_type comment - col1 string col2 string col4 string @@ -1889,9 +2288,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 string from deserializer +col_name col1 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -1899,9 +2307,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col4 PREHOOK: type: DESCTABLE @@ -1909,9 +2326,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col4 string from deserializer +col_name col4 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: alter table statsdb1.testtable1 rename to statsdb2.testtable2 PREHOOK: type: ALTERTABLE_RENAME @@ -1929,7 +2355,6 @@ POSTHOOK: query: describe formatted statsdb2.testtable2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 # col_name data_type comment - col1 string col2 string col4 string @@ -1965,9 +2390,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 string from deserializer +col_name col1 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col2 PREHOOK: type: DESCTABLE @@ -1975,9 +2409,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col4 PREHOOK: type: DESCTABLE @@ -1985,9 +2428,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col4 string from deserializer +col_name col4 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col2\":\"true\"}} PREHOOK: query: analyze table testpart0 compute statistics for columns PREHOOK: type: QUERY @@ -2008,14 +2460,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -2050,14 +2500,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2089,27 +2537,54 @@ PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part1') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 @@ -2117,14 +2592,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2156,27 +2629,54 @@ PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart0 POSTHOOK: query: describe formatted statsdb1.testpart0 partition (part = 'part2') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart0 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table statsdb1.testpart0 rename to statsdb1.testpart1 PREHOOK: type: ALTERTABLE_RENAME PREHOOK: Input: statsdb1@testpart0 @@ -2193,14 +2693,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -2236,14 +2734,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2275,27 +2771,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part1') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -2303,14 +2826,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2342,27 +2863,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table statsdb1.testpart1 partition (part = 'part1') rename to partition (part = 'part11') PREHOOK: type: ALTERTABLE_RENAMEPART PREHOOK: Input: statsdb1@testpart1 @@ -2380,14 +2928,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -2423,14 +2969,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2462,27 +3006,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -2490,14 +3061,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col3 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2529,27 +3098,54 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table statsdb1.testpart1 replace columns (col1 int, col2 string, col4 string) cascade PREHOOK: type: ALTERTABLE_REPLACECOLS PREHOOK: Input: statsdb1@testpart1 @@ -2569,14 +3165,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -2612,14 +3206,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2651,18 +3243,36 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -2670,7 +3280,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE @@ -2679,14 +3288,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 int col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2718,18 +3325,36 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 20 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -2737,7 +3362,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: alter table statsdb1.testpart1 change column col1 col1 string cascade PREHOOK: type: ALTERTABLE_RENAMECOL @@ -2758,14 +3382,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -2801,14 +3423,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2841,7 +3461,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE @@ -2849,9 +3468,18 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -2859,7 +3487,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') PREHOOK: type: DESCTABLE @@ -2868,14 +3495,12 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -2908,7 +3533,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE @@ -2916,9 +3540,18 @@ PREHOOK: Input: statsdb1@testpart1 POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb1@testpart1 @@ -2926,7 +3559,6 @@ POSTHOOK: query: describe formatted statsdb1.testpart1 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testpart1 # col_name data_type comment - col4 string from deserializer PREHOOK: query: alter table statsdb1.testpart1 rename to statsdb2.testpart2 PREHOOK: type: ALTERTABLE_RENAME @@ -2944,14 +3576,12 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col1 string col2 string col4 string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -2987,7 +3617,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11') col2 PREHOOK: type: DESCTABLE @@ -2995,9 +3624,18 @@ PREHOOK: Input: statsdb2@testpart2 POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb2@testpart2 @@ -3005,7 +3643,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col4 string from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col1 PREHOOK: type: DESCTABLE @@ -3014,7 +3651,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col1 string from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col2 PREHOOK: type: DESCTABLE @@ -3022,9 +3658,18 @@ PREHOOK: Input: statsdb2@testpart2 POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 20 6.8 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2') col4 PREHOOK: type: DESCTABLE PREHOOK: Input: statsdb2@testpart2 @@ -3032,7 +3677,6 @@ POSTHOOK: query: describe formatted statsdb2.testpart2 partition (part = 'part2' POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testpart2 # col_name data_type comment - col4 string from deserializer PREHOOK: query: use statsdb2 PREHOOK: type: SWITCHDATABASE diff --git ql/src/test/results/clientpositive/alter_table_not_sorted.q.out ql/src/test/results/clientpositive/alter_table_not_sorted.q.out index 58132074d2..dbd4b7f59e 100644 --- ql/src/test/results/clientpositive/alter_table_not_sorted.q.out +++ ql/src/test/results/clientpositive/alter_table_not_sorted.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc formatted alter_table_not_sorted POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_table_not_sorted # col_name data_type comment - a int b int @@ -57,7 +56,6 @@ POSTHOOK: query: desc formatted alter_table_not_sorted POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter_table_not_sorted # col_name data_type comment - a int b int diff --git ql/src/test/results/clientpositive/alter_table_serde.q.out ql/src/test/results/clientpositive/alter_table_serde.q.out index f414bde955..1370625404 100644 --- ql/src/test/results/clientpositive/alter_table_serde.q.out +++ ql/src/test/results/clientpositive/alter_table_serde.q.out @@ -91,7 +91,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -116,7 +115,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -141,7 +139,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -167,7 +164,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### @@ -193,7 +189,6 @@ dt string # Partition Information # col_name data_type comment - dt string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/alter_table_serde2.q.out ql/src/test/results/clientpositive/alter_table_serde2.q.out index ae0ef54755..1c798b04e8 100644 --- ql/src/test/results/clientpositive/alter_table_serde2.q.out +++ ql/src/test/results/clientpositive/alter_table_serde2.q.out @@ -13,13 +13,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -64,13 +62,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -111,13 +107,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -164,13 +158,11 @@ POSTHOOK: query: DESCRIBE FORMATTED tst1 PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tst1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/alter_table_stats_status.q.out ql/src/test/results/clientpositive/alter_table_stats_status.q.out index 3404f88dfd..7ca949d437 100644 --- ql/src/test/results/clientpositive/alter_table_stats_status.q.out +++ ql/src/test/results/clientpositive/alter_table_stats_status.q.out @@ -41,7 +41,6 @@ POSTHOOK: query: describe formatted srctable POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@srctable # col_name data_type comment - key string default value string default @@ -117,7 +116,6 @@ POSTHOOK: query: describe formatted statstable POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@statstable # col_name data_type comment - key string default value string default newcol string @@ -163,7 +161,6 @@ POSTHOOK: query: describe formatted statstable POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@statstable # col_name data_type comment - key string default value string default newcol string @@ -208,7 +205,6 @@ POSTHOOK: query: describe formatted statstable POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@statstable # col_name data_type comment - key string default value string default newcol string @@ -256,7 +252,6 @@ POSTHOOK: query: describe formatted statstable POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@statstable # col_name data_type comment - key string default value string default newcol string @@ -339,13 +334,11 @@ POSTHOOK: query: describe formatted srcpart partition (ds='2008-04-08', hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -423,14 +416,12 @@ POSTHOOK: query: describe formatted srcpart partition (ds='2017-01-19', hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@srcpart # col_name data_type comment - key string default value string default newcol string # Partition Information # col_name data_type comment - ds string hr string @@ -474,14 +465,12 @@ POSTHOOK: query: describe formatted srcpart partition (ds='2017-01-19', hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@srcpart # col_name data_type comment - key string default value string default newcol string # Partition Information # col_name data_type comment - ds string hr string @@ -527,14 +516,12 @@ POSTHOOK: query: describe formatted srcpart partition (ds='2017-01-19', hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb@srcpart # col_name data_type comment - key string default value string default newcol string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/alter_table_update_status.q.out ql/src/test/results/clientpositive/alter_table_update_status.q.out index 452f37bba3..899ebbd34d 100644 --- ql/src/test/results/clientpositive/alter_table_update_status.q.out +++ ql/src/test/results/clientpositive/alter_table_update_status.q.out @@ -46,9 +46,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted src_stat key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 16 1.72 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 16 +avg_col_len 1.72 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: ALTER TABLE src_stat UPDATE STATISTICS for column key SET ('numDVs'='1111','avgColLen'='1.111') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -60,9 +69,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted src_stat key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 1111 1.111 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 1111 +avg_col_len 1.111 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: ALTER TABLE src_stat UPDATE STATISTICS for column value SET ('numDVs'='121','numNulls'='122','avgColLen'='1.23','maxColLen'='124') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -74,9 +92,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted src_stat value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 122 121 1.23 124 from deserializer +col_name value +data_type string +min +max +num_nulls 122 +distinct_count 121 +avg_col_len 1.23 +max_col_len 124 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: ANALYZE TABLE src_stat_int COMPUTE STATISTICS for columns key PREHOOK: type: QUERY @@ -92,9 +119,18 @@ PREHOOK: Input: default@src_stat_int POSTHOOK: query: describe formatted src_stat_int key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_int -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key double 66.0 406.0 10 15 HL from deserializer +col_name key +data_type double +min 66.0 +max 406.0 +num_nulls 10 +distinct_count 15 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: ALTER TABLE src_stat_int UPDATE STATISTICS for column key SET ('numDVs'='2222','lowValue'='333.22','highValue'='22.22') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -106,9 +142,18 @@ PREHOOK: Input: default@src_stat_int POSTHOOK: query: describe formatted src_stat_int key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_int -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key double 333.22 22.22 10 2222 HL from deserializer +col_name key +data_type double +min 333.22 +max 22.22 +num_nulls 10 +distinct_count 2222 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: create database if not exists dummydb PREHOOK: type: CREATEDATABASE @@ -132,9 +177,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted default.src_stat key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 3333 2.222 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 3333 +avg_col_len 2.222 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: ALTER TABLE default.src_stat UPDATE STATISTICS for column value SET ('numDVs'='232','numNulls'='233','avgColLen'='2.34','maxColLen'='235') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -146,9 +200,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted default.src_stat value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 233 232 2.34 235 from deserializer +col_name value +data_type string +min +max +num_nulls 233 +distinct_count 232 +avg_col_len 2.34 +max_col_len 235 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: use default PREHOOK: type: SWITCHDATABASE @@ -246,9 +309,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -s smallint from deserializer +col_name s +data_type smallint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats i PREHOOK: type: DESCTABLE @@ -256,9 +328,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -i int from deserializer +col_name i +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats b PREHOOK: type: DESCTABLE @@ -266,9 +347,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b bigint from deserializer +col_name b +data_type bigint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats f PREHOOK: type: DESCTABLE @@ -276,9 +366,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats f POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -f float from deserializer +col_name f +data_type float +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats d PREHOOK: type: DESCTABLE @@ -286,9 +385,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d double from deserializer +col_name d +data_type double +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats dem PREHOOK: type: DESCTABLE @@ -296,9 +404,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dem POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dem decimal(10,0) from deserializer +col_name dem +data_type decimal(10,0) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats ts PREHOOK: type: DESCTABLE @@ -306,9 +423,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats ts POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ts timestamp from deserializer +col_name ts +data_type timestamp +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats dt PREHOOK: type: DESCTABLE @@ -316,9 +442,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dt date from deserializer +col_name dt +data_type date +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats str PREHOOK: type: DESCTABLE @@ -326,9 +461,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats str POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -str string from deserializer +col_name str +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats v PREHOOK: type: DESCTABLE @@ -336,9 +480,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v varchar(12) from deserializer +col_name v +data_type varchar(12) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats c PREHOOK: type: DESCTABLE @@ -346,9 +499,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c char(5) from deserializer +col_name c +data_type char(5) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats bl PREHOOK: type: DESCTABLE @@ -356,9 +518,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bl POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bl boolean from deserializer +col_name bl +data_type boolean +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats bin PREHOOK: type: DESCTABLE @@ -366,9 +537,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bin POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bin binary from deserializer +col_name bin +data_type binary +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats t PREHOOK: type: DESCTABLE @@ -376,9 +556,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -t tinyint from deserializer +col_name t +data_type tinyint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column t SET ('numDVs'='232','numNulls'='233','highValue'='234','lowValue'='35') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -390,9 +579,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -t tinyint 35 234 233 232 from deserializer +col_name t +data_type tinyint +min 35 +max 234 +num_nulls 233 +distinct_count 232 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats s PREHOOK: type: DESCTABLE @@ -400,9 +598,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -s smallint from deserializer +col_name s +data_type smallint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column s SET ('numDVs'='56','numNulls'='56','highValue'='489','lowValue'='25') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -414,9 +621,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -s smallint 25 489 56 56 from deserializer +col_name s +data_type smallint +min 25 +max 489 +num_nulls 56 +distinct_count 56 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats i PREHOOK: type: DESCTABLE @@ -424,9 +640,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -i int from deserializer +col_name i +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column i SET ('numDVs'='59','numNulls'='1','highValue'='889','lowValue'='5') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -438,9 +663,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -i int 5 889 1 59 from deserializer +col_name i +data_type int +min 5 +max 889 +num_nulls 1 +distinct_count 59 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats b PREHOOK: type: DESCTABLE @@ -448,9 +682,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b bigint from deserializer +col_name b +data_type bigint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column b SET ('numDVs'='9','numNulls'='14','highValue'='89','lowValue'='8') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -462,9 +705,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b bigint 8 89 14 9 from deserializer +col_name b +data_type bigint +min 8 +max 89 +num_nulls 14 +distinct_count 9 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats f PREHOOK: type: DESCTABLE @@ -472,9 +724,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats f POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -f float from deserializer +col_name f +data_type float +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column f SET ('numDVs'='563','numNulls'='45','highValue'='2345.656','lowValue'='8.00') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -486,9 +747,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats f POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -f float 8.0 2345.656 45 563 from deserializer +col_name f +data_type float +min 8.0 +max 2345.656 +num_nulls 45 +distinct_count 563 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats d PREHOOK: type: DESCTABLE @@ -496,9 +766,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d double from deserializer +col_name d +data_type double +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column d SET ('numDVs'='5677','numNulls'='12','highValue'='560.3367','lowValue'='0.00455') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -510,9 +789,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d double 0.00455 560.3367 12 5677 from deserializer +col_name d +data_type double +min 0.00455 +max 560.3367 +num_nulls 12 +distinct_count 5677 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats dem PREHOOK: type: DESCTABLE @@ -520,9 +808,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dem POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dem decimal(10,0) from deserializer +col_name dem +data_type decimal(10,0) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column dem SET ('numDVs'='57','numNulls'='912','highValue'='560','lowValue'='0') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -534,9 +831,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dem POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dem decimal(10,0) 0 560 912 57 from deserializer +col_name dem +data_type decimal(10,0) +min 0 +max 560 +num_nulls 912 +distinct_count 57 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats ts PREHOOK: type: DESCTABLE @@ -544,9 +850,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats ts POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ts timestamp from deserializer +col_name ts +data_type timestamp +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column ts SET ('numDVs'='7','numNulls'='12','highValue'='1357030923','lowValue'='1357030924') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -558,9 +873,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats ts POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ts timestamp 1357030924 1357030923 12 7 from deserializer +col_name ts +data_type timestamp +min 1357030924 +max 1357030923 +num_nulls 12 +distinct_count 7 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats dt PREHOOK: type: DESCTABLE @@ -568,9 +892,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dt date from deserializer +col_name dt +data_type date +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column dt SET ('numDVs'='57','numNulls'='912','highValue'='2012-01-01','lowValue'='2001-02-04') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -582,9 +915,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dt date 2001-02-04 2012-01-01 912 57 from deserializer +col_name dt +data_type date +min 2001-02-04 +max 2012-01-01 +num_nulls 912 +distinct_count 57 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats str PREHOOK: type: DESCTABLE @@ -592,9 +934,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats str POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -str string from deserializer +col_name str +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column str SET ('numDVs'='232','numNulls'='233','avgColLen'='2.34','maxColLen'='235') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -606,9 +957,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats str POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -str string 233 232 2.34 235 from deserializer +col_name str +data_type string +min +max +num_nulls 233 +distinct_count 232 +avg_col_len 2.34 +max_col_len 235 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats v PREHOOK: type: DESCTABLE @@ -616,9 +976,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v varchar(12) from deserializer +col_name v +data_type varchar(12) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column v SET ('numDVs'='22','numNulls'='33','avgColLen'='4.40','maxColLen'='25') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -630,9 +999,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v varchar(12) 33 22 4.4 25 from deserializer +col_name v +data_type varchar(12) +min +max +num_nulls 33 +distinct_count 22 +avg_col_len 4.4 +max_col_len 25 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats c PREHOOK: type: DESCTABLE @@ -640,9 +1018,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c char(5) from deserializer +col_name c +data_type char(5) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column c SET ('numDVs'='2','numNulls'='03','avgColLen'='9.00','maxColLen'='58') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -654,9 +1041,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c char(5) 3 2 9.0 58 from deserializer +col_name c +data_type char(5) +min +max +num_nulls 3 +distinct_count 2 +avg_col_len 9.0 +max_col_len 58 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats bl PREHOOK: type: DESCTABLE @@ -664,9 +1060,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bl POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bl boolean from deserializer +col_name bl +data_type boolean +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column bl SET ('numNulls'='1','numTrues'='9','numFalses'='8') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -678,9 +1083,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bl POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bl boolean 1 9 8 from deserializer +col_name bl +data_type boolean +min +max +num_nulls 1 +distinct_count +avg_col_len +max_col_len +num_trues 9 +num_falses 8 +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"bl\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats bin PREHOOK: type: DESCTABLE @@ -688,9 +1102,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bin POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bin binary from deserializer +col_name bin +data_type binary +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"bl\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column bin SET ('numNulls'='8','avgColLen'='2.0','maxColLen'='8') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -702,7 +1125,16 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bin POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bin binary 8 2.0 8 from deserializer +col_name bin +data_type binary +min +max +num_nulls 8 +distinct_count +avg_col_len 2.0 +max_col_len 8 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"bin\":\"true\",\"bl\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} diff --git ql/src/test/results/clientpositive/alter_table_update_status_disable_bitvector.q.out ql/src/test/results/clientpositive/alter_table_update_status_disable_bitvector.q.out index 1dcc1fcf4e..8e4ca0aca3 100644 --- ql/src/test/results/clientpositive/alter_table_update_status_disable_bitvector.q.out +++ ql/src/test/results/clientpositive/alter_table_update_status_disable_bitvector.q.out @@ -46,9 +46,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted src_stat key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 16 1.72 3 from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 16 +avg_col_len 1.72 +max_col_len 3 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: ALTER TABLE src_stat UPDATE STATISTICS for column key SET ('numDVs'='1111','avgColLen'='1.111') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -60,9 +69,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted src_stat key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 1111 1.111 3 from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 1111 +avg_col_len 1.111 +max_col_len 3 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: ALTER TABLE src_stat UPDATE STATISTICS for column value SET ('numDVs'='121','numNulls'='122','avgColLen'='1.23','maxColLen'='124') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -74,9 +92,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted src_stat value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 122 121 1.23 124 from deserializer +col_name value +data_type string +min +max +num_nulls 122 +distinct_count 121 +avg_col_len 1.23 +max_col_len 124 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: ANALYZE TABLE src_stat_int COMPUTE STATISTICS for columns key PREHOOK: type: QUERY @@ -92,9 +119,18 @@ PREHOOK: Input: default@src_stat_int POSTHOOK: query: describe formatted src_stat_int key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_int -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key double 66.0 406.0 10 15 from deserializer +col_name key +data_type double +min 66.0 +max 406.0 +num_nulls 10 +distinct_count 15 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: ALTER TABLE src_stat_int UPDATE STATISTICS for column key SET ('numDVs'='2222','lowValue'='333.22','highValue'='22.22') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -106,9 +142,18 @@ PREHOOK: Input: default@src_stat_int POSTHOOK: query: describe formatted src_stat_int key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_int -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key double 333.22 22.22 10 2222 from deserializer +col_name key +data_type double +min 333.22 +max 22.22 +num_nulls 10 +distinct_count 2222 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: create database if not exists dummydb PREHOOK: type: CREATEDATABASE @@ -132,9 +177,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted default.src_stat key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 3333 2.222 3 from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 3333 +avg_col_len 2.222 +max_col_len 3 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: ALTER TABLE default.src_stat UPDATE STATISTICS for column value SET ('numDVs'='232','numNulls'='233','avgColLen'='2.34','maxColLen'='235') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -146,9 +200,18 @@ PREHOOK: Input: default@src_stat POSTHOOK: query: describe formatted default.src_stat value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 233 232 2.34 235 from deserializer +col_name value +data_type string +min +max +num_nulls 233 +distinct_count 232 +avg_col_len 2.34 +max_col_len 235 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: use default PREHOOK: type: SWITCHDATABASE @@ -246,9 +309,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -s smallint from deserializer +col_name s +data_type smallint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats i PREHOOK: type: DESCTABLE @@ -256,9 +328,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -i int from deserializer +col_name i +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats b PREHOOK: type: DESCTABLE @@ -266,9 +347,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b bigint from deserializer +col_name b +data_type bigint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats f PREHOOK: type: DESCTABLE @@ -276,9 +366,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats f POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -f float from deserializer +col_name f +data_type float +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats d PREHOOK: type: DESCTABLE @@ -286,9 +385,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d double from deserializer +col_name d +data_type double +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats dem PREHOOK: type: DESCTABLE @@ -296,9 +404,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dem POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dem decimal(10,0) from deserializer +col_name dem +data_type decimal(10,0) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats ts PREHOOK: type: DESCTABLE @@ -306,9 +423,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats ts POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ts timestamp from deserializer +col_name ts +data_type timestamp +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats dt PREHOOK: type: DESCTABLE @@ -316,9 +442,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dt date from deserializer +col_name dt +data_type date +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats str PREHOOK: type: DESCTABLE @@ -326,9 +461,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats str POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -str string from deserializer +col_name str +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats v PREHOOK: type: DESCTABLE @@ -336,9 +480,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v varchar(12) from deserializer +col_name v +data_type varchar(12) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats c PREHOOK: type: DESCTABLE @@ -346,9 +499,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c char(5) from deserializer +col_name c +data_type char(5) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats bl PREHOOK: type: DESCTABLE @@ -356,9 +518,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bl POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bl boolean from deserializer +col_name bl +data_type boolean +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats bin PREHOOK: type: DESCTABLE @@ -366,9 +537,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bin POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bin binary from deserializer +col_name bin +data_type binary +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: DESC FORMATTED datatype_stats t PREHOOK: type: DESCTABLE @@ -376,9 +556,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -t tinyint from deserializer +col_name t +data_type tinyint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column t SET ('numDVs'='232','numNulls'='233','highValue'='234','lowValue'='35') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -390,9 +579,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -t tinyint 35 234 233 232 from deserializer +col_name t +data_type tinyint +min 35 +max 234 +num_nulls 233 +distinct_count 232 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats s PREHOOK: type: DESCTABLE @@ -400,9 +598,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -s smallint from deserializer +col_name s +data_type smallint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column s SET ('numDVs'='56','numNulls'='56','highValue'='489','lowValue'='25') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -414,9 +621,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -s smallint 25 489 56 56 from deserializer +col_name s +data_type smallint +min 25 +max 489 +num_nulls 56 +distinct_count 56 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats i PREHOOK: type: DESCTABLE @@ -424,9 +640,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -i int from deserializer +col_name i +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column i SET ('numDVs'='59','numNulls'='1','highValue'='889','lowValue'='5') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -438,9 +663,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -i int 5 889 1 59 from deserializer +col_name i +data_type int +min 5 +max 889 +num_nulls 1 +distinct_count 59 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats b PREHOOK: type: DESCTABLE @@ -448,9 +682,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b bigint from deserializer +col_name b +data_type bigint +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column b SET ('numDVs'='9','numNulls'='14','highValue'='89','lowValue'='8') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -462,9 +705,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b bigint 8 89 14 9 from deserializer +col_name b +data_type bigint +min 8 +max 89 +num_nulls 14 +distinct_count 9 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats f PREHOOK: type: DESCTABLE @@ -472,9 +724,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats f POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -f float from deserializer +col_name f +data_type float +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column f SET ('numDVs'='563','numNulls'='45','highValue'='2345.656','lowValue'='8.00') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -486,9 +747,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats f POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -f float 8.0 2345.656 45 563 from deserializer +col_name f +data_type float +min 8.0 +max 2345.656 +num_nulls 45 +distinct_count 563 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats d PREHOOK: type: DESCTABLE @@ -496,9 +766,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d double from deserializer +col_name d +data_type double +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column d SET ('numDVs'='5677','numNulls'='12','highValue'='560.3367','lowValue'='0.00455') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -510,9 +789,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d double 0.00455 560.3367 12 5677 from deserializer +col_name d +data_type double +min 0.00455 +max 560.3367 +num_nulls 12 +distinct_count 5677 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats dem PREHOOK: type: DESCTABLE @@ -520,9 +808,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dem POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dem decimal(10,0) from deserializer +col_name dem +data_type decimal(10,0) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column dem SET ('numDVs'='57','numNulls'='912','highValue'='560','lowValue'='0') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -534,9 +831,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dem POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dem decimal(10,0) 0 560 912 57 from deserializer +col_name dem +data_type decimal(10,0) +min 0 +max 560 +num_nulls 912 +distinct_count 57 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats ts PREHOOK: type: DESCTABLE @@ -544,9 +850,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats ts POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ts timestamp from deserializer +col_name ts +data_type timestamp +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column ts SET ('numDVs'='7','numNulls'='12','highValue'='1357030923','lowValue'='1357030924') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -558,9 +873,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats ts POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ts timestamp 1357030924 1357030923 12 7 from deserializer +col_name ts +data_type timestamp +min 1357030924 +max 1357030923 +num_nulls 12 +distinct_count 7 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats dt PREHOOK: type: DESCTABLE @@ -568,9 +892,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dt date from deserializer +col_name dt +data_type date +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column dt SET ('numDVs'='57','numNulls'='912','highValue'='2012-01-01','lowValue'='2001-02-04') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -582,9 +915,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats dt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -dt date 2001-02-04 2012-01-01 912 57 from deserializer +col_name dt +data_type date +min 2001-02-04 +max 2012-01-01 +num_nulls 912 +distinct_count 57 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats str PREHOOK: type: DESCTABLE @@ -592,9 +934,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats str POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -str string from deserializer +col_name str +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column str SET ('numDVs'='232','numNulls'='233','avgColLen'='2.34','maxColLen'='235') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -606,9 +957,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats str POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -str string 233 232 2.34 235 from deserializer +col_name str +data_type string +min +max +num_nulls 233 +distinct_count 232 +avg_col_len 2.34 +max_col_len 235 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats v PREHOOK: type: DESCTABLE @@ -616,9 +976,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v varchar(12) from deserializer +col_name v +data_type varchar(12) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column v SET ('numDVs'='22','numNulls'='33','avgColLen'='4.40','maxColLen'='25') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -630,9 +999,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v varchar(12) 33 22 4.4 25 from deserializer +col_name v +data_type varchar(12) +min +max +num_nulls 33 +distinct_count 22 +avg_col_len 4.4 +max_col_len 25 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats c PREHOOK: type: DESCTABLE @@ -640,9 +1018,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c char(5) from deserializer +col_name c +data_type char(5) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column c SET ('numDVs'='2','numNulls'='03','avgColLen'='9.00','maxColLen'='58') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -654,9 +1041,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c char(5) 3 2 9.0 58 from deserializer +col_name c +data_type char(5) +min +max +num_nulls 3 +distinct_count 2 +avg_col_len 9.0 +max_col_len 58 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats bl PREHOOK: type: DESCTABLE @@ -664,9 +1060,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bl POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bl boolean from deserializer +col_name bl +data_type boolean +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column bl SET ('numNulls'='1','numTrues'='9','numFalses'='8') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -678,9 +1083,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bl POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bl boolean 1 9 8 from deserializer +col_name bl +data_type boolean +min +max +num_nulls 1 +distinct_count +avg_col_len +max_col_len +num_trues 9 +num_falses 8 +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"bl\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: DESC FORMATTED datatype_stats bin PREHOOK: type: DESCTABLE @@ -688,9 +1102,18 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bin POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bin binary from deserializer +col_name bin +data_type binary +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"bl\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} PREHOOK: query: ALTER TABLE default.datatype_stats UPDATE STATISTICS for column bin SET ('numNulls'='8','avgColLen'='2.0','maxColLen'='8') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -702,7 +1125,16 @@ PREHOOK: Input: default@datatype_stats POSTHOOK: query: DESC FORMATTED datatype_stats bin POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@datatype_stats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bin binary 8 2.0 8 from deserializer +col_name bin +data_type binary +min +max +num_nulls 8 +distinct_count +avg_col_len 2.0 +max_col_len 8 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"b\":\"true\",\"bin\":\"true\",\"bl\":\"true\",\"c\":\"true\",\"d\":\"true\",\"dem\":\"true\",\"dt\":\"true\",\"f\":\"true\",\"i\":\"true\",\"s\":\"true\",\"str\":\"true\",\"t\":\"true\",\"ts\":\"true\",\"v\":\"true\"}} diff --git ql/src/test/results/clientpositive/alter_view_as_select.q.out ql/src/test/results/clientpositive/alter_view_as_select.q.out index 4eddf9404b..494c9b608d 100644 --- ql/src/test/results/clientpositive/alter_view_as_select.q.out +++ ql/src/test/results/clientpositive/alter_view_as_select.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tv.testView POSTHOOK: type: DESCTABLE POSTHOOK: Input: tv@testview # col_name data_type comment - key string value string ds string @@ -69,7 +68,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tv.testView POSTHOOK: type: DESCTABLE POSTHOOK: Input: tv@testview # col_name data_type comment - value string # Detailed Table Information @@ -118,7 +116,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tv.testView POSTHOOK: type: DESCTABLE POSTHOOK: Input: tv@testview # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/analyze_table_null_partition.q.out ql/src/test/results/clientpositive/analyze_table_null_partition.q.out index 2bfc04a142..324b700497 100644 --- ql/src/test/results/clientpositive/analyze_table_null_partition.q.out +++ ql/src/test/results/clientpositive/analyze_table_null_partition.q.out @@ -80,7 +80,6 @@ age int # Partition Information # col_name data_type comment - age int #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/analyze_tbl_date.q.out ql/src/test/results/clientpositive/analyze_tbl_date.q.out index a0cdbca8c1..6b2b85be23 100644 --- ql/src/test/results/clientpositive/analyze_tbl_date.q.out +++ ql/src/test/results/clientpositive/analyze_tbl_date.q.out @@ -28,7 +28,6 @@ POSTHOOK: query: describe formatted test_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - d date # Detailed Table Information diff --git ql/src/test/results/clientpositive/analyze_tbl_part.q.out ql/src/test/results/clientpositive/analyze_tbl_part.q.out index a7a2220304..0f38045a01 100644 --- ql/src/test/results/clientpositive/analyze_tbl_part.q.out +++ ql/src/test/results/clientpositive/analyze_tbl_part.q.out @@ -48,9 +48,18 @@ PREHOOK: Input: default@src_stat_part POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=1) key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 16 1.72 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 16 +avg_col_len 1.72 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: ANALYZE TABLE src_stat_part partition (partitionId) COMPUTE STATISTICS for columns key, value PREHOOK: type: QUERY PREHOOK: Input: default@src_stat_part @@ -69,18 +78,36 @@ PREHOOK: Input: default@src_stat_part POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=1) key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 16 1.72 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 16 +avg_col_len 1.72 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted src_stat_part PARTITION(partitionId=2) value PREHOOK: type: DESCTABLE PREHOOK: Input: default@src_stat_part POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=2) value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 19 4.92 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 19 +avg_col_len 4.92 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: create table src_stat_string_part(key string, value string) partitioned by (partitionName string) PREHOOK: type: CREATETABLE PREHOOK: Output: database:default diff --git ql/src/test/results/clientpositive/authorization_index.q.out ql/src/test/results/clientpositive/authorization_index.q.out index adc02ad5c1..87486b38e9 100644 --- ql/src/test/results/clientpositive/authorization_index.q.out +++ ql/src/test/results/clientpositive/authorization_index.q.out @@ -20,7 +20,6 @@ POSTHOOK: query: desc formatted default__t1_t1_index__ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@default__t1_t1_index__ # col_name data_type comment - a int _bucketname string _offsets array diff --git ql/src/test/results/clientpositive/autoColumnStats_3.q.out ql/src/test/results/clientpositive/autoColumnStats_3.q.out index 2f70095b7a..c6527a9879 100644 --- ql/src/test/results/clientpositive/autoColumnStats_3.q.out +++ ql/src/test/results/clientpositive/autoColumnStats_3.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: describe formatted src_multi1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi1 # col_name data_type comment - key string default value string default @@ -70,7 +69,6 @@ POSTHOOK: query: describe formatted src_multi1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi1 # col_name data_type comment - key string default value string default @@ -119,13 +117,11 @@ POSTHOOK: query: describe formatted nzhang_part14 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -191,13 +187,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='1', hr='3') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -241,13 +235,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='1', hr='3') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -281,13 +273,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='2', hr='1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -351,13 +341,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='1', hr='3') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -391,13 +379,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='2', hr='1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/autoColumnStats_4.q.out ql/src/test/results/clientpositive/autoColumnStats_4.q.out index 7a5f8b4809..9155733e7c 100644 --- ql/src/test/results/clientpositive/autoColumnStats_4.q.out +++ ql/src/test/results/clientpositive/autoColumnStats_4.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc formatted acid_dtt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_dtt # col_name data_type comment - a int b varchar(128) @@ -187,7 +186,6 @@ POSTHOOK: query: desc formatted acid_dtt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_dtt # col_name data_type comment - a int b varchar(128) @@ -231,7 +229,6 @@ POSTHOOK: query: desc formatted acid_dtt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_dtt # col_name data_type comment - a int b varchar(128) diff --git ql/src/test/results/clientpositive/autoColumnStats_5.q.out ql/src/test/results/clientpositive/autoColumnStats_5.q.out index 1298d989a2..cc4d32b5fd 100644 --- ql/src/test/results/clientpositive/autoColumnStats_5.q.out +++ ql/src/test/results/clientpositive/autoColumnStats_5.q.out @@ -154,13 +154,11 @@ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 col_name data_type comment # col_name data_type comment - a int b string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -192,10 +190,19 @@ PREHOOK: Input: default@partitioned1 POSTHOOK: query: desc formatted partitioned1 partition(part=1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 -col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitvector -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a int 1 4 0 4 HL from deserializer +col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses bitvector comment +col_name a +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table partitioned1 add columns(c int, d string) PREHOOK: type: ALTERTABLE_ADDCOLS PREHOOK: Input: default@partitioned1 @@ -212,13 +219,11 @@ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 col_name data_type comment # col_name data_type comment - a int b string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -394,7 +399,6 @@ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 col_name data_type comment # col_name data_type comment - a int b string c int @@ -402,7 +406,6 @@ d string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -434,10 +437,19 @@ PREHOOK: Input: default@partitioned1 POSTHOOK: query: desc formatted partitioned1 partition(part=2) c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 -col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitvector -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c int 10 40 0 4 HL from deserializer +col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses bitvector comment +col_name c +data_type int +min 10 +max 40 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain insert into table partitioned1 partition(part=1) values(5, 'new', 100, 'hundred'),(6, 'new', 200, 'two hundred') PREHOOK: type: QUERY POSTHOOK: query: explain insert into table partitioned1 partition(part=1) values(5, 'new', 100, 'hundred'),(6, 'new', 200, 'two hundred') @@ -588,13 +600,11 @@ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 col_name data_type comment # col_name data_type comment - a int b string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -626,17 +636,35 @@ PREHOOK: Input: default@partitioned1 POSTHOOK: query: desc formatted partitioned1 partition(part=1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 -col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitvector -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a int 1 6 0 6 HL from deserializer +col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses bitvector comment +col_name a +data_type int +min 1 +max 6 +num_nulls 0 +distinct_count 6 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: desc formatted partitioned1 partition(part=1) c PREHOOK: type: DESCTABLE PREHOOK: Input: default@partitioned1 POSTHOOK: query: desc formatted partitioned1 partition(part=1) c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 -col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitvector -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c int 100 200 0 2 HL from deserializer +col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses bitvector comment +col_name c +data_type int +min 100 +max 200 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer diff --git ql/src/test/results/clientpositive/autoColumnStats_8.q.out ql/src/test/results/clientpositive/autoColumnStats_8.q.out index c913d97fe5..9d22aebc0d 100644 --- ql/src/test/results/clientpositive/autoColumnStats_8.q.out +++ ql/src/test/results/clientpositive/autoColumnStats_8.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/autoColumnStats_9.q.out ql/src/test/results/clientpositive/autoColumnStats_9.q.out index fda71e0dd2..c6d12fa440 100644 --- ql/src/test/results/clientpositive/autoColumnStats_9.q.out +++ ql/src/test/results/clientpositive/autoColumnStats_9.q.out @@ -216,7 +216,6 @@ POSTHOOK: query: desc formatted dest_j1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dest_j1 # col_name data_type comment - key int value string @@ -250,9 +249,18 @@ PREHOOK: Input: default@dest_j1 POSTHOOK: query: desc formatted dest_j1 key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dest_j1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 498 0 309 HL from deserializer +col_name key +data_type int +min 0 +max 498 +num_nulls 0 +distinct_count 309 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: desc formatted dest_j1 value PREHOOK: type: DESCTABLE @@ -260,7 +268,16 @@ PREHOOK: Input: default@dest_j1 POSTHOOK: query: desc formatted dest_j1 value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dest_j1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 309 6.834630350194552 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 6.834630350194552 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} diff --git ql/src/test/results/clientpositive/avro_add_column3.q.out ql/src/test/results/clientpositive/avro_add_column3.q.out index 2c8bd2079d..aaacb1a068 100644 --- ql/src/test/results/clientpositive/avro_add_column3.q.out +++ ql/src/test/results/clientpositive/avro_add_column3.q.out @@ -69,7 +69,6 @@ part int # Partition Information # col_name data_type comment - part int PREHOOK: query: SELECT * FROM doctors_copy PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/avro_decimal.q.out ql/src/test/results/clientpositive/avro_decimal.q.out index a9ce51b7d4..b093a22aa5 100644 --- ql/src/test/results/clientpositive/avro_decimal.q.out +++ ql/src/test/results/clientpositive/avro_decimal.q.out @@ -32,9 +32,18 @@ PREHOOK: Input: default@dec POSTHOOK: query: DESC FORMATTED `dec` value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dec -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value decimal(8,4) -12.25 234.79 0 10 HL from deserializer +col_name value +data_type decimal(8,4) +min -12.25 +max 234.79 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"value\":\"true\"}} PREHOOK: query: DROP TABLE IF EXISTS avro_dec PREHOOK: type: DROPTABLE diff --git ql/src/test/results/clientpositive/avro_decimal_native.q.out ql/src/test/results/clientpositive/avro_decimal_native.q.out index 822882e662..abf5937bc5 100644 --- ql/src/test/results/clientpositive/avro_decimal_native.q.out +++ ql/src/test/results/clientpositive/avro_decimal_native.q.out @@ -36,9 +36,18 @@ PREHOOK: Input: default@dec POSTHOOK: query: DESC FORMATTED `dec` value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dec -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value decimal(8,4) -12.25 234.79 0 10 HL from deserializer +col_name value +data_type decimal(8,4) +min -12.25 +max 234.79 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"value\":\"true\"}} PREHOOK: query: DROP TABLE IF EXISTS avro_dec PREHOOK: type: DROPTABLE diff --git ql/src/test/results/clientpositive/avro_schema_evolution_native.q.out ql/src/test/results/clientpositive/avro_schema_evolution_native.q.out index ea0d7c19ae..7626a7394f 100644 --- ql/src/test/results/clientpositive/avro_schema_evolution_native.q.out +++ ql/src/test/results/clientpositive/avro_schema_evolution_native.q.out @@ -86,14 +86,12 @@ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@episodes_partitioned col_name data_type comment # col_name data_type comment - title string episode title air_date string initial date doctor int main actor playing the Doctor in episode # Partition Information # col_name data_type comment - doctor_pt int # Detailed Table Information @@ -197,7 +195,6 @@ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@episodes_partitioned col_name data_type comment # col_name data_type comment - title string episode title air_date string initial date doctor int main actor playing the Doctor in episode @@ -205,7 +202,6 @@ value int default value # Partition Information # col_name data_type comment - doctor_pt int # Detailed Table Information diff --git ql/src/test/results/clientpositive/beeline/escape_comments.q.out ql/src/test/results/clientpositive/beeline/escape_comments.q.out index aa26c57ec6..0ce0773a0c 100644 --- ql/src/test/results/clientpositive/beeline/escape_comments.q.out +++ ql/src/test/results/clientpositive/beeline/escape_comments.q.out @@ -84,13 +84,11 @@ PREHOOK: Input: escape_comments_db@escape_comments_tbl1 POSTHOOK: query: describe formatted escape_comments_tbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: escape_comments_db@escape_comments_tbl1 -# col_name data_type comment - NULL NULL +# col_name data_type comment col1 string a\nb'; NULL NULL # Partition Information NULL NULL -# col_name data_type comment - NULL NULL +# col_name data_type comment p1 string a\nb NULL NULL # Detailed Table Information NULL NULL @@ -148,8 +146,7 @@ col1 string a\nb'; p1 string a\nb NULL NULL # Partition Information NULL NULL -# col_name data_type comment - NULL NULL +# col_name data_type comment p1 string a\nb PREHOOK: query: show create table escape_comments_view1 PREHOOK: type: SHOW_CREATETABLE @@ -164,8 +161,7 @@ PREHOOK: Input: escape_comments_db@escape_comments_view1 POSTHOOK: query: describe formatted escape_comments_view1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: escape_comments_db@escape_comments_view1 -# col_name data_type comment - NULL NULL +# col_name data_type comment col1 string a\nb NULL NULL # Detailed Table Information NULL NULL @@ -195,10 +191,10 @@ PREHOOK: query: show formatted index on escape_comments_tbl1 PREHOOK: type: SHOWINDEXES POSTHOOK: query: show formatted index on escape_comments_tbl1 POSTHOOK: type: SHOWINDEXES -idx_name tab_name col_names idx_tab_name idx_type comment +idx_name tab_name col_names idx_tab_name idx_type comment NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL -index2 escape_comments_tbl1 col1 escape_comments_db__escape_comments_tbl1_index2__ compact a\nb +index2 escape_comments_tbl1 col1 escape_comments_db__escape_comments_tbl1_index2__ compact a\nb PREHOOK: query: drop database escape_comments_db cascade PREHOOK: type: DROPDATABASE PREHOOK: Input: database:escape_comments_db diff --git ql/src/test/results/clientpositive/bitvector.q.out ql/src/test/results/clientpositive/bitvector.q.out index 96550ceb55..1e0284fc66 100644 --- ql/src/test/results/clientpositive/bitvector.q.out +++ ql/src/test/results/clientpositive/bitvector.q.out @@ -4,7 +4,16 @@ PREHOOK: Input: default@src POSTHOOK: query: desc formatted src key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} diff --git ql/src/test/results/clientpositive/colstats_all_nulls.q.out ql/src/test/results/clientpositive/colstats_all_nulls.q.out index 9efab75d72..b56ad7fba9 100644 --- ql/src/test/results/clientpositive/colstats_all_nulls.q.out +++ ql/src/test/results/clientpositive/colstats_all_nulls.q.out @@ -41,9 +41,18 @@ PREHOOK: Input: default@all_nulls POSTHOOK: query: describe formatted all_nulls a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@all_nulls -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a bigint 0 0 5 1 HL from deserializer +col_name a +data_type bigint +min 0 +max 0 +num_nulls 5 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\"}} PREHOOK: query: describe formatted all_nulls b PREHOOK: type: DESCTABLE @@ -51,9 +60,18 @@ PREHOOK: Input: default@all_nulls POSTHOOK: query: describe formatted all_nulls b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@all_nulls -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b double 0.0 0.0 5 1 HL from deserializer +col_name b +data_type double +min 0.0 +max 0.0 +num_nulls 5 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\"}} PREHOOK: query: drop table all_nulls PREHOOK: type: DROPTABLE diff --git ql/src/test/results/clientpositive/columnStatsUpdateForStatsOptimizer_2.q.out ql/src/test/results/clientpositive/columnStatsUpdateForStatsOptimizer_2.q.out index 4e430b3f0b..0d78ea2e70 100644 --- ql/src/test/results/clientpositive/columnStatsUpdateForStatsOptimizer_2.q.out +++ ql/src/test/results/clientpositive/columnStatsUpdateForStatsOptimizer_2.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -68,7 +67,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -157,7 +155,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year1 int month int @@ -279,7 +276,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year1 int month int diff --git ql/src/test/results/clientpositive/column_names_with_leading_and_trailing_spaces.q.out ql/src/test/results/clientpositive/column_names_with_leading_and_trailing_spaces.q.out index 345434ff65..2b87d502a2 100644 --- ql/src/test/results/clientpositive/column_names_with_leading_and_trailing_spaces.q.out +++ ql/src/test/results/clientpositive/column_names_with_leading_and_trailing_spaces.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc formatted space POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@space # col_name data_type comment - left string middle string right string @@ -48,9 +47,18 @@ PREHOOK: Input: default@space POSTHOOK: query: desc formatted space ` left` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@space -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - - left string from deserializer +col_name left +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\" left\":\"true\",\" middle \":\"true\",\"right \":\"true\"}} PREHOOK: query: insert into space values ("1", "2", "3") PREHOOK: type: QUERY @@ -67,9 +75,18 @@ PREHOOK: Input: default@space POSTHOOK: query: desc formatted space ` left` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@space -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - - left string 0 1 1.0 1 HL from deserializer +col_name left +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 1.0 +max_col_len 1 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\" left\":\"true\",\" middle \":\"true\",\"right \":\"true\"}} PREHOOK: query: select * from space PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/column_pruner_multiple_children.q.out ql/src/test/results/clientpositive/column_pruner_multiple_children.q.out index c48042227e..66ff79f2bd 100644 --- ql/src/test/results/clientpositive/column_pruner_multiple_children.q.out +++ ql/src/test/results/clientpositive/column_pruner_multiple_children.q.out @@ -139,7 +139,6 @@ POSTHOOK: query: desc formatted DEST1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dest1 # col_name data_type comment - key int value string @@ -173,9 +172,18 @@ PREHOOK: Input: default@dest1 POSTHOOK: query: desc formatted DEST1 key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dest1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 10 10 0 1 HL from deserializer +col_name key +data_type int +min 10 +max 10 +num_nulls 0 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: desc formatted DEST1 value PREHOOK: type: DESCTABLE @@ -183,7 +191,16 @@ PREHOOK: Input: default@dest1 POSTHOOK: query: desc formatted DEST1 value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dest1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 1 4.0 4 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} diff --git ql/src/test/results/clientpositive/columnstats_infinity.q.out ql/src/test/results/clientpositive/columnstats_infinity.q.out index 23ca4869a5..777345cb03 100644 --- ql/src/test/results/clientpositive/columnstats_infinity.q.out +++ ql/src/test/results/clientpositive/columnstats_infinity.q.out @@ -72,7 +72,6 @@ POSTHOOK: query: desc formatted table_change_numeric_group_string_group_floating POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table_change_numeric_group_string_group_floating_string_group # col_name data_type comment - insert_num int c1 decimal(38,18) c2 float @@ -130,7 +129,6 @@ POSTHOOK: query: desc formatted table_change_numeric_group_string_group_floating POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table_change_numeric_group_string_group_floating_string_group # col_name data_type comment - insert_num int c1 decimal(38,18) c2 float @@ -250,7 +248,6 @@ POSTHOOK: query: desc formatted table_change_numeric_group_string_group_floating POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table_change_numeric_group_string_group_floating_string_group # col_name data_type comment - insert_num int c1 decimal(38,18) c2 float diff --git ql/src/test/results/clientpositive/columnstats_partlvl.q.out ql/src/test/results/clientpositive/columnstats_partlvl.q.out index 1e1c55d4bf..08f170913e 100644 --- ql/src/test/results/clientpositive/columnstats_partlvl.q.out +++ ql/src/test/results/clientpositive/columnstats_partlvl.q.out @@ -509,18 +509,36 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary=2000.0) employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 1 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 1 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted Employee_Part partition (employeeSalary=2000.0) employeeName PREHOOK: type: DESCTABLE PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary=2000.0) employeeName POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeName string 1 12 4.3076923076923075 6 HL from deserializer +col_name employeeName +data_type string +min +max +num_nulls 1 +distinct_count 12 +avg_col_len 4.3076923076923075 +max_col_len 6 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain analyze table Employee_Part compute statistics for columns PREHOOK: type: QUERY @@ -598,18 +616,36 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition(employeeSalary=2000.0) employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 1 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 1 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted Employee_Part partition(employeeSalary=4000.0) employeeID PREHOOK: type: DESCTABLE PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition(employeeSalary=4000.0) employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 1 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 1 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain analyze table Employee_Part compute statistics for columns PREHOOK: type: QUERY @@ -679,9 +715,18 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 2 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 2 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"employeeid\":\"true\",\"employeename\":\"true\"}} PREHOOK: query: create database if not exists dummydb PREHOOK: type: CREATEDATABASE @@ -711,9 +756,18 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted default.Employee_Part partition (employeeSalary=2000.0) employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 1 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 1 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"employeeid\":\"true\",\"employeename\":\"true\"}} PREHOOK: query: analyze table default.Employee_Part compute statistics for columns PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/columnstats_partlvl_dp.q.out ql/src/test/results/clientpositive/columnstats_partlvl_dp.q.out index 0739b497f6..a626597b29 100644 --- ql/src/test/results/clientpositive/columnstats_partlvl_dp.q.out +++ ql/src/test/results/clientpositive/columnstats_partlvl_dp.q.out @@ -141,9 +141,18 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary='4000.0', country='USA') employeeName POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeName string 0 7 5.142857142857143 6 HL from deserializer +col_name employeeName +data_type string +min +max +num_nulls 0 +distinct_count 7 +avg_col_len 5.142857142857143 +max_col_len 6 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain analyze table Employee_Part partition (employeeSalary='2000.0') compute statistics for columns employeeID PREHOOK: type: QUERY @@ -221,18 +230,36 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary='2000.0', country='USA') employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 1 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 1 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted Employee_Part partition (employeeSalary='2000.0', country='UK') employeeID PREHOOK: type: DESCTABLE PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary='2000.0', country='UK') employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 31 0 7 HL from deserializer +col_name employeeID +data_type int +min 16 +max 31 +num_nulls 0 +distinct_count 7 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain analyze table Employee_Part partition (employeeSalary) compute statistics for columns employeeID PREHOOK: type: QUERY @@ -318,9 +345,18 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary='3000.0', country='UK') employeeID POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeID int 16 34 1 12 HL from deserializer +col_name employeeID +data_type int +min 16 +max 34 +num_nulls 1 +distinct_count 12 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain analyze table Employee_Part partition (employeeSalary,country) compute statistics for columns PREHOOK: type: QUERY @@ -406,9 +442,18 @@ PREHOOK: Input: default@employee_part POSTHOOK: query: describe formatted Employee_Part partition (employeeSalary='3500.0', country='UK') employeeName POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeName string 0 12 5.142857142857143 6 HL from deserializer +col_name employeeName +data_type string +min +max +num_nulls 0 +distinct_count 12 +avg_col_len 5.142857142857143 +max_col_len 6 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table Employee PREHOOK: type: DROPTABLE POSTHOOK: query: drop table Employee @@ -481,9 +526,18 @@ PREHOOK: Input: default@employee POSTHOOK: query: describe formatted Employee partition (employeeSalary='3500.0', country='UK') employeeName POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeName string 0 12 5.142857142857143 6 HL from deserializer +col_name employeeName +data_type string +min +max +num_nulls 0 +distinct_count 12 +avg_col_len 5.142857142857143 +max_col_len 6 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: LOAD DATA LOCAL INPATH "../../data/files/employee2.dat" INTO TABLE Employee partition(employeeSalary='3000.0', country='USA') PREHOOK: type: LOAD #### A masked pattern was here #### @@ -528,9 +582,18 @@ PREHOOK: Input: default@employee POSTHOOK: query: describe formatted Employee partition (employeeSalary='3000.0', country='USA') employeeName POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeName string 0 12 5.142857142857143 6 HL from deserializer +col_name employeeName +data_type string +min +max +num_nulls 0 +distinct_count 12 +avg_col_len 5.142857142857143 +max_col_len 6 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: alter table Employee add columns (c int ,d string) PREHOOK: type: ALTERTABLE_ADDCOLS PREHOOK: Input: default@employee @@ -564,24 +627,51 @@ PREHOOK: Input: default@employee POSTHOOK: query: describe formatted Employee partition (employeeSalary='6000.0', country='UK') employeeName POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -employeeName string 0 9 4.777777777777778 6 HL from deserializer +col_name employeeName +data_type string +min +max +num_nulls 0 +distinct_count 9 +avg_col_len 4.777777777777778 +max_col_len 6 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted Employee partition (employeeSalary='6000.0', country='UK') c PREHOOK: type: DESCTABLE PREHOOK: Input: default@employee POSTHOOK: query: describe formatted Employee partition (employeeSalary='6000.0', country='UK') c POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -c int 2000 4000 0 3 HL from deserializer +col_name c +data_type int +min 2000 +max 4000 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted Employee partition (employeeSalary='6000.0', country='UK') d PREHOOK: type: DESCTABLE PREHOOK: Input: default@employee POSTHOOK: query: describe formatted Employee partition (employeeSalary='6000.0', country='UK') d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@employee -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -d string 0 2 2.4444444444444446 3 HL from deserializer +col_name d +data_type string +min +max +num_nulls 0 +distinct_count 2 +avg_col_len 2.4444444444444446 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer diff --git ql/src/test/results/clientpositive/columnstats_tbllvl.q.out ql/src/test/results/clientpositive/columnstats_tbllvl.q.out index 25892d8fa6..ca4ef4f7df 100644 --- ql/src/test/results/clientpositive/columnstats_tbllvl.q.out +++ ql/src/test/results/clientpositive/columnstats_tbllvl.q.out @@ -285,9 +285,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: describe formatted UserVisits_web_text_none destURL POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -destURL string 0 55 48.945454545454545 96 HL from deserializer +col_name destURL +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 48.945454545454545 +max_col_len 96 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: describe formatted UserVisits_web_text_none adRevenue PREHOOK: type: DESCTABLE @@ -295,9 +304,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: describe formatted UserVisits_web_text_none adRevenue POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -adRevenue float 13.099044799804688 492.98870849609375 0 55 HL from deserializer +col_name adRevenue +data_type float +min 13.099044799804688 +max 492.98870849609375 +num_nulls 0 +distinct_count 55 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: describe formatted UserVisits_web_text_none avgTimeOnSite PREHOOK: type: DESCTABLE @@ -305,9 +323,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: describe formatted UserVisits_web_text_none avgTimeOnSite POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -avgTimeOnSite int 1 9 0 9 HL from deserializer +col_name avgTimeOnSite +data_type int +min 1 +max 9 +num_nulls 0 +distinct_count 9 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: CREATE TABLE empty_tab( a int, @@ -414,9 +441,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: describe formatted default.UserVisits_web_text_none destURL POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -destURL string 0 55 48.945454545454545 96 HL from deserializer +col_name destURL +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 48.945454545454545 +max_col_len 96 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: CREATE TABLE UserVisits_in_dummy_db ( sourceIP string, @@ -707,9 +743,18 @@ PREHOOK: Input: dummydb@uservisits_in_dummy_db POSTHOOK: query: describe formatted dummydb.UserVisits_in_dummy_db destURL POSTHOOK: type: DESCTABLE POSTHOOK: Input: dummydb@uservisits_in_dummy_db -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -destURL string 0 55 48.945454545454545 96 HL from deserializer +col_name destURL +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 48.945454545454545 +max_col_len 96 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: describe formatted dummydb.UserVisits_in_dummy_db adRevenue PREHOOK: type: DESCTABLE @@ -717,9 +762,18 @@ PREHOOK: Input: dummydb@uservisits_in_dummy_db POSTHOOK: query: describe formatted dummydb.UserVisits_in_dummy_db adRevenue POSTHOOK: type: DESCTABLE POSTHOOK: Input: dummydb@uservisits_in_dummy_db -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -adRevenue float 13.099044799804688 492.98870849609375 0 55 HL from deserializer +col_name adRevenue +data_type float +min 13.099044799804688 +max 492.98870849609375 +num_nulls 0 +distinct_count 55 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: describe formatted dummydb.UserVisits_in_dummy_db avgTimeOnSite PREHOOK: type: DESCTABLE @@ -727,9 +781,18 @@ PREHOOK: Input: dummydb@uservisits_in_dummy_db POSTHOOK: query: describe formatted dummydb.UserVisits_in_dummy_db avgTimeOnSite POSTHOOK: type: DESCTABLE POSTHOOK: Input: dummydb@uservisits_in_dummy_db -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -avgTimeOnSite int 1 9 0 9 HL from deserializer +col_name avgTimeOnSite +data_type int +min 1 +max 9 +num_nulls 0 +distinct_count 9 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"ccode\":\"true\",\"desturl\":\"true\",\"lcode\":\"true\",\"skeyword\":\"true\",\"sourceip\":\"true\",\"useragent\":\"true\",\"visitdate\":\"true\"}} PREHOOK: query: drop table dummydb.UserVisits_in_dummy_db PREHOOK: type: DROPTABLE diff --git ql/src/test/results/clientpositive/combine3.q.out ql/src/test/results/clientpositive/combine3.q.out index d84a7baa4e..c50816626f 100644 --- ql/src/test/results/clientpositive/combine3.q.out +++ ql/src/test/results/clientpositive/combine3.q.out @@ -51,7 +51,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -69,7 +68,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/compustat_avro.q.out ql/src/test/results/clientpositive/compustat_avro.q.out index db20bef04e..cdf9d36672 100644 --- ql/src/test/results/clientpositive/compustat_avro.q.out +++ ql/src/test/results/clientpositive/compustat_avro.q.out @@ -30,9 +30,18 @@ PREHOOK: Input: default@testavro POSTHOOK: query: describe formatted testAvro col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testavro -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 string from deserializer +col_name col1 +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\",\"col4\":\"true\",\"col5\":\"true\",\"col6\":\"true\"}} PREHOOK: query: analyze table testAvro compute statistics for columns col1,col3 PREHOOK: type: QUERY @@ -48,7 +57,16 @@ PREHOOK: Input: default@testavro POSTHOOK: query: describe formatted testAvro col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testavro -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 string 0 0 0.0 0 from deserializer +col_name col1 +data_type string +min +max +num_nulls 0 +distinct_count 0 +avg_col_len 0.0 +max_col_len 0 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\",\"col4\":\"true\",\"col5\":\"true\",\"col6\":\"true\"}} diff --git ql/src/test/results/clientpositive/compute_stats_date.q.out ql/src/test/results/clientpositive/compute_stats_date.q.out index e738c25fc9..a1a5c8a07f 100644 --- ql/src/test/results/clientpositive/compute_stats_date.q.out +++ ql/src/test/results/clientpositive/compute_stats_date.q.out @@ -109,9 +109,18 @@ PREHOOK: Input: default@tab_date POSTHOOK: query: describe formatted tab_date fl_date POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab_date -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -fl_date date 2000-11-20 2010-10-29 0 19 HL from deserializer +col_name fl_date +data_type date +min 2000-11-20 +max 2010-10-29 +num_nulls 0 +distinct_count 19 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"fl_date\":\"true\"}} PREHOOK: query: alter table tab_date update statistics for column fl_date set ('numDVs'='19', 'highValue'='2015-01-01', 'lowValue'='0') PREHOOK: type: ALTERTABLE_UPDATETABLESTATS @@ -123,7 +132,16 @@ PREHOOK: Input: default@tab_date POSTHOOK: query: describe formatted tab_date fl_date POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab_date -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -fl_date date 1970-01-01 2015-01-01 0 19 HL from deserializer +col_name fl_date +data_type date +min 1970-01-01 +max 2015-01-01 +num_nulls 0 +distinct_count 19 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"fl_date\":\"true\"}} diff --git ql/src/test/results/clientpositive/confirm_initial_tbl_stats.q.out ql/src/test/results/clientpositive/confirm_initial_tbl_stats.q.out index 10dbd24c38..a900194b80 100644 --- ql/src/test/results/clientpositive/confirm_initial_tbl_stats.q.out +++ ql/src/test/results/clientpositive/confirm_initial_tbl_stats.q.out @@ -14,9 +14,18 @@ PREHOOK: Input: default@src POSTHOOK: query: describe formatted src key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe extended src1 PREHOOK: type: DESCTABLE @@ -34,9 +43,18 @@ PREHOOK: Input: default@src1 POSTHOOK: query: describe formatted src1 value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 19 4.92 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 19 +avg_col_len 4.92 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe extended src_json PREHOOK: type: DESCTABLE @@ -53,9 +71,18 @@ PREHOOK: Input: default@src_json POSTHOOK: query: describe formatted src_json json POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_json -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -json string 0 1 644.0 644 HL from deserializer +col_name json +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 644.0 +max_col_len 644 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"json\":\"true\"}} PREHOOK: query: describe extended src_sequencefile PREHOOK: type: DESCTABLE @@ -73,9 +100,18 @@ PREHOOK: Input: default@src_sequencefile POSTHOOK: query: describe formatted src_sequencefile value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_sequencefile -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 309 6.812 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 6.812 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe extended srcbucket PREHOOK: type: DESCTABLE @@ -93,9 +129,18 @@ PREHOOK: Input: default@srcbucket POSTHOOK: query: describe formatted srcbucket value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcbucket -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 430 6.802 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 430 +avg_col_len 6.802 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe extended srcbucket2 PREHOOK: type: DESCTABLE @@ -113,9 +158,18 @@ PREHOOK: Input: default@srcbucket2 POSTHOOK: query: describe formatted srcbucket2 value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcbucket2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 309 6.812 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 6.812 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe extended srcpart PREHOOK: type: DESCTABLE @@ -130,7 +184,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -141,9 +194,18 @@ PREHOOK: Input: default@srcpart POSTHOOK: query: describe formatted srcpart PARTITION (ds="2008-04-09", hr="12") key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe extended alltypesorc PREHOOK: type: DESCTABLE PREHOOK: Input: default@alltypesorc @@ -170,9 +232,18 @@ PREHOOK: Input: default@alltypesorc POSTHOOK: query: describe formatted alltypesorc ctinyint POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alltypesorc -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ctinyint tinyint -64 62 3115 127 HL from deserializer +col_name ctinyint +data_type tinyint +min -64 +max 62 +num_nulls 3115 +distinct_count 127 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"cbigint\":\"true\",\"cboolean1\":\"true\",\"cboolean2\":\"true\",\"cdouble\":\"true\",\"cfloat\":\"true\",\"cint\":\"true\",\"csmallint\":\"true\",\"cstring1\":\"true\",\"cstring2\":\"true\",\"ctimestamp1\":\"true\",\"ctimestamp2\":\"true\",\"ctinyint\":\"true\"}} PREHOOK: query: describe formatted alltypesorc cfloat PREHOOK: type: DESCTABLE @@ -180,9 +251,18 @@ PREHOOK: Input: default@alltypesorc POSTHOOK: query: describe formatted alltypesorc cfloat POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alltypesorc -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cfloat float -64.0 79.5530014038086 3115 131 HL from deserializer +col_name cfloat +data_type float +min -64.0 +max 79.5530014038086 +num_nulls 3115 +distinct_count 131 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"cbigint\":\"true\",\"cboolean1\":\"true\",\"cboolean2\":\"true\",\"cdouble\":\"true\",\"cfloat\":\"true\",\"cint\":\"true\",\"csmallint\":\"true\",\"cstring1\":\"true\",\"cstring2\":\"true\",\"ctimestamp1\":\"true\",\"ctimestamp2\":\"true\",\"ctinyint\":\"true\"}} PREHOOK: query: describe formatted alltypesorc ctimestamp1 PREHOOK: type: DESCTABLE @@ -190,9 +270,18 @@ PREHOOK: Input: default@alltypesorc POSTHOOK: query: describe formatted alltypesorc ctimestamp1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alltypesorc -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ctimestamp1 timestamp -30 31 3115 35 HL from deserializer +col_name ctimestamp1 +data_type timestamp +min -30 +max 31 +num_nulls 3115 +distinct_count 35 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"cbigint\":\"true\",\"cboolean1\":\"true\",\"cboolean2\":\"true\",\"cdouble\":\"true\",\"cfloat\":\"true\",\"cint\":\"true\",\"csmallint\":\"true\",\"cstring1\":\"true\",\"cstring2\":\"true\",\"ctimestamp1\":\"true\",\"ctimestamp2\":\"true\",\"ctinyint\":\"true\"}} PREHOOK: query: describe formatted alltypesorc cboolean2 PREHOOK: type: DESCTABLE @@ -200,7 +289,16 @@ PREHOOK: Input: default@alltypesorc POSTHOOK: query: describe formatted alltypesorc cboolean2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alltypesorc -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cboolean2 boolean 3115 3983 5190 from deserializer +col_name cboolean2 +data_type boolean +min +max +num_nulls 3115 +distinct_count +avg_col_len +max_col_len +num_trues 3983 +num_falses 5190 +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"cbigint\":\"true\",\"cboolean1\":\"true\",\"cboolean2\":\"true\",\"cdouble\":\"true\",\"cfloat\":\"true\",\"cint\":\"true\",\"csmallint\":\"true\",\"cstring1\":\"true\",\"cstring2\":\"true\",\"ctimestamp1\":\"true\",\"ctimestamp2\":\"true\",\"ctinyint\":\"true\"}} diff --git ql/src/test/results/clientpositive/convert_enum_to_string.q.out ql/src/test/results/clientpositive/convert_enum_to_string.q.out index b9b8324efb..d1d2f2ea12 100644 --- ql/src/test/results/clientpositive/convert_enum_to_string.q.out +++ ql/src/test/results/clientpositive/convert_enum_to_string.q.out @@ -46,5 +46,4 @@ b string # Partition Information # col_name data_type comment - b string diff --git ql/src/test/results/clientpositive/create_alter_list_bucketing_table1.q.out ql/src/test/results/clientpositive/create_alter_list_bucketing_table1.q.out index f661c5ddf4..e74be6221d 100644 --- ql/src/test/results/clientpositive/create_alter_list_bucketing_table1.q.out +++ ql/src/test/results/clientpositive/create_alter_list_bucketing_table1.q.out @@ -15,7 +15,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_multiple POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_multiple # col_name data_type comment - col1 string col2 int col3 string @@ -62,7 +61,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_multiple POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_multiple # col_name data_type comment - col1 string col2 int col3 string @@ -109,7 +107,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_multiple POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_multiple # col_name data_type comment - col1 string col2 int col3 string @@ -164,7 +161,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_single POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_single # col_name data_type comment - key string value string @@ -211,7 +207,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_single POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_single # col_name data_type comment - key string value string @@ -257,7 +252,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_single POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_single # col_name data_type comment - key string value string @@ -304,7 +298,6 @@ POSTHOOK: query: describe formatted stored_as_dirs_single_like POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stored_as_dirs_single_like # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/create_like.q.out ql/src/test/results/clientpositive/create_like.q.out index a5c0c733f9..7c26a597a5 100644 --- ql/src/test/results/clientpositive/create_like.q.out +++ ql/src/test/results/clientpositive/create_like.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table1 # col_name data_type comment - a string b string @@ -56,7 +55,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table2 # col_name data_type comment - a string b string @@ -107,7 +105,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table3 # col_name data_type comment - a string b string @@ -342,7 +339,6 @@ POSTHOOK: query: DESCRIBE FORMATTED doctors POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@doctors # col_name data_type comment - number int Order of playing the role first_name string first name of actor playing role last_name string last name of actor playing role @@ -411,7 +407,6 @@ POSTHOOK: query: DESCRIBE FORMATTED doctors2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@doctors2 # col_name data_type comment - number int Order of playing the role first_name string first name of actor playing role last_name string last name of actor playing role @@ -485,7 +480,6 @@ POSTHOOK: query: DESCRIBE FORMATTED LikePropertiedParquetTable POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@likepropertiedparquettable # col_name data_type comment - a int b string @@ -529,7 +523,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table5 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table5 # col_name data_type comment - col1 int col2 string @@ -572,7 +565,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table6 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table6 # col_name data_type comment - col1 int col2 string @@ -625,7 +617,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table6 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table6 # col_name data_type comment - col1 int col2 string @@ -683,7 +674,6 @@ POSTHOOK: query: describe formatted orc_table_using_like POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_table_using_like # col_name data_type comment - time string # Detailed Table Information diff --git ql/src/test/results/clientpositive/create_like2.q.out ql/src/test/results/clientpositive/create_like2.q.out index 157c3c9f88..601b929a2d 100644 --- ql/src/test/results/clientpositive/create_like2.q.out +++ ql/src/test/results/clientpositive/create_like2.q.out @@ -29,7 +29,6 @@ POSTHOOK: query: DESC FORMATTED table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table2 # col_name data_type comment - a int b string diff --git ql/src/test/results/clientpositive/create_like_tbl_props.q.out ql/src/test/results/clientpositive/create_like_tbl_props.q.out index c242f3d17f..e324749ffe 100644 --- ql/src/test/results/clientpositive/create_like_tbl_props.q.out +++ ql/src/test/results/clientpositive/create_like_tbl_props.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: DESC FORMATTED test_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default @@ -57,7 +56,6 @@ POSTHOOK: query: DESC FORMATTED test_table1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table1 # col_name data_type comment - key string default value string default @@ -101,7 +99,6 @@ POSTHOOK: query: DESC FORMATTED test_table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table2 # col_name data_type comment - key string default value string default @@ -146,7 +143,6 @@ POSTHOOK: query: DESC FORMATTED test_table3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table3 # col_name data_type comment - key string default value string default @@ -203,7 +199,6 @@ POSTHOOK: query: DESC FORMATTED test_table4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table4 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/create_like_view.q.out ql/src/test/results/clientpositive/create_like_view.q.out index 756934b8a1..25b927bbd3 100644 --- ql/src/test/results/clientpositive/create_like_view.q.out +++ ql/src/test/results/clientpositive/create_like_view.q.out @@ -37,7 +37,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table1 # col_name data_type comment - a string b string @@ -100,7 +99,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table2 # col_name data_type comment - a string b string @@ -159,7 +157,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table3 # col_name data_type comment - a string b string @@ -278,13 +275,11 @@ POSTHOOK: query: describe formatted table1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/create_or_replace_view.q.out ql/src/test/results/clientpositive/create_or_replace_view.q.out index 6cf1e5ae48..8383951654 100644 --- ql/src/test/results/clientpositive/create_or_replace_view.q.out +++ ql/src/test/results/clientpositive/create_or_replace_view.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: describe formatted vt.v POSTHOOK: type: DESCTABLE POSTHOOK: Input: vt@v # col_name data_type comment - key string value string ds string @@ -110,13 +109,11 @@ POSTHOOK: query: describe formatted vt.v POSTHOOK: type: DESCTABLE POSTHOOK: Input: vt@v # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -209,12 +206,10 @@ POSTHOOK: query: describe formatted vt.v POSTHOOK: type: DESCTABLE POSTHOOK: Input: vt@v # col_name data_type comment - value string # Partition Information # col_name data_type comment - ds string hr string @@ -283,13 +278,11 @@ POSTHOOK: query: describe formatted vt.v POSTHOOK: type: DESCTABLE POSTHOOK: Input: vt@v # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -381,13 +374,11 @@ POSTHOOK: query: describe formatted vt.v POSTHOOK: type: DESCTABLE POSTHOOK: Input: vt@v # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/create_skewed_table1.q.out ql/src/test/results/clientpositive/create_skewed_table1.q.out index df927a78a8..cc647a3eb0 100644 --- ql/src/test/results/clientpositive/create_skewed_table1.q.out +++ ql/src/test/results/clientpositive/create_skewed_table1.q.out @@ -29,7 +29,6 @@ POSTHOOK: query: describe formatted list_bucket_single_2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucket_single_2 # col_name data_type comment - key string value string @@ -66,7 +65,6 @@ POSTHOOK: query: describe formatted list_bucket_single POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucket_single # col_name data_type comment - key string value string @@ -103,7 +101,6 @@ POSTHOOK: query: describe formatted list_bucket_multiple POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucket_multiple # col_name data_type comment - col1 string col2 int col3 string diff --git ql/src/test/results/clientpositive/create_table_like_stats.q.out ql/src/test/results/clientpositive/create_table_like_stats.q.out index bd559c0f91..f88c50cfeb 100644 --- ql/src/test/results/clientpositive/create_table_like_stats.q.out +++ ql/src/test/results/clientpositive/create_table_like_stats.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: desc formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default @@ -70,7 +69,6 @@ POSTHOOK: query: desc formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default @@ -122,13 +120,11 @@ POSTHOOK: query: desc formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -180,13 +176,11 @@ POSTHOOK: query: desc formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/create_view_defaultformats.q.out ql/src/test/results/clientpositive/create_view_defaultformats.q.out index 1ac20c2b4d..71df2b2dad 100644 --- ql/src/test/results/clientpositive/create_view_defaultformats.q.out +++ ql/src/test/results/clientpositive/create_view_defaultformats.q.out @@ -37,7 +37,6 @@ POSTHOOK: query: describe formatted sfsrc POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@sfsrc # col_name data_type comment - key string value string @@ -69,7 +68,6 @@ POSTHOOK: query: describe formatted rcsrc POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcsrc # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/create_view_partitioned.q.out ql/src/test/results/clientpositive/create_view_partitioned.q.out index b1bf7d68f6..fc9031781d 100644 --- ql/src/test/results/clientpositive/create_view_partitioned.q.out +++ ql/src/test/results/clientpositive/create_view_partitioned.q.out @@ -42,7 +42,6 @@ value string # Partition Information # col_name data_type comment - value string #### A masked pattern was here #### @@ -57,12 +56,10 @@ POSTHOOK: query: DESCRIBE FORMATTED vp1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@vp1 # col_name data_type comment - key string # Partition Information # col_name data_type comment - value string # Detailed Table Information @@ -256,14 +253,12 @@ POSTHOOK: query: DESCRIBE FORMATTED vp2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@vp2 # col_name data_type comment - key string value string ds string # Partition Information # col_name data_type comment - hr string # Detailed Table Information @@ -375,12 +370,10 @@ POSTHOOK: query: DESCRIBE FORMATTED vp3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@vp3 # col_name data_type comment - k string # Partition Information # col_name data_type comment - v string # Detailed Table Information diff --git ql/src/test/results/clientpositive/create_view_translate.q.out ql/src/test/results/clientpositive/create_view_translate.q.out index db9fd789b1..e5748976bd 100644 --- ql/src/test/results/clientpositive/create_view_translate.q.out +++ ql/src/test/results/clientpositive/create_view_translate.q.out @@ -24,7 +24,6 @@ POSTHOOK: query: describe formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string # Detailed Table Information @@ -71,7 +70,6 @@ POSTHOOK: query: describe formatted w POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@w # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/create_with_constraints.q.out ql/src/test/results/clientpositive/create_with_constraints.q.out index 50a6d05da2..a675a0e6d5 100644 --- ql/src/test/results/clientpositive/create_with_constraints.q.out +++ ql/src/test/results/clientpositive/create_with_constraints.q.out @@ -358,7 +358,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table1 # col_name data_type comment - a string b string @@ -400,7 +399,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table2 # col_name data_type comment - a string b string @@ -442,7 +440,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table3 # col_name data_type comment - x string # Detailed Table Information @@ -495,7 +492,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table4 # col_name data_type comment - x string y string @@ -556,7 +552,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table5 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table5 # col_name data_type comment - x string # Detailed Table Information @@ -603,7 +598,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table6 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table6 # col_name data_type comment - x string y string @@ -654,7 +648,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table7 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table7 # col_name data_type comment - a string b string @@ -696,7 +689,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table8 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table8 # col_name data_type comment - a string b string @@ -738,7 +730,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table9 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table9 # col_name data_type comment - a string b string @@ -780,7 +771,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table10 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table10 # col_name data_type comment - a string b string @@ -829,7 +819,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table11 # col_name data_type comment - a string b string c string @@ -879,7 +868,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table12 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table12 # col_name data_type comment - a string b string @@ -922,7 +910,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table13 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table13 # col_name data_type comment - a string b string @@ -965,7 +952,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table14 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table14 # col_name data_type comment - a string b string @@ -1008,7 +994,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table15 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table15 # col_name data_type comment - a string b string @@ -1043,7 +1028,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table16 # col_name data_type comment - a string b string @@ -1078,7 +1062,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table17 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table17 # col_name data_type comment - a string b string @@ -1121,7 +1104,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table18 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table18 # col_name data_type comment - a string b string @@ -1252,7 +1234,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table2 # col_name data_type comment - a string b string @@ -1287,7 +1268,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table3 # col_name data_type comment - x string # Detailed Table Information @@ -1334,7 +1314,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table4 # col_name data_type comment - x string y string @@ -1383,7 +1362,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table6 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table6 # col_name data_type comment - x string y string @@ -1425,7 +1403,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table16 # col_name data_type comment - a string b string @@ -1460,7 +1437,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table18 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table18 # col_name data_type comment - a string b string @@ -1519,7 +1495,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table2 # col_name data_type comment - a string b string @@ -1561,7 +1536,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table3 # col_name data_type comment - x string # Detailed Table Information @@ -1614,7 +1588,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table6 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table6 # col_name data_type comment - x string y string @@ -1665,7 +1638,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table16 # col_name data_type comment - a string b string @@ -1701,7 +1673,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table18 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table18 # col_name data_type comment - a string b string @@ -1761,7 +1732,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table12 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table12 # col_name data_type comment - a string b string @@ -1808,7 +1778,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table13 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table13 # col_name data_type comment - a string b string @@ -1859,7 +1828,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table12 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@table12 # col_name data_type comment - a string b string @@ -1941,7 +1909,6 @@ POSTHOOK: query: DESCRIBE FORMATTED DbConstraint.Table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: dbconstraint@table2 # col_name data_type comment - a string b string @@ -2004,7 +1971,6 @@ POSTHOOK: query: DESCRIBE FORMATTED DbConstraint.Table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: dbconstraint@table2 # col_name data_type comment - a string b string @@ -2051,7 +2017,6 @@ POSTHOOK: query: DESCRIBE FORMATTED DbConstraint.Table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: dbconstraint@table2 # col_name data_type comment - a string b string @@ -2103,7 +2068,6 @@ POSTHOOK: query: DESCRIBE FORMATTED DbConstraint.Table2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: dbconstraint@table2 # col_name data_type comment - a string b string diff --git ql/src/test/results/clientpositive/ctas.q.out ql/src/test/results/clientpositive/ctas.q.out index c1b0838060..1764c6b5e6 100644 --- ql/src/test/results/clientpositive/ctas.q.out +++ ql/src/test/results/clientpositive/ctas.q.out @@ -137,7 +137,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas1 # col_name data_type comment - k string value string @@ -288,7 +287,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas2 # col_name data_type comment - key string value string @@ -439,7 +437,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas3 # col_name data_type comment - half_key double conb string @@ -503,7 +500,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas3 # col_name data_type comment - half_key double conb string @@ -655,7 +651,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas4 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/ctas_colname.q.out ql/src/test/results/clientpositive/ctas_colname.q.out index 8d61c9dfdd..795517df12 100644 --- ql/src/test/results/clientpositive/ctas_colname.q.out +++ ql/src/test/results/clientpositive/ctas_colname.q.out @@ -85,7 +85,6 @@ POSTHOOK: query: describe formatted summary POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@summary # col_name data_type comment - key string value string _c1 double @@ -244,7 +243,6 @@ POSTHOOK: query: describe formatted x4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@x4 # col_name data_type comment - key string value string rr int @@ -435,7 +433,6 @@ POSTHOOK: query: describe formatted x5 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@x5 # col_name data_type comment - key string value string lead1 string @@ -606,7 +603,6 @@ POSTHOOK: query: describe formatted x6 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@x6 # col_name data_type comment - key string value string _c1 double @@ -757,7 +753,6 @@ POSTHOOK: query: describe formatted x7 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@x7 # col_name data_type comment - _col0 string _col1 string _c1 bigint @@ -1191,7 +1186,6 @@ POSTHOOK: query: describe formatted x8 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@x8 # col_name data_type comment - _col0 string _col1 string _c1 bigint @@ -1327,7 +1321,6 @@ POSTHOOK: query: describe formatted x9 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@x9 # col_name data_type comment - _c0 string key string diff --git ql/src/test/results/clientpositive/ctas_uses_database_location.q.out ql/src/test/results/clientpositive/ctas_uses_database_location.q.out index ed6d2bce3d..fe5cf87263 100644 --- ql/src/test/results/clientpositive/ctas_uses_database_location.q.out +++ ql/src/test/results/clientpositive/ctas_uses_database_location.q.out @@ -125,7 +125,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table_db1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@table_db1 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/database_location.q.out ql/src/test/results/clientpositive/database_location.q.out index e4db000146..a62ba2e304 100644 --- ql/src/test/results/clientpositive/database_location.q.out +++ ql/src/test/results/clientpositive/database_location.q.out @@ -32,7 +32,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table_db1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@table_db1 # col_name data_type comment - name string value int @@ -107,7 +106,6 @@ POSTHOOK: query: DESCRIBE FORMATTED table_db2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db2@table_db2 # col_name data_type comment - name string value int diff --git ql/src/test/results/clientpositive/dbtxnmgr_query5.q.out ql/src/test/results/clientpositive/dbtxnmgr_query5.q.out index facd497095..1d7206f31e 100644 --- ql/src/test/results/clientpositive/dbtxnmgr_query5.q.out +++ ql/src/test/results/clientpositive/dbtxnmgr_query5.q.out @@ -56,7 +56,6 @@ ds string # Partition Information # col_name data_type comment - ds string PREHOOK: query: drop view V1 PREHOOK: type: DROPVIEW diff --git ql/src/test/results/clientpositive/decimal_serde.q.out ql/src/test/results/clientpositive/decimal_serde.q.out index e0f5c74630..43f7ab87a3 100644 --- ql/src/test/results/clientpositive/decimal_serde.q.out +++ ql/src/test/results/clientpositive/decimal_serde.q.out @@ -105,7 +105,6 @@ POSTHOOK: query: describe formatted DECIMAL_RC POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@decimal_rc # col_name data_type comment - key decimal(10,0) value int @@ -158,7 +157,6 @@ POSTHOOK: query: describe formatted DECIMAL_LAZY_COL POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@decimal_lazy_col # col_name data_type comment - key decimal(10,0) value int diff --git ql/src/test/results/clientpositive/decimal_stats.q.out ql/src/test/results/clientpositive/decimal_stats.q.out index eacad98e72..9d7e750e40 100644 --- ql/src/test/results/clientpositive/decimal_stats.q.out +++ ql/src/test/results/clientpositive/decimal_stats.q.out @@ -46,9 +46,18 @@ PREHOOK: Input: default@decimal_1 POSTHOOK: query: desc formatted decimal_1 v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@decimal_1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -v decimal(10,0) 500 1 HL from deserializer +col_name v +data_type decimal(10,0) +min +max +num_nulls 500 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"t\":\"true\",\"u\":\"true\",\"v\":\"true\"}} PREHOOK: query: explain select * from decimal_1 order by t limit 100 PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/default_file_format.q.out ql/src/test/results/clientpositive/default_file_format.q.out index 9e8d5baa1a..9eb7d2d4b8 100644 --- ql/src/test/results/clientpositive/default_file_format.q.out +++ ql/src/test/results/clientpositive/default_file_format.q.out @@ -59,7 +59,6 @@ POSTHOOK: query: describe formatted t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t # col_name data_type comment - c int # Detailed Table Information @@ -93,7 +92,6 @@ POSTHOOK: query: describe formatted o POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@o # col_name data_type comment - c int # Detailed Table Information @@ -127,7 +125,6 @@ POSTHOOK: query: describe formatted io POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@io # col_name data_type comment - c int # Detailed Table Information @@ -161,7 +158,6 @@ POSTHOOK: query: describe formatted e POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@e # col_name data_type comment - c int # Detailed Table Information @@ -191,7 +187,6 @@ POSTHOOK: query: describe formatted i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i # col_name data_type comment - c int # Detailed Table Information @@ -225,7 +220,6 @@ POSTHOOK: query: describe formatted e2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@e2 # col_name data_type comment - c int # Detailed Table Information @@ -359,7 +353,6 @@ POSTHOOK: query: describe formatted t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t # col_name data_type comment - c int # Detailed Table Information @@ -393,7 +386,6 @@ POSTHOOK: query: describe formatted o POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@o # col_name data_type comment - c int # Detailed Table Information @@ -427,7 +419,6 @@ POSTHOOK: query: describe formatted io POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@io # col_name data_type comment - c int # Detailed Table Information @@ -461,7 +452,6 @@ POSTHOOK: query: describe formatted e POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@e # col_name data_type comment - c int # Detailed Table Information @@ -493,7 +483,6 @@ POSTHOOK: query: describe formatted i POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i # col_name data_type comment - c int # Detailed Table Information @@ -527,7 +516,6 @@ POSTHOOK: query: describe formatted e2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@e2 # col_name data_type comment - c int # Detailed Table Information diff --git ql/src/test/results/clientpositive/deleteAnalyze.q.out ql/src/test/results/clientpositive/deleteAnalyze.q.out index d3609f8b6f..840f0533ef 100644 --- ql/src/test/results/clientpositive/deleteAnalyze.q.out +++ ql/src/test/results/clientpositive/deleteAnalyze.q.out @@ -35,7 +35,6 @@ POSTHOOK: query: describe formatted testdeci2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testdeci2 # col_name data_type comment - id int amount decimal(10,3) sales_tax decimal(10,3) @@ -72,9 +71,18 @@ PREHOOK: Input: default@testdeci2 POSTHOOK: query: describe formatted testdeci2 amount POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testdeci2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -amount decimal(10,3) from deserializer +col_name amount +data_type decimal(10,3) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: analyze table testdeci2 compute statistics for columns PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/desc_tbl_part_cols.q.out ql/src/test/results/clientpositive/desc_tbl_part_cols.q.out index e874412d21..196f85b528 100644 --- ql/src/test/results/clientpositive/desc_tbl_part_cols.q.out +++ ql/src/test/results/clientpositive/desc_tbl_part_cols.q.out @@ -19,7 +19,6 @@ d string # Partition Information # col_name data_type comment - c int d string PREHOOK: query: describe t1 diff --git ql/src/test/results/clientpositive/describe_comment_indent.q.out ql/src/test/results/clientpositive/describe_comment_indent.q.out index 0049e2b1bb..8da59495f6 100644 --- ql/src/test/results/clientpositive/describe_comment_indent.q.out +++ ql/src/test/results/clientpositive/describe_comment_indent.q.out @@ -41,7 +41,6 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - col1 int col1 one line comment col2 string col2 two lines comment diff --git ql/src/test/results/clientpositive/describe_comment_nonascii.q.out ql/src/test/results/clientpositive/describe_comment_nonascii.q.out index 4483e885cd..a4d512737a 100644 --- ql/src/test/results/clientpositive/describe_comment_nonascii.q.out +++ ql/src/test/results/clientpositive/describe_comment_nonascii.q.out @@ -37,7 +37,6 @@ POSTHOOK: query: DESCRIBE FORMATTED dummy POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dummy # col_name data_type comment - col1 string 한글_col1 col2 string 漢字_col2 col3 string わご_col3 diff --git ql/src/test/results/clientpositive/describe_formatted_view_partitioned.q.out ql/src/test/results/clientpositive/describe_formatted_view_partitioned.q.out index d47e325d38..fe96d50601 100644 --- ql/src/test/results/clientpositive/describe_formatted_view_partitioned.q.out +++ ql/src/test/results/clientpositive/describe_formatted_view_partitioned.q.out @@ -43,12 +43,10 @@ POSTHOOK: query: DESCRIBE FORMATTED view_partitioned PARTITION (value='val_86') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@view_partitioned # col_name data_type comment - key string # Partition Information # col_name data_type comment - value string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/describe_syntax.q.out ql/src/test/results/clientpositive/describe_syntax.q.out index 16b7763152..a0c6182c3f 100644 --- ql/src/test/results/clientpositive/describe_syntax.q.out +++ ql/src/test/results/clientpositive/describe_syntax.q.out @@ -52,7 +52,6 @@ part string # Partition Information # col_name data_type comment - ds string part string PREHOOK: query: DESCRIBE EXTENDED t1 @@ -68,7 +67,6 @@ part string # Partition Information # col_name data_type comment - ds string part string @@ -80,13 +78,11 @@ POSTHOOK: query: DESCRIBE FORMATTED t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 # col_name data_type comment - key1 int value1 string # Partition Information # col_name data_type comment - ds string part string @@ -128,7 +124,6 @@ part string # Partition Information # col_name data_type comment - ds string part string PREHOOK: query: DESCRIBE EXTENDED db1.t1 @@ -144,7 +139,6 @@ part string # Partition Information # col_name data_type comment - ds string part string @@ -156,13 +150,11 @@ POSTHOOK: query: DESCRIBE FORMATTED db1.t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 # col_name data_type comment - key1 int value1 string # Partition Information # col_name data_type comment - ds string part string @@ -211,9 +203,18 @@ PREHOOK: Input: db1@t1 POSTHOOK: query: DESCRIBE FORMATTED t1 key1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key1 int from deserializer +col_name key1 +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {} PREHOOK: query: DESCRIBE db1.t1 key1 PREHOOK: type: DESCTABLE @@ -235,9 +236,18 @@ PREHOOK: Input: db1@t1 POSTHOOK: query: DESCRIBE FORMATTED db1.t1 key1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key1 int from deserializer +col_name key1 +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {} PREHOOK: query: DESCRIBE t1 key1 PREHOOK: type: DESCTABLE @@ -259,9 +269,18 @@ PREHOOK: Input: db1@t1 POSTHOOK: query: DESCRIBE FORMATTED t1 key1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key1 int from deserializer +col_name key1 +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {} PREHOOK: query: DESCRIBE t1 PARTITION(ds='4', part='5') PREHOOK: type: DESCTABLE @@ -276,7 +295,6 @@ part string # Partition Information # col_name data_type comment - ds string part string PREHOOK: query: DESCRIBE EXTENDED t1 PARTITION(ds='4', part='5') @@ -292,7 +310,6 @@ part string # Partition Information # col_name data_type comment - ds string part string @@ -304,13 +321,11 @@ POSTHOOK: query: DESCRIBE FORMATTED t1 PARTITION(ds='4', part='5') POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 # col_name data_type comment - key1 int value1 string # Partition Information # col_name data_type comment - ds string part string @@ -350,7 +365,6 @@ part string # Partition Information # col_name data_type comment - ds string part string PREHOOK: query: DESCRIBE EXTENDED db1.t1 PARTITION(ds='4', part='5') @@ -366,7 +380,6 @@ part string # Partition Information # col_name data_type comment - ds string part string @@ -378,13 +391,11 @@ POSTHOOK: query: DESCRIBE FORMATTED db1.t1 PARTITION(ds='4', part='5') POSTHOOK: type: DESCTABLE POSTHOOK: Input: db1@t1 # col_name data_type comment - key1 int value1 string # Partition Information # col_name data_type comment - ds string part string diff --git ql/src/test/results/clientpositive/describe_table.q.out ql/src/test/results/clientpositive/describe_table.q.out index 08f466e6da..8f7d0f67f5 100644 --- ql/src/test/results/clientpositive/describe_table.q.out +++ ql/src/test/results/clientpositive/describe_table.q.out @@ -11,7 +11,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string PREHOOK: query: describe srcpart key @@ -34,7 +33,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string PREHOOK: query: describe `srcpart` @@ -50,7 +48,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string PREHOOK: query: describe `srcpart` `key` @@ -73,7 +70,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string PREHOOK: query: describe extended srcpart @@ -89,7 +85,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -114,7 +109,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -132,7 +126,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -157,7 +150,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -169,13 +161,11 @@ POSTHOOK: query: describe formatted srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -210,9 +200,18 @@ PREHOOK: Input: default@srcpart POSTHOOK: query: describe formatted srcpart key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: describe formatted srcpart PARTITION(ds='2008-04-08', hr='12') PREHOOK: type: DESCTABLE @@ -221,13 +220,11 @@ POSTHOOK: query: describe formatted srcpart PARTITION(ds='2008-04-08', hr='12') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -261,13 +258,11 @@ POSTHOOK: query: describe formatted `srcpart` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -302,9 +297,18 @@ PREHOOK: Input: default@srcpart POSTHOOK: query: describe formatted `srcpart` `key` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: describe formatted `srcpart` PARTITION(ds='2008-04-08', hr='12') PREHOOK: type: DESCTABLE @@ -313,13 +317,11 @@ POSTHOOK: query: describe formatted `srcpart` PARTITION(ds='2008-04-08', hr='12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -352,9 +354,18 @@ PREHOOK: Input: default@srcpart POSTHOOK: query: describe formatted `srcpart` `ds` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -ds string 0 2 100.0 100 +col_name ds +data_type string +min +max +num_nulls 0 +distinct_count 2 +avg_col_len 100.0 +max_col_len 100 +num_trues +num_falses +bitVector +comment COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"ds\":\"true\"}} PREHOOK: query: describe formatted `srcpart` `hr` PREHOOK: type: DESCTABLE @@ -362,9 +373,18 @@ PREHOOK: Input: default@srcpart POSTHOOK: query: describe formatted `srcpart` `hr` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -hr string 0 2 100.0 100 +col_name hr +data_type string +min +max +num_nulls 0 +distinct_count 2 +avg_col_len 100.0 +max_col_len 100 +num_trues +num_falses +bitVector +comment COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"hr\":\"true\"}} PREHOOK: query: create table srcpart_serdeprops like srcpart PREHOOK: type: CREATETABLE @@ -413,13 +433,11 @@ POSTHOOK: query: describe formatted srcpart_serdeprops POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcpart_serdeprops # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -534,7 +552,6 @@ name3 int # Partition Information # col_name data_type comment - name3 int PREHOOK: query: DESCRIBE name1.name1 name2 PREHOOK: type: DESCTABLE @@ -555,7 +572,6 @@ name3 int # Partition Information # col_name data_type comment - name3 int PREHOOK: query: DESCRIBE name1.name2 PREHOOK: type: DESCTABLE @@ -599,7 +615,6 @@ name3 int # Partition Information # col_name data_type comment - name3 int PREHOOK: query: DESCRIBE name1 name2 PREHOOK: type: DESCTABLE @@ -620,7 +635,6 @@ name3 int # Partition Information # col_name data_type comment - name3 int PREHOOK: query: DESCRIBE name1.name1 PREHOOK: type: DESCTABLE @@ -634,7 +648,6 @@ name3 int # Partition Information # col_name data_type comment - name3 int PREHOOK: query: DESCRIBE name1.name1 name2 PREHOOK: type: DESCTABLE @@ -655,7 +668,6 @@ name3 int # Partition Information # col_name data_type comment - name3 int PREHOOK: query: DESCRIBE name2 PREHOOK: type: DESCTABLE diff --git ql/src/test/results/clientpositive/display_colstats_tbllvl.q.out ql/src/test/results/clientpositive/display_colstats_tbllvl.q.out index 8cbed9accf..64935ef64f 100644 --- ql/src/test/results/clientpositive/display_colstats_tbllvl.q.out +++ ql/src/test/results/clientpositive/display_colstats_tbllvl.q.out @@ -51,9 +51,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string from deserializer +col_name sourceIP +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: explain analyze table UserVisits_web_text_none compute statistics for columns sourceIP, avgTimeOnSite, adRevenue PREHOOK: type: QUERY @@ -242,9 +251,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string 0 55 12.763636363636364 13 HL from deserializer +col_name sourceIP +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 12.763636363636364 +max_col_len 13 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"sourceip\":\"true\"}} PREHOOK: query: desc formatted UserVisits_web_text_none avgTimeOnSite PREHOOK: type: DESCTABLE @@ -252,9 +270,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none avgTimeOnSite POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -avgTimeOnSite int 1 9 0 9 HL from deserializer +col_name avgTimeOnSite +data_type int +min 1 +max 9 +num_nulls 0 +distinct_count 9 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"sourceip\":\"true\"}} PREHOOK: query: desc formatted UserVisits_web_text_none adRevenue PREHOOK: type: DESCTABLE @@ -262,9 +289,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none adRevenue POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -adRevenue float 13.099044799804688 492.98870849609375 0 55 HL from deserializer +col_name adRevenue +data_type float +min 13.099044799804688 +max 492.98870849609375 +num_nulls 0 +distinct_count 55 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"sourceip\":\"true\"}} PREHOOK: query: CREATE TABLE empty_tab( a int, @@ -292,9 +328,18 @@ PREHOOK: Input: default@empty_tab POSTHOOK: query: desc formatted empty_tab a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@empty_tab -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a int from deserializer +col_name a +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"e\":\"true\"}} PREHOOK: query: explain analyze table empty_tab compute statistics for columns a,b,c,d,e @@ -361,9 +406,18 @@ PREHOOK: Input: default@empty_tab POSTHOOK: query: desc formatted empty_tab a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@empty_tab -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a int 0 0 0 0 from deserializer +col_name a +data_type int +min 0 +max 0 +num_nulls 0 +distinct_count 0 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"e\":\"true\"}} PREHOOK: query: desc formatted empty_tab b PREHOOK: type: DESCTABLE @@ -371,9 +425,18 @@ PREHOOK: Input: default@empty_tab POSTHOOK: query: desc formatted empty_tab b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@empty_tab -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b double 0.0 0.0 0 0 from deserializer +col_name b +data_type double +min 0.0 +max 0.0 +num_nulls 0 +distinct_count 0 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"e\":\"true\"}} PREHOOK: query: CREATE DATABASE test PREHOOK: type: CREATEDATABASE @@ -451,27 +514,54 @@ PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string from deserializer +col_name sourceIP +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: desc formatted test.UserVisits_web_text_none sourceIP PREHOOK: type: DESCTABLE PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted test.UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string from deserializer +col_name sourceIP +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: desc formatted default.UserVisits_web_text_none sourceIP PREHOOK: type: DESCTABLE PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted default.UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string 0 55 12.763636363636364 13 HL from deserializer +col_name sourceIP +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 12.763636363636364 +max_col_len 13 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"adrevenue\":\"true\",\"avgtimeonsite\":\"true\",\"sourceip\":\"true\"}} PREHOOK: query: analyze table UserVisits_web_text_none compute statistics for columns sKeyword PREHOOK: type: QUERY @@ -495,9 +585,18 @@ PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sKeyword POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sKeyword string 0 54 7.872727272727273 19 HL from deserializer +col_name sKeyword +data_type string +min +max +num_nulls 0 +distinct_count 54 +avg_col_len 7.872727272727273 +max_col_len 19 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"skeyword\":\"true\"}} PREHOOK: query: desc formatted test.UserVisits_web_text_none sKeyword PREHOOK: type: DESCTABLE @@ -505,7 +604,16 @@ PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted test.UserVisits_web_text_none sKeyword POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sKeyword string 0 54 7.872727272727273 19 HL from deserializer +col_name sKeyword +data_type string +min +max +num_nulls 0 +distinct_count 54 +avg_col_len 7.872727272727273 +max_col_len 19 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"skeyword\":\"true\"}} diff --git ql/src/test/results/clientpositive/drop_partitions_filter.q.out ql/src/test/results/clientpositive/drop_partitions_filter.q.out index 3075ab4544..4f607da1ab 100644 --- ql/src/test/results/clientpositive/drop_partitions_filter.q.out +++ ql/src/test/results/clientpositive/drop_partitions_filter.q.out @@ -19,7 +19,6 @@ d string # Partition Information # col_name data_type comment - c string d string PREHOOK: query: alter table ptestfilter add partition (c='US', d=1) diff --git ql/src/test/results/clientpositive/drop_partitions_filter2.q.out ql/src/test/results/clientpositive/drop_partitions_filter2.q.out index 92f9805b54..fd95b448ab 100644 --- ql/src/test/results/clientpositive/drop_partitions_filter2.q.out +++ ql/src/test/results/clientpositive/drop_partitions_filter2.q.out @@ -19,7 +19,6 @@ d int # Partition Information # col_name data_type comment - c int d int PREHOOK: query: alter table ptestfilter add partition (c=1, d=1) diff --git ql/src/test/results/clientpositive/drop_partitions_filter3.q.out ql/src/test/results/clientpositive/drop_partitions_filter3.q.out index bfb422156b..2ba9ec888b 100644 --- ql/src/test/results/clientpositive/drop_partitions_filter3.q.out +++ ql/src/test/results/clientpositive/drop_partitions_filter3.q.out @@ -19,7 +19,6 @@ d int # Partition Information # col_name data_type comment - c string d int PREHOOK: query: alter table ptestfilter add partition (c='1', d=1) diff --git ql/src/test/results/clientpositive/druid_basic1.q.out ql/src/test/results/clientpositive/druid_basic1.q.out index 0ba61e5d7a..91f79bb424 100644 --- ql/src/test/results/clientpositive/druid_basic1.q.out +++ ql/src/test/results/clientpositive/druid_basic1.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: DESCRIBE FORMATTED druid_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@druid_table_1 # col_name data_type comment - __time timestamp from deserializer robot string from deserializer namespace string from deserializer @@ -79,7 +78,6 @@ POSTHOOK: query: DESCRIBE FORMATTED druid_table_2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@druid_table_2 # col_name data_type comment - __time timestamp from deserializer robot string from deserializer namespace string from deserializer diff --git ql/src/test/results/clientpositive/druid_basic2.q.out ql/src/test/results/clientpositive/druid_basic2.q.out index 2e9c34040e..5d6862cc39 100644 --- ql/src/test/results/clientpositive/druid_basic2.q.out +++ ql/src/test/results/clientpositive/druid_basic2.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: DESCRIBE FORMATTED druid_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@druid_table_1 # col_name data_type comment - __time timestamp from deserializer robot string from deserializer namespace string from deserializer diff --git ql/src/test/results/clientpositive/druid_intervals.q.out ql/src/test/results/clientpositive/druid_intervals.q.out index 433f15ed07..63f28d5fd8 100644 --- ql/src/test/results/clientpositive/druid_intervals.q.out +++ ql/src/test/results/clientpositive/druid_intervals.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: DESCRIBE FORMATTED druid_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@druid_table_1 # col_name data_type comment - __time timestamp from deserializer robot string from deserializer namespace string from deserializer diff --git ql/src/test/results/clientpositive/druid_timeseries.q.out ql/src/test/results/clientpositive/druid_timeseries.q.out index 0ce1abeb1a..04db1e075b 100644 --- ql/src/test/results/clientpositive/druid_timeseries.q.out +++ ql/src/test/results/clientpositive/druid_timeseries.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: DESCRIBE FORMATTED druid_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@druid_table_1 # col_name data_type comment - __time timestamp from deserializer robot string from deserializer namespace string from deserializer diff --git ql/src/test/results/clientpositive/druid_topn.q.out ql/src/test/results/clientpositive/druid_topn.q.out index 052be15ddb..5c31f85df7 100644 --- ql/src/test/results/clientpositive/druid_topn.q.out +++ ql/src/test/results/clientpositive/druid_topn.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: DESCRIBE FORMATTED druid_table_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@druid_table_1 # col_name data_type comment - __time timestamp from deserializer robot string from deserializer namespace string from deserializer diff --git ql/src/test/results/clientpositive/encrypted/encryption_insert_values.q.out ql/src/test/results/clientpositive/encrypted/encryption_insert_values.q.out index e8645883b7..9921abd364 100644 --- ql/src/test/results/clientpositive/encrypted/encryption_insert_values.q.out +++ ql/src/test/results/clientpositive/encrypted/encryption_insert_values.q.out @@ -39,7 +39,6 @@ POSTHOOK: query: describe formatted values__tmp__table__1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@values__tmp__table__1 # col_name data_type comment - tmp_values_col1 string tmp_values_col2 string diff --git ql/src/test/results/clientpositive/encrypted/encryption_move_tbl.q.out ql/src/test/results/clientpositive/encrypted/encryption_move_tbl.q.out index 5ecf20d18f..ebe50859b5 100644 --- ql/src/test/results/clientpositive/encrypted/encryption_move_tbl.q.out +++ ql/src/test/results/clientpositive/encrypted/encryption_move_tbl.q.out @@ -59,9 +59,18 @@ PREHOOK: Input: default@encrypted_table POSTHOOK: query: DESCRIBE FORMATTED encrypted_table key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@encrypted_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 498 0 309 HL from deserializer +col_name key +data_type int +min 0 +max 498 +num_nulls 0 +distinct_count 309 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: DESCRIBE FORMATTED encrypted_table value PREHOOK: type: DESCTABLE @@ -69,9 +78,18 @@ PREHOOK: Input: default@encrypted_table POSTHOOK: query: DESCRIBE FORMATTED encrypted_table value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@encrypted_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 309 6.812 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 6.812 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: ALTER TABLE default.encrypted_table RENAME TO encrypted_db.encrypted_table_2 PREHOOK: type: ALTERTABLE_RENAME @@ -92,9 +110,18 @@ PREHOOK: Input: default@encrypted_table POSTHOOK: query: DESCRIBE FORMATTED encrypted_table key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@encrypted_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 498 0 309 HL from deserializer +col_name key +data_type int +min 0 +max 498 +num_nulls 0 +distinct_count 309 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: DESCRIBE FORMATTED encrypted_table value PREHOOK: type: DESCTABLE @@ -102,9 +129,18 @@ PREHOOK: Input: default@encrypted_table POSTHOOK: query: DESCRIBE FORMATTED encrypted_table value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@encrypted_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 309 6.812 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 6.812 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: ALTER TABLE default.encrypted_table RENAME TO default.plain_table PREHOOK: type: ALTERTABLE_RENAME diff --git ql/src/test/results/clientpositive/escape_comments.q.out ql/src/test/results/clientpositive/escape_comments.q.out index 42b9e01137..adfdbda0ff 100644 --- ql/src/test/results/clientpositive/escape_comments.q.out +++ ql/src/test/results/clientpositive/escape_comments.q.out @@ -85,13 +85,11 @@ POSTHOOK: query: describe formatted escape_comments_tbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: escape_comments_db@escape_comments_tbl1 # col_name data_type comment - col1 string a b'; # Partition Information # col_name data_type comment - p1 string a b @@ -153,7 +151,6 @@ p1 string a # Partition Information # col_name data_type comment - p1 string a b PREHOOK: query: show create table escape_comments_view1 @@ -170,7 +167,6 @@ POSTHOOK: query: describe formatted escape_comments_view1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: escape_comments_db@escape_comments_view1 # col_name data_type comment - col1 string a b diff --git ql/src/test/results/clientpositive/exim_02_00_part_empty.q.out ql/src/test/results/clientpositive/exim_02_00_part_empty.q.out index 6273bbc7a1..fe0924139f 100644 --- ql/src/test/results/clientpositive/exim_02_00_part_empty.q.out +++ ql/src/test/results/clientpositive/exim_02_00_part_empty.q.out @@ -62,7 +62,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_02_part.q.out ql/src/test/results/clientpositive/exim_02_part.q.out index b98515f5d1..cb2a593d38 100644 --- ql/src/test/results/clientpositive/exim_02_part.q.out +++ ql/src/test/results/clientpositive/exim_02_part.q.out @@ -76,7 +76,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_04_all_part.q.out ql/src/test/results/clientpositive/exim_04_all_part.q.out index f7dfdf1bca..480f1cac62 100644 --- ql/src/test/results/clientpositive/exim_04_all_part.q.out +++ ql/src/test/results/clientpositive/exim_04_all_part.q.out @@ -118,7 +118,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_04_evolved_parts.q.out ql/src/test/results/clientpositive/exim_04_evolved_parts.q.out index 86999f4fea..7cc8278b61 100644 --- ql/src/test/results/clientpositive/exim_04_evolved_parts.q.out +++ ql/src/test/results/clientpositive/exim_04_evolved_parts.q.out @@ -126,7 +126,6 @@ emp_state string 2-char code # Partition Information # col_name data_type comment - emp_country string 2-char code emp_state string 2-char code @@ -147,7 +146,6 @@ emp_state string 2-char code # Partition Information # col_name data_type comment - emp_country string 2-char code emp_state string 2-char code @@ -168,7 +166,6 @@ emp_state string 2-char code # Partition Information # col_name data_type comment - emp_country string 2-char code emp_state string 2-char code diff --git ql/src/test/results/clientpositive/exim_05_some_part.q.out ql/src/test/results/clientpositive/exim_05_some_part.q.out index c35599fe74..b56e3a6370 100644 --- ql/src/test/results/clientpositive/exim_05_some_part.q.out +++ ql/src/test/results/clientpositive/exim_05_some_part.q.out @@ -112,7 +112,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_06_one_part.q.out ql/src/test/results/clientpositive/exim_06_one_part.q.out index 0ea6998e3c..84ed946a68 100644 --- ql/src/test/results/clientpositive/exim_06_one_part.q.out +++ ql/src/test/results/clientpositive/exim_06_one_part.q.out @@ -109,7 +109,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_07_all_part_over_nonoverlap.q.out ql/src/test/results/clientpositive/exim_07_all_part_over_nonoverlap.q.out index b55a0bd330..7450949408 100644 --- ql/src/test/results/clientpositive/exim_07_all_part_over_nonoverlap.q.out +++ ql/src/test/results/clientpositive/exim_07_all_part_over_nonoverlap.q.out @@ -144,7 +144,6 @@ emp_state string free-form text # Partition Information # col_name data_type comment - emp_country string iso code emp_state string free-form text diff --git ql/src/test/results/clientpositive/exim_09_part_spec_nonoverlap.q.out ql/src/test/results/clientpositive/exim_09_part_spec_nonoverlap.q.out index d71f36f599..f4cf862614 100644 --- ql/src/test/results/clientpositive/exim_09_part_spec_nonoverlap.q.out +++ ql/src/test/results/clientpositive/exim_09_part_spec_nonoverlap.q.out @@ -152,7 +152,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_15_external_part.q.out ql/src/test/results/clientpositive/exim_15_external_part.q.out index d24f18a5c4..bd7bb6f9a3 100644 --- ql/src/test/results/clientpositive/exim_15_external_part.q.out +++ ql/src/test/results/clientpositive/exim_15_external_part.q.out @@ -159,7 +159,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_18_part_external.q.out ql/src/test/results/clientpositive/exim_18_part_external.q.out index 2ab4314d46..c7d11a0af8 100644 --- ql/src/test/results/clientpositive/exim_18_part_external.q.out +++ ql/src/test/results/clientpositive/exim_18_part_external.q.out @@ -117,7 +117,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_19_00_part_external_location.q.out ql/src/test/results/clientpositive/exim_19_00_part_external_location.q.out index 625f91b3b3..d617a1d9de 100644 --- ql/src/test/results/clientpositive/exim_19_00_part_external_location.q.out +++ ql/src/test/results/clientpositive/exim_19_00_part_external_location.q.out @@ -95,7 +95,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_19_part_external_location.q.out ql/src/test/results/clientpositive/exim_19_part_external_location.q.out index 3ee28cea87..e722113cc1 100644 --- ql/src/test/results/clientpositive/exim_19_part_external_location.q.out +++ ql/src/test/results/clientpositive/exim_19_part_external_location.q.out @@ -120,7 +120,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_20_part_managed_location.q.out ql/src/test/results/clientpositive/exim_20_part_managed_location.q.out index e920fda59a..887e51c171 100644 --- ql/src/test/results/clientpositive/exim_20_part_managed_location.q.out +++ ql/src/test/results/clientpositive/exim_20_part_managed_location.q.out @@ -120,7 +120,6 @@ emp_state string free text # Partition Information # col_name data_type comment - emp_country string two char iso code emp_state string free text diff --git ql/src/test/results/clientpositive/exim_hidden_files.q.out ql/src/test/results/clientpositive/exim_hidden_files.q.out index ed9c03f72e..e83464c42f 100644 --- ql/src/test/results/clientpositive/exim_hidden_files.q.out +++ ql/src/test/results/clientpositive/exim_hidden_files.q.out @@ -60,12 +60,10 @@ POSTHOOK: query: describe formatted exim_employee POSTHOOK: type: DESCTABLE POSTHOOK: Input: importer@exim_employee # col_name data_type comment - emp_id int # Partition Information # col_name data_type comment - emp_country string # Detailed Table Information diff --git ql/src/test/results/clientpositive/extrapolate_part_stats_full.q.out ql/src/test/results/clientpositive/extrapolate_part_stats_full.q.out index 219e1285d2..8933a7da1b 100644 --- ql/src/test/results/clientpositive/extrapolate_part_stats_full.q.out +++ ql/src/test/results/clientpositive/extrapolate_part_stats_full.q.out @@ -81,9 +81,18 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 3 0.75 2 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 3 +avg_col_len 0.75 +max_col_len 2 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain extended select state from loc_orc_1d PREHOOK: type: QUERY POSTHOOK: query: explain extended select state from loc_orc_1d diff --git ql/src/test/results/clientpositive/extrapolate_part_stats_partial.q.out ql/src/test/results/clientpositive/extrapolate_part_stats_partial.q.out index b8bb210ae5..8427b2d673 100644 --- ql/src/test/results/clientpositive/extrapolate_part_stats_partial.q.out +++ ql/src/test/results/clientpositive/extrapolate_part_stats_partial.q.out @@ -89,18 +89,36 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 3 0.75 2 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 3 +avg_col_len 0.75 +max_col_len 2 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') state PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 6 3.0 3 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 6 +avg_col_len 3.0 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain extended select state from loc_orc_1d PREHOOK: type: QUERY POSTHOOK: query: explain extended select state from loc_orc_1d diff --git ql/src/test/results/clientpositive/fm-sketch.q.out ql/src/test/results/clientpositive/fm-sketch.q.out index 7a4d395fb4..e519084ac6 100644 --- ql/src/test/results/clientpositive/fm-sketch.q.out +++ ql/src/test/results/clientpositive/fm-sketch.q.out @@ -78,9 +78,18 @@ PREHOOK: Input: default@n POSTHOOK: query: desc formatted n key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@n -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 0 500 1 FM from deserializer +col_name key +data_type int +min 0 +max 0 +num_nulls 500 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector FM +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: create table i(key int) PREHOOK: type: CREATETABLE @@ -162,9 +171,18 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 498 0 196 FM from deserializer +col_name key +data_type int +min 0 +max 498 +num_nulls 0 +distinct_count 196 +avg_col_len +max_col_len +num_trues +num_falses +bitVector FM +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: drop table i PREHOOK: type: DROPTABLE @@ -205,9 +223,18 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key double 0.0 498.0 0 234 FM from deserializer +col_name key +data_type double +min 0.0 +max 498.0 +num_nulls 0 +distinct_count 234 +avg_col_len +max_col_len +num_trues +num_falses +bitVector FM +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: drop table i PREHOOK: type: DROPTABLE @@ -248,9 +275,18 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key decimal(10,0) 0 498 0 180 FM from deserializer +col_name key +data_type decimal(10,0) +min 0 +max 498 +num_nulls 0 +distinct_count 180 +avg_col_len +max_col_len +num_trues +num_falses +bitVector FM +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: drop table i PREHOOK: type: DROPTABLE @@ -317,7 +353,16 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key date 2012-03-17 2013-08-17 0 3 FM from deserializer +col_name key +data_type date +min 2012-03-17 +max 2013-08-17 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector FM +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} diff --git ql/src/test/results/clientpositive/hll.q.out ql/src/test/results/clientpositive/hll.q.out index bb880b2d18..3b833844a0 100644 --- ql/src/test/results/clientpositive/hll.q.out +++ ql/src/test/results/clientpositive/hll.q.out @@ -78,9 +78,18 @@ PREHOOK: Input: default@n POSTHOOK: query: desc formatted n key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@n -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 0 500 1 HL from deserializer +col_name key +data_type int +min 0 +max 0 +num_nulls 500 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: create table i(key int) PREHOOK: type: CREATETABLE @@ -162,9 +171,18 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 498 0 309 HL from deserializer +col_name key +data_type int +min 0 +max 498 +num_nulls 0 +distinct_count 309 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: drop table i PREHOOK: type: DROPTABLE @@ -205,9 +223,18 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key double 0.0 498.0 0 309 HL from deserializer +col_name key +data_type double +min 0.0 +max 498.0 +num_nulls 0 +distinct_count 309 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: drop table i PREHOOK: type: DROPTABLE @@ -248,9 +275,18 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key decimal(10,0) 0 498 0 309 HL from deserializer +col_name key +data_type decimal(10,0) +min 0 +max 498 +num_nulls 0 +distinct_count 309 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} PREHOOK: query: drop table i PREHOOK: type: DROPTABLE @@ -317,7 +353,16 @@ PREHOOK: Input: default@i POSTHOOK: query: desc formatted i key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@i -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key date 2012-03-17 2013-08-17 0 4 HL from deserializer +col_name key +data_type date +min 2012-03-17 +max 2013-08-17 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\"}} diff --git ql/src/test/results/clientpositive/index_skewtable.q.out ql/src/test/results/clientpositive/index_skewtable.q.out index daecb542be..53334eca4f 100644 --- ql/src/test/results/clientpositive/index_skewtable.q.out +++ ql/src/test/results/clientpositive/index_skewtable.q.out @@ -28,7 +28,6 @@ POSTHOOK: query: DESCRIBE FORMATTED default__kv_kv_index__ POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@default__kv_kv_index__ # col_name data_type comment - value string _bucketname string _offsets array diff --git ql/src/test/results/clientpositive/infer_bucket_sort.q.out ql/src/test/results/clientpositive/infer_bucket_sort.q.out index f09f01d971..8ed105405c 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort.q.out @@ -25,13 +25,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -76,13 +74,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -127,13 +123,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -178,13 +172,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -229,13 +221,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -280,13 +270,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -331,13 +319,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -382,13 +368,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -433,13 +417,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -484,13 +466,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -535,13 +515,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -586,13 +564,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -637,13 +613,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -688,13 +662,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -739,13 +711,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -790,13 +760,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -841,13 +809,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -892,13 +858,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -943,13 +907,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -994,13 +956,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1045,13 +1005,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1096,13 +1054,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1147,13 +1103,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1198,13 +1152,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1249,13 +1201,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out index 52ebe5aa8d..70a57d51d2 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_convert_join.q.out @@ -25,13 +25,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -78,13 +76,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out index d62d0b8d2f..3d1443bde8 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_dyn_part.q.out @@ -42,13 +42,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -82,13 +80,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -145,13 +141,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -185,13 +179,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -250,13 +242,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -290,13 +280,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -552,13 +540,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -592,13 +578,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out index a448ef312c..7fec770dc3 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_grouping_operators.q.out @@ -731,14 +731,12 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string agg string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1412,7 +1410,6 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out_2 PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out_2 # col_name data_type comment - key string value string grouping_key string @@ -1420,7 +1417,6 @@ agg string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1536,14 +1532,12 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string agg string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1590,7 +1584,6 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out_2 PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out_2 # col_name data_type comment - key string value string grouping_key string @@ -1598,7 +1591,6 @@ agg string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1714,14 +1706,12 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string agg string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -1768,7 +1758,6 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out_2 PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out_2 # col_name data_type comment - key string value string grouping_key string @@ -1776,7 +1765,6 @@ agg string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out index 98a2f5f3c0..98c062bd03 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_list_bucket.q.out @@ -31,13 +31,11 @@ POSTHOOK: query: DESC FORMATTED list_bucketing_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -101,13 +99,11 @@ POSTHOOK: query: DESC FORMATTED list_bucketing_table2 PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_table2 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out index 32edd73030..396c886d67 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_map_operators.q.out @@ -165,13 +165,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -328,13 +326,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -479,13 +475,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -606,13 +600,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out index bf77d4ce5a..44a9435b92 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_merge.q.out @@ -25,13 +25,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -76,13 +74,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out index 59b20fe4da..d915c30806 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_multi_insert.q.out @@ -31,13 +31,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -70,13 +68,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -127,13 +123,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -166,13 +160,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -223,13 +215,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -262,13 +252,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -319,13 +307,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -358,13 +344,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out index 0c61fe0212..5086a97825 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_num_buckets.q.out @@ -107,13 +107,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string hr string @@ -147,13 +145,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out index 53aff14b5f..6745965e46 100644 --- ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out +++ ql/src/test/results/clientpositive/infer_bucket_sort_reducers_power_two.q.out @@ -25,13 +25,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -76,13 +74,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -127,13 +123,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -178,13 +172,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -229,13 +221,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -280,13 +270,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/input10.q.out ql/src/test/results/clientpositive/input10.q.out index 7d108d80bf..2b0860498e 100644 --- ql/src/test/results/clientpositive/input10.q.out +++ ql/src/test/results/clientpositive/input10.q.out @@ -41,6 +41,5 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/input_part10.q.out ql/src/test/results/clientpositive/input_part10.q.out index 4b552badc6..5ec24a79cf 100644 --- ql/src/test/results/clientpositive/input_part10.q.out +++ ql/src/test/results/clientpositive/input_part10.q.out @@ -112,7 +112,6 @@ ts string # Partition Information # col_name data_type comment - ds string ts string diff --git ql/src/test/results/clientpositive/inputddl2.q.out ql/src/test/results/clientpositive/inputddl2.q.out index 3d344d524b..fbb2ecebf0 100644 --- ql/src/test/results/clientpositive/inputddl2.q.out +++ ql/src/test/results/clientpositive/inputddl2.q.out @@ -39,6 +39,5 @@ country string # Partition Information # col_name data_type comment - ds string country string diff --git ql/src/test/results/clientpositive/inputddl4.q.out ql/src/test/results/clientpositive/inputddl4.q.out index c942963864..887ac6fc38 100644 --- ql/src/test/results/clientpositive/inputddl4.q.out +++ ql/src/test/results/clientpositive/inputddl4.q.out @@ -36,7 +36,6 @@ country string # Partition Information # col_name data_type comment - ds string country string PREHOOK: query: DESCRIBE EXTENDED INPUTDDL4 @@ -57,7 +56,6 @@ country string # Partition Information # col_name data_type comment - ds string country string diff --git ql/src/test/results/clientpositive/inputddl6.q.out ql/src/test/results/clientpositive/inputddl6.q.out index d3a15a01d5..fd784fe42a 100644 --- ql/src/test/results/clientpositive/inputddl6.q.out +++ ql/src/test/results/clientpositive/inputddl6.q.out @@ -36,7 +36,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -52,7 +51,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/inputddl7.q.out ql/src/test/results/clientpositive/inputddl7.q.out index d255b39dea..32070f40f5 100644 --- ql/src/test/results/clientpositive/inputddl7.q.out +++ ql/src/test/results/clientpositive/inputddl7.q.out @@ -133,7 +133,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -148,7 +147,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/inputddl8.q.out ql/src/test/results/clientpositive/inputddl8.q.out index 8361110194..eb29583e81 100644 --- ql/src/test/results/clientpositive/inputddl8.q.out +++ ql/src/test/results/clientpositive/inputddl8.q.out @@ -39,7 +39,6 @@ country string # Partition Information # col_name data_type comment - ds string country string diff --git ql/src/test/results/clientpositive/insert_values_orig_table_use_metadata.q.out ql/src/test/results/clientpositive/insert_values_orig_table_use_metadata.q.out index 6df425fcec..33c785ac47 100644 --- ql/src/test/results/clientpositive/insert_values_orig_table_use_metadata.q.out +++ ql/src/test/results/clientpositive/insert_values_orig_table_use_metadata.q.out @@ -81,7 +81,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -147,7 +146,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -340,7 +338,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -462,7 +459,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -582,7 +578,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -689,7 +684,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - key string default value string default @@ -734,7 +728,6 @@ POSTHOOK: query: desc formatted acid_ivot POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@acid_ivot # col_name data_type comment - key string default value string default @@ -815,13 +808,11 @@ POSTHOOK: query: desc formatted sp PARTITION (ds="2008-04-08", hr="11") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@sp # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -921,13 +912,11 @@ POSTHOOK: query: desc formatted sp PARTITION (ds="2008-04-08", hr="11") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@sp # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -972,13 +961,11 @@ POSTHOOK: query: desc formatted sp PARTITION (ds="2008-04-08", hr="11") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@sp # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/lb_fs_stats.q.out ql/src/test/results/clientpositive/lb_fs_stats.q.out index b07192b895..330908982a 100644 --- ql/src/test/results/clientpositive/lb_fs_stats.q.out +++ ql/src/test/results/clientpositive/lb_fs_stats.q.out @@ -31,13 +31,11 @@ POSTHOOK: query: describe formatted test_tab partition (part='1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/list_bucket_dml_1.q.out ql/src/test/results/clientpositive/list_bucket_dml_1.q.out index f70f8b2b9a..a664db3fee 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_1.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_1.q.out @@ -224,13 +224,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -269,13 +267,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_11.q.out ql/src/test/results/clientpositive/list_bucket_dml_11.q.out index 6920dcc7ca..bf987e13df 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_11.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_11.q.out @@ -179,13 +179,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_12.q.out ql/src/test/results/clientpositive/list_bucket_dml_12.q.out index 55acbb7f5a..3c80cef8fc 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_12.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_12.q.out @@ -182,7 +182,6 @@ POSTHOOK: query: desc formatted list_bucketing_mul_col partition (ds='2008-04-08 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_mul_col # col_name data_type comment - col1 string col2 string col3 string @@ -191,7 +190,6 @@ col5 string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_13.q.out ql/src/test/results/clientpositive/list_bucket_dml_13.q.out index 3a1d2a436a..379a7305ff 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_13.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_13.q.out @@ -182,7 +182,6 @@ POSTHOOK: query: desc formatted list_bucketing_mul_col partition (ds='2008-04-08 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_mul_col # col_name data_type comment - col1 string col2 string col3 string @@ -191,7 +190,6 @@ col5 string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_14.q.out ql/src/test/results/clientpositive/list_bucket_dml_14.q.out index f827991243..b6b829a3c0 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_14.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_14.q.out @@ -166,7 +166,6 @@ POSTHOOK: query: desc formatted list_bucketing POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/list_bucket_dml_2.q.out ql/src/test/results/clientpositive/list_bucket_dml_2.q.out index 01bc19cbbc..8167730752 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_2.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_2.q.out @@ -234,13 +234,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_3.q.out ql/src/test/results/clientpositive/list_bucket_dml_3.q.out index 52646a2609..aafdbb1bf5 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_3.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_3.q.out @@ -215,13 +215,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_4.q.out ql/src/test/results/clientpositive/list_bucket_dml_4.q.out index 84ada2bd49..36bd66697d 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_4.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_4.q.out @@ -234,13 +234,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -608,13 +606,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_5.q.out ql/src/test/results/clientpositive/list_bucket_dml_5.q.out index 71d7e16409..23ec5f431b 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_5.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_5.q.out @@ -224,13 +224,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -269,13 +267,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_6.q.out ql/src/test/results/clientpositive/list_bucket_dml_6.q.out index 8e20ff1301..1e01ca3720 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_6.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_6.q.out @@ -238,13 +238,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -281,13 +279,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -665,13 +661,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -708,13 +702,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_7.q.out ql/src/test/results/clientpositive/list_bucket_dml_7.q.out index 58bf240f1b..eea69ff989 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_7.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_7.q.out @@ -238,13 +238,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -281,13 +279,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -665,13 +661,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -708,13 +702,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_8.q.out ql/src/test/results/clientpositive/list_bucket_dml_8.q.out index b38d332e09..0215f5d4e2 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_8.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_8.q.out @@ -238,13 +238,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -281,13 +279,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -334,13 +330,11 @@ POSTHOOK: query: desc formatted list_bucketing_dynamic_part partition (ds='2008- POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_dynamic_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_dml_9.q.out ql/src/test/results/clientpositive/list_bucket_dml_9.q.out index 624e3aca41..fdc7a3ef5b 100644 --- ql/src/test/results/clientpositive/list_bucket_dml_9.q.out +++ ql/src/test/results/clientpositive/list_bucket_dml_9.q.out @@ -234,13 +234,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -608,13 +606,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_query_multiskew_1.q.out ql/src/test/results/clientpositive/list_bucket_query_multiskew_1.q.out index 17c7afe411..a1f225cb45 100644 --- ql/src/test/results/clientpositive/list_bucket_query_multiskew_1.q.out +++ ql/src/test/results/clientpositive/list_bucket_query_multiskew_1.q.out @@ -31,13 +31,11 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1', hr='4') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_query_multiskew_2.q.out ql/src/test/results/clientpositive/list_bucket_query_multiskew_2.q.out index afba625b13..0ad2ff56f4 100644 --- ql/src/test/results/clientpositive/list_bucket_query_multiskew_2.q.out +++ ql/src/test/results/clientpositive/list_bucket_query_multiskew_2.q.out @@ -31,13 +31,11 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1', hr='4') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_query_multiskew_3.q.out ql/src/test/results/clientpositive/list_bucket_query_multiskew_3.q.out index 3ff221da35..02fc314e8c 100644 --- ql/src/test/results/clientpositive/list_bucket_query_multiskew_3.q.out +++ ql/src/test/results/clientpositive/list_bucket_query_multiskew_3.q.out @@ -27,13 +27,11 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1', hr='1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -87,13 +85,11 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1', hr='2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -152,13 +148,11 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1', hr='3') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/list_bucket_query_oneskew_1.q.out ql/src/test/results/clientpositive/list_bucket_query_oneskew_1.q.out index fd87cf0134..1076df54ef 100644 --- ql/src/test/results/clientpositive/list_bucket_query_oneskew_1.q.out +++ ql/src/test/results/clientpositive/list_bucket_query_oneskew_1.q.out @@ -85,12 +85,10 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - x int # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/list_bucket_query_oneskew_2.q.out ql/src/test/results/clientpositive/list_bucket_query_oneskew_2.q.out index 37f548414f..876434fb4e 100644 --- ql/src/test/results/clientpositive/list_bucket_query_oneskew_2.q.out +++ ql/src/test/results/clientpositive/list_bucket_query_oneskew_2.q.out @@ -87,13 +87,11 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - x int y string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/list_bucket_query_oneskew_3.q.out ql/src/test/results/clientpositive/list_bucket_query_oneskew_3.q.out index e3b6513ebc..9d307595f2 100644 --- ql/src/test/results/clientpositive/list_bucket_query_oneskew_3.q.out +++ ql/src/test/results/clientpositive/list_bucket_query_oneskew_3.q.out @@ -102,14 +102,12 @@ POSTHOOK: query: describe formatted fact_daily PARTITION (ds = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@fact_daily # col_name data_type comment - x int y string z string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/alter_merge_2_orc.q.out ql/src/test/results/clientpositive/llap/alter_merge_2_orc.q.out index caa41b25cf..0829057f83 100644 --- ql/src/test/results/clientpositive/llap/alter_merge_2_orc.q.out +++ ql/src/test/results/clientpositive/llap/alter_merge_2_orc.q.out @@ -26,7 +26,6 @@ ts string # Partition Information # col_name data_type comment - ds string ts string diff --git ql/src/test/results/clientpositive/llap/alter_merge_stats_orc.q.out ql/src/test/results/clientpositive/llap/alter_merge_stats_orc.q.out index 0d5ba01960..2b069ecec7 100644 --- ql/src/test/results/clientpositive/llap/alter_merge_stats_orc.q.out +++ ql/src/test/results/clientpositive/llap/alter_merge_stats_orc.q.out @@ -78,7 +78,6 @@ POSTHOOK: query: desc formatted src_orc_merge_test_stat POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_stat # col_name data_type comment - key int value string @@ -129,7 +128,6 @@ POSTHOOK: query: desc formatted src_orc_merge_test_stat POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_stat # col_name data_type comment - key int value string @@ -226,13 +224,11 @@ POSTHOOK: query: desc formatted src_orc_merge_test_part_stat partition (ds='2011 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_part_stat # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -275,13 +271,11 @@ POSTHOOK: query: desc formatted src_orc_merge_test_part_stat partition (ds='2011 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_part_stat # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -332,13 +326,11 @@ POSTHOOK: query: desc formatted src_orc_merge_test_part_stat partition (ds='2011 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_part_stat # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/autoColumnStats_1.q.out ql/src/test/results/clientpositive/llap/autoColumnStats_1.q.out index 6369dd3477..9fbc4040ec 100644 --- ql/src/test/results/clientpositive/llap/autoColumnStats_1.q.out +++ ql/src/test/results/clientpositive/llap/autoColumnStats_1.q.out @@ -47,7 +47,6 @@ POSTHOOK: query: describe formatted src_multi1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi1 # col_name data_type comment - key string default value string default @@ -124,7 +123,6 @@ POSTHOOK: query: describe formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default @@ -159,7 +157,6 @@ POSTHOOK: query: describe formatted b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b # col_name data_type comment - key string default value string default @@ -244,7 +241,6 @@ POSTHOOK: query: describe formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default @@ -279,7 +275,6 @@ POSTHOOK: query: describe formatted b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b # col_name data_type comment - key string default value string default @@ -338,7 +333,6 @@ POSTHOOK: query: describe formatted src_multi2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi2 # col_name data_type comment - key string default value string default @@ -502,12 +496,10 @@ POSTHOOK: query: describe formatted alter5 partition (dt='a') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter5 # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -544,12 +536,10 @@ POSTHOOK: query: describe formatted alter5 partition (dt='a') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter5 # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -625,13 +615,11 @@ POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - partitionid int # Detailed Partition Information @@ -676,13 +664,11 @@ POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=2) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - partitionid int # Detailed Partition Information @@ -815,13 +801,11 @@ POSTHOOK: query: describe formatted tab_part partition (ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -876,13 +860,11 @@ POSTHOOK: query: describe formatted tab partition (ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -933,13 +915,11 @@ POSTHOOK: query: describe formatted nzhang_part14 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -1005,13 +985,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='1', hr='3') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -1068,13 +1046,11 @@ POSTHOOK: query: desc formatted nzhang_part14 PARTITION(ds='2010-03-03', hr='12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -1149,13 +1125,11 @@ POSTHOOK: query: desc formatted nzhang_part14 PARTITION(ds='2010-03-03', hr='12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/autoColumnStats_2.q.out ql/src/test/results/clientpositive/llap/autoColumnStats_2.q.out index a61eafadc9..104c25f94d 100644 --- ql/src/test/results/clientpositive/llap/autoColumnStats_2.q.out +++ ql/src/test/results/clientpositive/llap/autoColumnStats_2.q.out @@ -47,7 +47,6 @@ POSTHOOK: query: describe formatted src_multi1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi1 # col_name data_type comment - key string default value string default @@ -123,9 +122,18 @@ PREHOOK: Input: default@a POSTHOOK: query: describe formatted a key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe formatted b key PREHOOK: type: DESCTABLE @@ -133,9 +141,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: from src insert overwrite table a select * @@ -162,7 +179,6 @@ POSTHOOK: query: describe formatted a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@a # col_name data_type comment - key string default value string default @@ -197,7 +213,6 @@ POSTHOOK: query: describe formatted b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b # col_name data_type comment - key string default value string default @@ -231,9 +246,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 0 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe formatted b value PREHOOK: type: DESCTABLE @@ -241,9 +265,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 309 6.812 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 309 +avg_col_len 6.812 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: insert into table b select NULL, NULL from src limit 10 PREHOOK: type: QUERY @@ -261,9 +294,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 10 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 10 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe formatted b value PREHOOK: type: DESCTABLE @@ -271,9 +313,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 10 309 6.812 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 10 +distinct_count 309 +avg_col_len 6.812 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: insert into table b(value) select key+100000 from src limit 10 PREHOOK: type: QUERY @@ -291,9 +342,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key string 20 309 2.812 3 HL from deserializer +col_name key +data_type string +min +max +num_nulls 20 +distinct_count 309 +avg_col_len 2.812 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: describe formatted b value PREHOOK: type: DESCTABLE @@ -301,9 +361,18 @@ PREHOOK: Input: default@b POSTHOOK: query: describe formatted b value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@b -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 10 319 8.0 8 HL from deserializer +col_name value +data_type string +min +max +num_nulls 10 +distinct_count 319 +avg_col_len 8.0 +max_col_len 8 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"key\":\"true\",\"value\":\"true\"}} PREHOOK: query: drop table src_multi2 PREHOOK: type: DROPTABLE @@ -336,7 +405,6 @@ POSTHOOK: query: describe formatted src_multi2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi2 # col_name data_type comment - key string default value string default @@ -502,12 +570,10 @@ POSTHOOK: query: describe formatted alter5 partition (dt='a') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter5 # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -549,12 +615,10 @@ POSTHOOK: query: describe formatted alter5 partition (dt='a') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter5 # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -631,12 +695,10 @@ POSTHOOK: query: describe formatted alter5 partition (dt='a') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter5 # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -673,12 +735,10 @@ POSTHOOK: query: describe formatted alter5 partition (dt='a') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@alter5 # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -752,13 +812,11 @@ POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - partitionid int # Detailed Partition Information @@ -803,13 +861,11 @@ POSTHOOK: query: describe formatted src_stat_part PARTITION(partitionId=2) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_stat_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - partitionid int # Detailed Partition Information @@ -942,13 +998,11 @@ POSTHOOK: query: describe formatted tab_part partition (ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -1003,13 +1057,11 @@ POSTHOOK: query: describe formatted tab partition (ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -1060,13 +1112,11 @@ POSTHOOK: query: describe formatted nzhang_part14 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -1132,13 +1182,11 @@ POSTHOOK: query: desc formatted nzhang_part14 partition(ds='1', hr='3') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -1195,13 +1243,11 @@ POSTHOOK: query: desc formatted nzhang_part14 PARTITION(ds='2010-03-03', hr='12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -1276,13 +1322,11 @@ POSTHOOK: query: desc formatted nzhang_part14 PARTITION(ds='2010-03-03', hr='12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part14 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/bucket5.q.out ql/src/test/results/clientpositive/llap/bucket5.q.out index 0b5a14d6ff..23576234c6 100644 --- ql/src/test/results/clientpositive/llap/bucket5.q.out +++ ql/src/test/results/clientpositive/llap/bucket5.q.out @@ -503,7 +503,6 @@ POSTHOOK: query: DESC FORMATTED bucketed_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucketed_table # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/llap/bucket_groupby.q.out ql/src/test/results/clientpositive/llap/bucket_groupby.q.out index 1c6ab8c0d0..98c1e48805 100644 --- ql/src/test/results/clientpositive/llap/bucket_groupby.q.out +++ ql/src/test/results/clientpositive/llap/bucket_groupby.q.out @@ -18,7 +18,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -154,7 +153,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -1121,7 +1119,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -1427,7 +1424,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/llap/columnStatsUpdateForStatsOptimizer_1.q.out ql/src/test/results/clientpositive/llap/columnStatsUpdateForStatsOptimizer_1.q.out index 434f7397d1..c60a5beb32 100644 --- ql/src/test/results/clientpositive/llap/columnStatsUpdateForStatsOptimizer_1.q.out +++ ql/src/test/results/clientpositive/llap/columnStatsUpdateForStatsOptimizer_1.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -68,7 +67,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -203,7 +201,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -269,7 +266,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -448,7 +444,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -583,7 +578,6 @@ POSTHOOK: query: desc formatted calendar POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendar # col_name data_type comment - year int month int @@ -656,12 +650,10 @@ POSTHOOK: query: desc formatted calendarp partition (p=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendarp # col_name data_type comment - year int # Partition Information # col_name data_type comment - p int # Detailed Partition Information @@ -777,12 +769,10 @@ POSTHOOK: query: desc formatted calendarp partition (p=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendarp # col_name data_type comment - year int # Partition Information # col_name data_type comment - p int # Detailed Partition Information @@ -836,12 +826,10 @@ POSTHOOK: query: desc formatted calendarp partition (p=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@calendarp # col_name data_type comment - year int # Partition Information # col_name data_type comment - p int # Detailed Partition Information @@ -959,7 +947,6 @@ POSTHOOK: query: desc formatted t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t # col_name data_type comment - key string value string @@ -1001,7 +988,6 @@ POSTHOOK: query: desc formatted t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/llap/column_names_with_leading_and_trailing_spaces.q.out ql/src/test/results/clientpositive/llap/column_names_with_leading_and_trailing_spaces.q.out index 345434ff65..2b87d502a2 100644 --- ql/src/test/results/clientpositive/llap/column_names_with_leading_and_trailing_spaces.q.out +++ ql/src/test/results/clientpositive/llap/column_names_with_leading_and_trailing_spaces.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc formatted space POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@space # col_name data_type comment - left string middle string right string @@ -48,9 +47,18 @@ PREHOOK: Input: default@space POSTHOOK: query: desc formatted space ` left` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@space -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - - left string from deserializer +col_name left +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\" left\":\"true\",\" middle \":\"true\",\"right \":\"true\"}} PREHOOK: query: insert into space values ("1", "2", "3") PREHOOK: type: QUERY @@ -67,9 +75,18 @@ PREHOOK: Input: default@space POSTHOOK: query: desc formatted space ` left` POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@space -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - - left string 0 1 1.0 1 HL from deserializer +col_name left +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 1.0 +max_col_len 1 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\" left\":\"true\",\" middle \":\"true\",\"right \":\"true\"}} PREHOOK: query: select * from space PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/llap/column_table_stats.q.out ql/src/test/results/clientpositive/llap/column_table_stats.q.out index c397f80e71..cdcd75b09e 100644 --- ql/src/test/results/clientpositive/llap/column_table_stats.q.out +++ ql/src/test/results/clientpositive/llap/column_table_stats.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: desc formatted s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@s # col_name data_type comment - key string default value string default @@ -204,7 +203,6 @@ POSTHOOK: query: desc formatted s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@s # col_name data_type comment - key string default value string default @@ -277,13 +275,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -530,13 +526,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -572,13 +566,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=11) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -612,13 +604,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=12) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -694,13 +684,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -947,13 +935,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -989,13 +975,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=11) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -1029,13 +1013,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=12) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -1111,13 +1093,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -1312,13 +1292,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -1353,13 +1331,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=11) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -1393,13 +1369,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=12) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/column_table_stats_orc.q.out ql/src/test/results/clientpositive/llap/column_table_stats_orc.q.out index c7199760ac..4bc5b3933e 100644 --- ql/src/test/results/clientpositive/llap/column_table_stats_orc.q.out +++ ql/src/test/results/clientpositive/llap/column_table_stats_orc.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: desc formatted s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@s # col_name data_type comment - key string default value string default @@ -206,7 +205,6 @@ POSTHOOK: query: desc formatted s POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@s # col_name data_type comment - key string default value string default @@ -273,13 +271,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -520,13 +516,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -562,13 +556,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=11) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -602,13 +594,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=12) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -678,13 +668,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -876,13 +864,11 @@ POSTHOOK: query: desc formatted spart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -918,13 +904,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=11) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -958,13 +942,11 @@ POSTHOOK: query: desc formatted spart PARTITION(ds='2008-04-08', hr=12) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@spart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/columnstats_part_coltype.q.out ql/src/test/results/clientpositive/llap/columnstats_part_coltype.q.out index 9368514fd7..72f9aa2295 100644 --- ql/src/test/results/clientpositive/llap/columnstats_part_coltype.q.out +++ ql/src/test/results/clientpositive/llap/columnstats_part_coltype.q.out @@ -80,18 +80,36 @@ PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partA') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 27 484 0 20 HL from deserializer +col_name key +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partA') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partA') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 20 6.8 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partB') key PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats @@ -99,7 +117,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - key int from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partB') value PREHOOK: type: DESCTABLE @@ -108,7 +125,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - value string from deserializer PREHOOK: query: analyze table partcolstats partition (ds=date '2015-04-02', hr=2, part) compute statistics for columns PREHOOK: type: QUERY @@ -134,18 +150,36 @@ PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partB') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 27 484 0 20 HL from deserializer +col_name key +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partB') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=2, part='partB') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 20 6.8 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.8 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=3, part='partA') key PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats @@ -153,7 +187,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - key int from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=3, part='partA') value PREHOOK: type: DESCTABLE @@ -162,7 +195,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - value string from deserializer PREHOOK: query: analyze table partcolstats partition (ds=date '2015-04-02', hr, part) compute statistics for columns PREHOOK: type: QUERY @@ -192,18 +224,36 @@ PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=3, part='partA') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 27 495 0 30 HL from deserializer +col_name key +data_type int +min 27 +max 495 +num_nulls 0 +distinct_count 30 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=3, part='partA') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-02', hr=3, part='partA') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 30 6.833333333333333 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 30 +avg_col_len 6.833333333333333 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partA') key PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats @@ -211,7 +261,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - key int from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partA') value PREHOOK: type: DESCTABLE @@ -220,7 +269,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - value string from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partB') key PREHOOK: type: DESCTABLE @@ -229,7 +277,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - key int from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partB') value PREHOOK: type: DESCTABLE @@ -238,7 +285,6 @@ POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats # col_name data_type comment - value string from deserializer PREHOOK: query: analyze table partcolstats partition (ds, hr, part) compute statistics for columns PREHOOK: type: QUERY @@ -276,36 +322,72 @@ PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partA') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 15 495 0 40 HL from deserializer +col_name key +data_type int +min 15 +max 495 +num_nulls 0 +distinct_count 40 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partA') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partA') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 40 6.825 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 40 +avg_col_len 6.825 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partB') key PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partB') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 15 495 0 58 HL from deserializer +col_name key +data_type int +min 15 +max 495 +num_nulls 0 +distinct_count 58 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partB') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcolstats POSTHOOK: query: describe formatted partcolstats partition (ds=date '2015-04-03', hr=3, part='partB') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstats -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 58 6.883333333333334 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 58 +avg_col_len 6.883333333333334 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table partcolstats PREHOOK: type: DROPTABLE PREHOOK: Input: default@partcolstats @@ -356,9 +438,18 @@ PREHOOK: Input: default@partcolstatsnum POSTHOOK: query: describe formatted partcolstatsnum partition (tint=100, sint=1000, bint=1000000) value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstatsnum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 30 6.833333333333333 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 30 +avg_col_len 6.833333333333333 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table partcolstatsnum PREHOOK: type: DROPTABLE PREHOOK: Input: default@partcolstatsnum @@ -409,9 +500,18 @@ PREHOOK: Input: default@partcolstatsdec POSTHOOK: query: describe formatted partcolstatsdec partition (decpart='1000.0001') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstatsdec -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 30 6.833333333333333 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 30 +avg_col_len 6.833333333333333 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table partcolstatsdec PREHOOK: type: DROPTABLE PREHOOK: Input: default@partcolstatsdec @@ -462,9 +562,18 @@ PREHOOK: Input: default@partcolstatschar POSTHOOK: query: describe formatted partcolstatschar partition (varpart='part1', charpart='aaa') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcolstatschar -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 30 6.833333333333333 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 30 +avg_col_len 6.833333333333333 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table partcolstatschar PREHOOK: type: DROPTABLE PREHOOK: Input: default@partcolstatschar diff --git ql/src/test/results/clientpositive/llap/ctas.q.out ql/src/test/results/clientpositive/llap/ctas.q.out index fe492e43ad..1dd2dd19e4 100644 --- ql/src/test/results/clientpositive/llap/ctas.q.out +++ ql/src/test/results/clientpositive/llap/ctas.q.out @@ -142,7 +142,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas1 # col_name data_type comment - k string value string @@ -298,7 +297,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas2 # col_name data_type comment - key string value string @@ -454,7 +452,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas3 # col_name data_type comment - half_key double conb string @@ -518,7 +515,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas3 # col_name data_type comment - half_key double conb string @@ -675,7 +671,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas4 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/llap/deleteAnalyze.q.out ql/src/test/results/clientpositive/llap/deleteAnalyze.q.out index 18fdfd46f5..45b9af6760 100644 --- ql/src/test/results/clientpositive/llap/deleteAnalyze.q.out +++ ql/src/test/results/clientpositive/llap/deleteAnalyze.q.out @@ -35,7 +35,6 @@ POSTHOOK: query: describe formatted testdeci2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testdeci2 # col_name data_type comment - id int amount decimal(10,3) sales_tax decimal(10,3) @@ -72,9 +71,18 @@ PREHOOK: Input: default@testdeci2 POSTHOOK: query: describe formatted testdeci2 amount POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@testdeci2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -amount decimal(10,3) from deserializer +col_name amount +data_type decimal(10,3) +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\"} PREHOOK: query: analyze table testdeci2 compute statistics for columns PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/llap/dynpart_sort_optimization2.q.out ql/src/test/results/clientpositive/llap/dynpart_sort_optimization2.q.out index e41fa24246..40ed4766c7 100644 --- ql/src/test/results/clientpositive/llap/dynpart_sort_optimization2.q.out +++ ql/src/test/results/clientpositive/llap/dynpart_sort_optimization2.q.out @@ -184,13 +184,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452617) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -244,13 +242,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452638) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -416,13 +412,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452617) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -476,13 +470,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452638) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -664,13 +656,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452617) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -724,13 +714,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452638) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -894,13 +882,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452617) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -954,13 +940,11 @@ POSTHOOK: query: desc formatted ss_part partition(ss_sold_date_sk=2452638) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -1197,13 +1181,11 @@ POSTHOOK: query: desc formatted ss_part_orc partition(ss_sold_date_sk=2452617) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part_orc # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -1257,13 +1239,11 @@ POSTHOOK: query: desc formatted ss_part_orc partition(ss_sold_date_sk=2452638) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part_orc # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -1427,13 +1407,11 @@ POSTHOOK: query: desc formatted ss_part_orc partition(ss_sold_date_sk=2452617) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part_orc # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information @@ -1487,13 +1465,11 @@ POSTHOOK: query: desc formatted ss_part_orc partition(ss_sold_date_sk=2452638) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ss_part_orc # col_name data_type comment - ss_net_paid_inc_tax float ss_net_profit float # Partition Information # col_name data_type comment - ss_sold_date_sk int # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/explainuser_1.q.out ql/src/test/results/clientpositive/llap/explainuser_1.q.out index a47d791fad..0700f0504f 100644 --- ql/src/test/results/clientpositive/llap/explainuser_1.q.out +++ ql/src/test/results/clientpositive/llap/explainuser_1.q.out @@ -34,7 +34,6 @@ ts string # Partition Information # col_name data_type comment - ds string ts string diff --git ql/src/test/results/clientpositive/llap/extrapolate_part_stats_partial_ndv.q.out ql/src/test/results/clientpositive/llap/extrapolate_part_stats_partial_ndv.q.out index 6b6ba4db18..1ac5977898 100644 --- ql/src/test/results/clientpositive/llap/extrapolate_part_stats_partial_ndv.q.out +++ ql/src/test/results/clientpositive/llap/extrapolate_part_stats_partial_ndv.q.out @@ -113,72 +113,144 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 3 0.75 2 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 3 +avg_col_len 0.75 +max_col_len 2 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') state PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 6 3.0 3 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 6 +avg_col_len 3.0 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid double 1.0 4.0 0 4 HL from deserializer +col_name locid +data_type double +min 1.0 +max 4.0 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid double 1.0 5.0 0 5 HL from deserializer +col_name locid +data_type double +min 1.0 +max 5.0 +num_nulls 0 +distinct_count 5 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') cnt PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') cnt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cnt decimal(10,0) 10 2000 0 4 HL from deserializer +col_name cnt +data_type decimal(10,0) +min 10 +max 2000 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') cnt PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') cnt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cnt decimal(10,0) 10 910 0 4 HL from deserializer +col_name cnt +data_type decimal(10,0) +min 10 +max 910 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') zip PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2001') zip POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -zip int 43201 94087 0 3 HL from deserializer +col_name zip +data_type int +min 43201 +max 94087 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') zip PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2002') zip POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -zip int 43201 94087 0 3 HL from deserializer +col_name zip +data_type int +min 43201 +max 94087 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain extended select state,locid,cnt,zip from loc_orc_1d PREHOOK: type: QUERY POSTHOOK: query: explain extended select state,locid,cnt,zip from loc_orc_1d @@ -414,72 +486,144 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 2 0.5 1 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 2 +avg_col_len 0.5 +max_col_len 1 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') state PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 3 1.25 4 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 3 +avg_col_len 1.25 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid double 1.0 2.0 0 2 HL from deserializer +col_name locid +data_type double +min 1.0 +max 2.0 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid double 1.0 31.0 0 5 HL from deserializer +col_name locid +data_type double +min 1.0 +max 31.0 +num_nulls 0 +distinct_count 5 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') cnt PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') cnt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cnt decimal(10,0) 1000 1010 0 2 HL from deserializer +col_name cnt +data_type decimal(10,0) +min 1000 +max 1010 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') cnt PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') cnt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cnt decimal(10,0) 1000 2000 0 3 HL from deserializer +col_name cnt +data_type decimal(10,0) +min 1000 +max 2000 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') zip PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2000') zip POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -zip int 94086 94087 0 2 HL from deserializer +col_name zip +data_type int +min 94086 +max 94087 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') zip PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d PARTITION(year='2003') zip POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -zip int 43201 94087 0 3 HL from deserializer +col_name zip +data_type int +min 43201 +max 94087 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain extended select state,locid,cnt,zip from loc_orc_1d PREHOOK: type: QUERY POSTHOOK: query: explain extended select state,locid,cnt,zip from loc_orc_1d @@ -786,54 +930,108 @@ PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d partition(zip=94086, year='2001') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 2 0.5 1 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 2 +avg_col_len 0.5 +max_col_len 1 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_2d partition(zip=94087, year='2002') state PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d partition(zip=94087, year='2002') state POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -state string 0 3 3.0 3 HL from deserializer +col_name state +data_type string +min +max +num_nulls 0 +distinct_count 3 +avg_col_len 3.0 +max_col_len 3 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_2d partition(zip=94086, year='2001') locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d partition(zip=94086, year='2001') locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 2 3 0 2 HL from deserializer +col_name locid +data_type int +min 2 +max 3 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_2d partition(zip=94087, year='2002') locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d partition(zip=94087, year='2002') locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 5 0 3 HL from deserializer +col_name locid +data_type int +min 1 +max 5 +num_nulls 0 +distinct_count 3 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_2d partition(zip=94086, year='2001') cnt PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d partition(zip=94086, year='2001') cnt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cnt decimal(10,0) 1000 2000 0 2 HL from deserializer +col_name cnt +data_type decimal(10,0) +min 1000 +max 2000 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_2d partition(zip=94087, year='2002') cnt PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d partition(zip=94087, year='2002') cnt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -cnt decimal(10,0) 10 100 0 2 HL from deserializer +col_name cnt +data_type decimal(10,0) +min 10 +max 100 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: explain extended select state,locid,cnt,zip from loc_orc_2d PREHOOK: type: QUERY POSTHOOK: query: explain extended select state,locid,cnt,zip from loc_orc_2d diff --git ql/src/test/results/clientpositive/llap/infer_bucket_sort_bucketed_table.q.out ql/src/test/results/clientpositive/llap/infer_bucket_sort_bucketed_table.q.out index 1efb81b35f..876c858f5d 100644 --- ql/src/test/results/clientpositive/llap/infer_bucket_sort_bucketed_table.q.out +++ ql/src/test/results/clientpositive/llap/infer_bucket_sort_bucketed_table.q.out @@ -27,13 +27,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_bucketed PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_bucketed # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/list_bucket_dml_10.q.out ql/src/test/results/clientpositive/llap/list_bucket_dml_10.q.out index cdb688b139..23c28e0277 100644 --- ql/src/test/results/clientpositive/llap/list_bucket_dml_10.q.out +++ ql/src/test/results/clientpositive/llap/list_bucket_dml_10.q.out @@ -188,13 +188,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/load_dyn_part1.q.out ql/src/test/results/clientpositive/llap/load_dyn_part1.q.out index 6ad9af8086..41f93cc3b0 100644 --- ql/src/test/results/clientpositive/llap/load_dyn_part1.q.out +++ ql/src/test/results/clientpositive/llap/load_dyn_part1.q.out @@ -37,7 +37,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/load_dyn_part2.q.out ql/src/test/results/clientpositive/llap/load_dyn_part2.q.out index ce5517a54d..f15226b3d0 100644 --- ql/src/test/results/clientpositive/llap/load_dyn_part2.q.out +++ ql/src/test/results/clientpositive/llap/load_dyn_part2.q.out @@ -23,7 +23,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/load_dyn_part3.q.out ql/src/test/results/clientpositive/llap/load_dyn_part3.q.out index b34975fedc..fd24a05274 100644 --- ql/src/test/results/clientpositive/llap/load_dyn_part3.q.out +++ ql/src/test/results/clientpositive/llap/load_dyn_part3.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/load_dyn_part5.q.out ql/src/test/results/clientpositive/llap/load_dyn_part5.q.out index 9c4e8a891b..8e2bf0c709 100644 --- ql/src/test/results/clientpositive/llap/load_dyn_part5.q.out +++ ql/src/test/results/clientpositive/llap/load_dyn_part5.q.out @@ -17,7 +17,6 @@ value string # Partition Information # col_name data_type comment - value string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/llap/orc_analyze.q.out ql/src/test/results/clientpositive/llap/orc_analyze.q.out index 1cc9d61b48..2cecf4e0c5 100644 --- ql/src/test/results/clientpositive/llap/orc_analyze.q.out +++ ql/src/test/results/clientpositive/llap/orc_analyze.q.out @@ -82,7 +82,6 @@ POSTHOOK: query: desc formatted orc_create_people POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -130,7 +129,6 @@ POSTHOOK: query: desc formatted orc_create_people POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -178,7 +176,6 @@ POSTHOOK: query: desc formatted orc_create_people POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -265,7 +262,6 @@ POSTHOOK: query: desc formatted orc_create_people POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -372,7 +368,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -382,7 +377,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -415,7 +409,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -425,7 +418,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -470,7 +462,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -480,7 +471,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -513,7 +503,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -523,7 +512,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -568,7 +556,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -578,7 +565,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -611,7 +597,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -621,7 +606,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -709,7 +693,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -719,7 +702,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -752,7 +734,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -762,7 +743,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -868,7 +848,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -878,7 +857,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -911,7 +889,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -921,7 +898,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -966,7 +942,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -976,7 +951,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1009,7 +983,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1019,7 +992,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1064,7 +1036,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1074,7 +1045,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1107,7 +1077,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1117,7 +1086,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1211,7 +1179,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1221,7 +1188,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1254,7 +1220,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Or") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1264,7 +1229,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1364,7 +1328,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1374,7 +1337,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1419,7 +1381,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1429,7 +1390,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information @@ -1474,7 +1434,6 @@ POSTHOOK: query: desc formatted orc_create_people partition(state="Ca") POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_people # col_name data_type comment - id int first_name string last_name string @@ -1484,7 +1443,6 @@ start_date timestamp # Partition Information # col_name data_type comment - state string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/orc_create.q.out ql/src/test/results/clientpositive/llap/orc_create.q.out index 7e7c889472..44373da600 100644 --- ql/src/test/results/clientpositive/llap/orc_create.q.out +++ ql/src/test/results/clientpositive/llap/orc_create.q.out @@ -53,7 +53,6 @@ POSTHOOK: query: DESCRIBE FORMATTED orc_create_staging POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_staging # col_name data_type comment - str string mp map lst array @@ -105,13 +104,11 @@ POSTHOOK: query: DESCRIBE FORMATTED orc_create POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -164,13 +161,11 @@ POSTHOOK: query: DESCRIBE FORMATTED orc_create POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -213,13 +208,11 @@ POSTHOOK: query: DESCRIBE FORMATTED orc_create POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -273,13 +266,11 @@ POSTHOOK: query: DESCRIBE FORMATTED orc_create POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information @@ -332,7 +323,6 @@ POSTHOOK: query: DESCRIBE FORMATTED orc_create_complex POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_create_complex # col_name data_type comment - str string mp map lst array diff --git ql/src/test/results/clientpositive/llap/orc_llap_counters.q.out ql/src/test/results/clientpositive/llap/orc_llap_counters.q.out index 9e9f8cf800..cce0fdab87 100644 --- ql/src/test/results/clientpositive/llap/orc_llap_counters.q.out +++ ql/src/test/results/clientpositive/llap/orc_llap_counters.q.out @@ -205,7 +205,6 @@ POSTHOOK: query: describe formatted orc_ppd POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_ppd # col_name data_type comment - t tinyint si smallint i int diff --git ql/src/test/results/clientpositive/llap/orc_llap_counters1.q.out ql/src/test/results/clientpositive/llap/orc_llap_counters1.q.out index 7b52493084..ef6908f0f8 100644 --- ql/src/test/results/clientpositive/llap/orc_llap_counters1.q.out +++ ql/src/test/results/clientpositive/llap/orc_llap_counters1.q.out @@ -205,7 +205,6 @@ POSTHOOK: query: describe formatted orc_ppd POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@orc_ppd # col_name data_type comment - t tinyint si smallint i int diff --git ql/src/test/results/clientpositive/llap/schema_evol_stats.q.out ql/src/test/results/clientpositive/llap/schema_evol_stats.q.out index 0a7a85c810..282bcb254f 100644 --- ql/src/test/results/clientpositive/llap/schema_evol_stats.q.out +++ ql/src/test/results/clientpositive/llap/schema_evol_stats.q.out @@ -57,7 +57,6 @@ POSTHOOK: query: desc formatted partitioned1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 # col_name data_type comment - a int b string c int @@ -65,7 +64,6 @@ d string # Partition Information # col_name data_type comment - part int # Detailed Table Information @@ -101,13 +99,11 @@ POSTHOOK: query: desc formatted partitioned1 PARTITION(part=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 # col_name data_type comment - a int b string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -140,7 +136,6 @@ POSTHOOK: query: desc formatted partitioned1 PARTITION(part=2) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 # col_name data_type comment - a int b string c int @@ -148,7 +143,6 @@ d string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -264,7 +258,6 @@ POSTHOOK: query: desc formatted partitioned1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 # col_name data_type comment - a int b string c int @@ -272,7 +265,6 @@ d string # Partition Information # col_name data_type comment - part int # Detailed Table Information @@ -308,13 +300,11 @@ POSTHOOK: query: desc formatted partitioned1 PARTITION(part=1) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 # col_name data_type comment - a int b string # Partition Information # col_name data_type comment - part int # Detailed Partition Information @@ -347,7 +337,6 @@ POSTHOOK: query: desc formatted partitioned1 PARTITION(part=2) POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partitioned1 # col_name data_type comment - a int b string c int @@ -355,7 +344,6 @@ d string # Partition Information # col_name data_type comment - part int # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/selectDistinctStar.q.out ql/src/test/results/clientpositive/llap/selectDistinctStar.q.out index c5ca782ff5..befb6e7992 100644 --- ql/src/test/results/clientpositive/llap/selectDistinctStar.q.out +++ ql/src/test/results/clientpositive/llap/selectDistinctStar.q.out @@ -1385,7 +1385,6 @@ POSTHOOK: query: describe formatted sdi POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@sdi # col_name data_type comment - key string value string @@ -3849,7 +3848,6 @@ POSTHOOK: query: describe formatted sdi POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@sdi # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/llap/stats11.q.out ql/src/test/results/clientpositive/llap/stats11.q.out index 387a454cb9..3e3256277b 100644 --- ql/src/test/results/clientpositive/llap/stats11.q.out +++ ql/src/test/results/clientpositive/llap/stats11.q.out @@ -72,13 +72,11 @@ POSTHOOK: query: desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcbucket_mapjoin_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -118,13 +116,11 @@ POSTHOOK: query: desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcbucket_mapjoin_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -164,13 +160,11 @@ POSTHOOK: query: desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcbucket_mapjoin_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -210,13 +204,11 @@ POSTHOOK: query: desc formatted srcbucket_mapjoin_part partition(ds='2008-04-08' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@srcbucket_mapjoin_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/stats_noscan_1.q.out ql/src/test/results/clientpositive/llap/stats_noscan_1.q.out index d6eacf675a..6d3e6740a3 100644 --- ql/src/test/results/clientpositive/llap/stats_noscan_1.q.out +++ ql/src/test/results/clientpositive/llap/stats_noscan_1.q.out @@ -77,13 +77,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -115,13 +113,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -153,13 +149,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -190,13 +184,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -227,13 +219,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -340,13 +330,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -378,13 +366,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -416,13 +402,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -453,13 +437,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/llap/stats_only_null.q.out ql/src/test/results/clientpositive/llap/stats_only_null.q.out index f25f9d5e8f..ac6c18e429 100644 --- ql/src/test/results/clientpositive/llap/stats_only_null.q.out +++ ql/src/test/results/clientpositive/llap/stats_only_null.q.out @@ -231,7 +231,6 @@ POSTHOOK: query: describe formatted stats_null_part partition (dt='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part # col_name data_type comment - a double b int c string @@ -239,7 +238,6 @@ d smallint # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -272,7 +270,6 @@ POSTHOOK: query: describe formatted stats_null_part partition (dt='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part # col_name data_type comment - a double b int c string @@ -280,7 +277,6 @@ d smallint # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -413,9 +409,18 @@ PREHOOK: Input: default@stats_null_part POSTHOOK: query: describe formatted stats_null_part partition(dt = 1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a double 1.0 1.0 1 1 HL from deserializer +col_name a +data_type double +min 1.0 +max 1.0 +num_nulls 1 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table stats_null PREHOOK: type: DROPTABLE PREHOOK: Input: default@stats_null diff --git ql/src/test/results/clientpositive/llap/tez_bmj_schema_evolution.q.out ql/src/test/results/clientpositive/llap/tez_bmj_schema_evolution.q.out index 27c8334ad8..c71db51f46 100644 --- ql/src/test/results/clientpositive/llap/tez_bmj_schema_evolution.q.out +++ ql/src/test/results/clientpositive/llap/tez_bmj_schema_evolution.q.out @@ -64,7 +64,6 @@ p int # Partition Information # col_name data_type comment - p int PREHOOK: query: explain select test.key, test.value from test join test1 on (test.key = test1.key) order by test.key PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/llap/tez_fsstat.q.out ql/src/test/results/clientpositive/llap/tez_fsstat.q.out index 133f50c8db..d6872e4a3c 100644 --- ql/src/test/results/clientpositive/llap/tez_fsstat.q.out +++ ql/src/test/results/clientpositive/llap/tez_fsstat.q.out @@ -68,13 +68,11 @@ POSTHOOK: query: describe formatted tab_part partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tab_part # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/llap/tez_schema_evolution.q.out ql/src/test/results/clientpositive/llap/tez_schema_evolution.q.out index 346ec38625..a9ff134923 100644 --- ql/src/test/results/clientpositive/llap/tez_schema_evolution.q.out +++ ql/src/test/results/clientpositive/llap/tez_schema_evolution.q.out @@ -46,7 +46,6 @@ p int # Partition Information # col_name data_type comment - p int PREHOOK: query: select * from test where p=1 and key > 0 order by key PREHOOK: type: QUERY diff --git ql/src/test/results/clientpositive/llap/union_fast_stats.q.out ql/src/test/results/clientpositive/llap/union_fast_stats.q.out index b13c0ee464..5cd5d41b09 100644 --- ql/src/test/results/clientpositive/llap/union_fast_stats.q.out +++ ql/src/test/results/clientpositive/llap/union_fast_stats.q.out @@ -155,7 +155,6 @@ POSTHOOK: query: desc formatted small_alltypesorc_a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@small_alltypesorc_a # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -208,7 +207,6 @@ POSTHOOK: query: desc formatted small_alltypesorc_a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@small_alltypesorc_a # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -273,7 +271,6 @@ POSTHOOK: query: desc formatted small_alltypesorc_a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@small_alltypesorc_a # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -488,7 +485,6 @@ POSTHOOK: query: desc formatted small_alltypesorc_a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@small_alltypesorc_a # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -513,7 +509,7 @@ Table Parameters: numFiles 1 numRows 5 rawDataSize 1069 - totalSize 3245 + totalSize 3243 #### A masked pattern was here #### # Storage Information @@ -541,7 +537,6 @@ POSTHOOK: query: desc formatted small_alltypesorc_a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@small_alltypesorc_a # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -566,7 +561,7 @@ Table Parameters: numFiles 1 numRows 15 rawDataSize 3320 - totalSize 3245 + totalSize 3243 #### A masked pattern was here #### # Storage Information @@ -606,7 +601,6 @@ POSTHOOK: query: desc formatted small_alltypesorc_a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@small_alltypesorc_a # col_name data_type comment - ctinyint tinyint csmallint smallint cint int @@ -631,7 +625,7 @@ Table Parameters: numFiles 2 numRows 20 rawDataSize 4389 - totalSize 4618 + totalSize 4616 #### A masked pattern was here #### # Storage Information diff --git ql/src/test/results/clientpositive/llap/union_stats.q.out ql/src/test/results/clientpositive/llap/union_stats.q.out index 1f3dc82e15..4178684db9 100644 --- ql/src/test/results/clientpositive/llap/union_stats.q.out +++ ql/src/test/results/clientpositive/llap/union_stats.q.out @@ -239,7 +239,6 @@ POSTHOOK: query: desc formatted t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t # col_name data_type comment - key string value string @@ -288,7 +287,6 @@ POSTHOOK: query: desc formatted tt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tt # col_name data_type comment - key string value string @@ -345,7 +343,6 @@ POSTHOOK: query: desc formatted tt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tt # col_name data_type comment - key string value string @@ -414,7 +411,6 @@ POSTHOOK: query: desc formatted t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string default value string default @@ -449,7 +445,6 @@ POSTHOOK: query: desc formatted t2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t2 # col_name data_type comment - key string default value string default diff --git ql/src/test/results/clientpositive/load_dyn_part1.q.out ql/src/test/results/clientpositive/load_dyn_part1.q.out index 84d806d3a9..43a8bc86c5 100644 --- ql/src/test/results/clientpositive/load_dyn_part1.q.out +++ ql/src/test/results/clientpositive/load_dyn_part1.q.out @@ -37,7 +37,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part10.q.out ql/src/test/results/clientpositive/load_dyn_part10.q.out index 99d357217d..066b3356dd 100644 --- ql/src/test/results/clientpositive/load_dyn_part10.q.out +++ ql/src/test/results/clientpositive/load_dyn_part10.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part11.q.out ql/src/test/results/clientpositive/load_dyn_part11.q.out index 225a6c9e36..6ad41ec6a4 100644 --- ql/src/test/results/clientpositive/load_dyn_part11.q.out +++ ql/src/test/results/clientpositive/load_dyn_part11.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part12.q.out ql/src/test/results/clientpositive/load_dyn_part12.q.out index bb511599e1..01cdfd4cde 100644 --- ql/src/test/results/clientpositive/load_dyn_part12.q.out +++ ql/src/test/results/clientpositive/load_dyn_part12.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part13.q.out ql/src/test/results/clientpositive/load_dyn_part13.q.out index 77bb37f1d5..f8105c745b 100644 --- ql/src/test/results/clientpositive/load_dyn_part13.q.out +++ ql/src/test/results/clientpositive/load_dyn_part13.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part14.q.out ql/src/test/results/clientpositive/load_dyn_part14.q.out index a6a5c63cc5..d65a1e3863 100644 --- ql/src/test/results/clientpositive/load_dyn_part14.q.out +++ ql/src/test/results/clientpositive/load_dyn_part14.q.out @@ -19,7 +19,6 @@ value string # Partition Information # col_name data_type comment - value string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/load_dyn_part2.q.out ql/src/test/results/clientpositive/load_dyn_part2.q.out index 93778a22e3..e8efa5f898 100644 --- ql/src/test/results/clientpositive/load_dyn_part2.q.out +++ ql/src/test/results/clientpositive/load_dyn_part2.q.out @@ -23,7 +23,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part3.q.out ql/src/test/results/clientpositive/load_dyn_part3.q.out index 3849100785..efe5222236 100644 --- ql/src/test/results/clientpositive/load_dyn_part3.q.out +++ ql/src/test/results/clientpositive/load_dyn_part3.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part4.q.out ql/src/test/results/clientpositive/load_dyn_part4.q.out index 40b0bbbe8c..a561cc6f20 100644 --- ql/src/test/results/clientpositive/load_dyn_part4.q.out +++ ql/src/test/results/clientpositive/load_dyn_part4.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part6.q.out ql/src/test/results/clientpositive/load_dyn_part6.q.out index fce8eff2df..993f42f2f1 100644 --- ql/src/test/results/clientpositive/load_dyn_part6.q.out +++ ql/src/test/results/clientpositive/load_dyn_part6.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part7.q.out ql/src/test/results/clientpositive/load_dyn_part7.q.out index 02f932770d..1d4d013ac7 100644 --- ql/src/test/results/clientpositive/load_dyn_part7.q.out +++ ql/src/test/results/clientpositive/load_dyn_part7.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part8.q.out ql/src/test/results/clientpositive/load_dyn_part8.q.out index cb1a757051..cf2f60fbd9 100644 --- ql/src/test/results/clientpositive/load_dyn_part8.q.out +++ ql/src/test/results/clientpositive/load_dyn_part8.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/load_dyn_part9.q.out ql/src/test/results/clientpositive/load_dyn_part9.q.out index 414e784309..25937dff8c 100644 --- ql/src/test/results/clientpositive/load_dyn_part9.q.out +++ ql/src/test/results/clientpositive/load_dyn_part9.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/materialized_view_describe.q.out ql/src/test/results/clientpositive/materialized_view_describe.q.out index 92de29322f..fa98e9c9ab 100644 --- ql/src/test/results/clientpositive/materialized_view_describe.q.out +++ ql/src/test/results/clientpositive/materialized_view_describe.q.out @@ -54,7 +54,6 @@ POSTHOOK: query: describe formatted cmv_mat_view POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@cmv_mat_view # col_name data_type comment - a int c decimal(10,2) @@ -137,7 +136,6 @@ POSTHOOK: query: describe formatted cmv_mat_view2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@cmv_mat_view2 # col_name data_type comment - a int # Detailed Table Information @@ -213,7 +211,6 @@ POSTHOOK: query: describe formatted cmv_mat_view3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@cmv_mat_view3 # col_name data_type comment - a int b varchar(256) c decimal(10,2) @@ -302,7 +299,6 @@ POSTHOOK: query: describe formatted cmv_mat_view4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@cmv_mat_view4 # col_name data_type comment - a int # Detailed Table Information diff --git ql/src/test/results/clientpositive/merge3.q.out ql/src/test/results/clientpositive/merge3.q.out index 1eb5f0e03a..e05d651775 100644 --- ql/src/test/results/clientpositive/merge3.q.out +++ ql/src/test/results/clientpositive/merge3.q.out @@ -2324,7 +2324,6 @@ POSTHOOK: query: describe formatted merge_src2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@merge_src2 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/named_column_join.q.out ql/src/test/results/clientpositive/named_column_join.q.out index 031081af96..a5d21b296a 100644 --- ql/src/test/results/clientpositive/named_column_join.q.out +++ ql/src/test/results/clientpositive/named_column_join.q.out @@ -276,7 +276,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - a int b int @@ -343,7 +342,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - b int a int @@ -452,7 +450,6 @@ POSTHOOK: query: desc formatted tt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tt # col_name data_type comment - a int b int diff --git ql/src/test/results/clientpositive/parallel_orderby.q.out ql/src/test/results/clientpositive/parallel_orderby.q.out index 8249a7baad..2fe4f009ad 100644 --- ql/src/test/results/clientpositive/parallel_orderby.q.out +++ ql/src/test/results/clientpositive/parallel_orderby.q.out @@ -100,7 +100,6 @@ POSTHOOK: query: desc formatted total_ordered POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@total_ordered # col_name data_type comment - key string value string @@ -211,7 +210,6 @@ POSTHOOK: query: desc formatted total_ordered POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@total_ordered # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/parquet_analyze.q.out ql/src/test/results/clientpositive/parquet_analyze.q.out index 76a8d80788..99199b0e5b 100644 --- ql/src/test/results/clientpositive/parquet_analyze.q.out +++ ql/src/test/results/clientpositive/parquet_analyze.q.out @@ -74,7 +74,6 @@ POSTHOOK: query: DESC FORMATTED parquet_create_people POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_create_people # col_name data_type comment - id int first_name string last_name string @@ -122,7 +121,6 @@ POSTHOOK: query: DESC FORMATTED parquet_create_people POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_create_people # col_name data_type comment - id int first_name string last_name string diff --git ql/src/test/results/clientpositive/parquet_array_null_element.q.out ql/src/test/results/clientpositive/parquet_array_null_element.q.out index f05ecc6de3..142f1c305c 100644 --- ql/src/test/results/clientpositive/parquet_array_null_element.q.out +++ ql/src/test/results/clientpositive/parquet_array_null_element.q.out @@ -57,7 +57,6 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_array_null_element POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_array_null_element # col_name data_type comment - id int lstint array lststr array diff --git ql/src/test/results/clientpositive/parquet_create.q.out ql/src/test/results/clientpositive/parquet_create.q.out index b4222b3564..fa76111c60 100644 --- ql/src/test/results/clientpositive/parquet_create.q.out +++ ql/src/test/results/clientpositive/parquet_create.q.out @@ -59,7 +59,6 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_create POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_create # col_name data_type comment - id int str string mp map diff --git ql/src/test/results/clientpositive/parquet_mixed_partition_formats.q.out ql/src/test/results/clientpositive/parquet_mixed_partition_formats.q.out index 30a5c7d55a..e931aaa335 100644 --- ql/src/test/results/clientpositive/parquet_mixed_partition_formats.q.out +++ ql/src/test/results/clientpositive/parquet_mixed_partition_formats.q.out @@ -96,7 +96,6 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats PARTITION (d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_mixed_partition_formats # col_name data_type comment - cint int ctinyint tinyint csmallint smallint @@ -114,7 +113,6 @@ d date # Partition Information # col_name data_type comment - dateint int # Detailed Partition Information @@ -165,7 +163,6 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_mixed_partition_formats # col_name data_type comment - cint int ctinyint tinyint csmallint smallint @@ -183,7 +180,6 @@ d date # Partition Information # col_name data_type comment - dateint int # Detailed Table Information @@ -221,7 +217,6 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_partition_formats PARTITION (d POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_mixed_partition_formats # col_name data_type comment - cint int ctinyint tinyint csmallint smallint @@ -239,7 +234,6 @@ d date # Partition Information # col_name data_type comment - dateint int # Detailed Partition Information diff --git ql/src/test/results/clientpositive/parquet_partitioned.q.out ql/src/test/results/clientpositive/parquet_partitioned.q.out index 654eae194f..8e13834199 100644 --- ql/src/test/results/clientpositive/parquet_partitioned.q.out +++ ql/src/test/results/clientpositive/parquet_partitioned.q.out @@ -47,13 +47,11 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_partitioned POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_partitioned # col_name data_type comment - id int str string # Partition Information # col_name data_type comment - part string # Detailed Table Information diff --git ql/src/test/results/clientpositive/parquet_serde.q.out ql/src/test/results/clientpositive/parquet_serde.q.out index 4f3a868724..90dc6a5ef2 100644 --- ql/src/test/results/clientpositive/parquet_serde.q.out +++ ql/src/test/results/clientpositive/parquet_serde.q.out @@ -51,14 +51,12 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_fileformat PARTITION (dateint= POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_mixed_fileformat # col_name data_type comment - id int str string part string # Partition Information # col_name data_type comment - dateint int # Detailed Partition Information @@ -113,14 +111,12 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_fileformat POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_mixed_fileformat # col_name data_type comment - id int str string part string # Partition Information # col_name data_type comment - dateint int # Detailed Table Information @@ -156,14 +152,12 @@ POSTHOOK: query: DESCRIBE FORMATTED parquet_mixed_fileformat PARTITION (dateint= POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@parquet_mixed_fileformat # col_name data_type comment - id int str string part string # Partition Information # col_name data_type comment - dateint int # Detailed Partition Information diff --git ql/src/test/results/clientpositive/part_inherit_tbl_props.q.out ql/src/test/results/clientpositive/part_inherit_tbl_props.q.out index 8b42dc3974..ff55f279c4 100644 --- ql/src/test/results/clientpositive/part_inherit_tbl_props.q.out +++ ql/src/test/results/clientpositive/part_inherit_tbl_props.q.out @@ -20,12 +20,10 @@ POSTHOOK: query: describe formatted mytbl partition (c2='v1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mytbl # col_name data_type comment - c1 tinyint # Partition Information # col_name data_type comment - c2 string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/part_inherit_tbl_props_empty.q.out ql/src/test/results/clientpositive/part_inherit_tbl_props_empty.q.out index 5c2c8a6eb5..fae954acf0 100644 --- ql/src/test/results/clientpositive/part_inherit_tbl_props_empty.q.out +++ ql/src/test/results/clientpositive/part_inherit_tbl_props_empty.q.out @@ -20,12 +20,10 @@ POSTHOOK: query: describe formatted mytbl partition (c2='v1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mytbl # col_name data_type comment - c1 tinyint # Partition Information # col_name data_type comment - c2 string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/part_inherit_tbl_props_with_star.q.out ql/src/test/results/clientpositive/part_inherit_tbl_props_with_star.q.out index 9e00fe6a2a..dbbfd00430 100644 --- ql/src/test/results/clientpositive/part_inherit_tbl_props_with_star.q.out +++ ql/src/test/results/clientpositive/part_inherit_tbl_props_with_star.q.out @@ -20,12 +20,10 @@ POSTHOOK: query: describe formatted mytbl partition (c2='v1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@mytbl # col_name data_type comment - c1 tinyint # Partition Information # col_name data_type comment - c2 string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/partial_column_stats.q.out ql/src/test/results/clientpositive/partial_column_stats.q.out index e8b1a99fe2..c1a78c38c6 100644 --- ql/src/test/results/clientpositive/partial_column_stats.q.out +++ ql/src/test/results/clientpositive/partial_column_stats.q.out @@ -69,7 +69,16 @@ PREHOOK: Input: default@t1 POSTHOOK: query: desc formatted t1 value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 0 0.0 0 from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 0 +avg_col_len 0.0 +max_col_len 0 +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"data\":\"true\",\"key\":\"true\",\"value\":\"true\"}} diff --git ql/src/test/results/clientpositive/partition_coltype_literals.q.out ql/src/test/results/clientpositive/partition_coltype_literals.q.out index 51eda726d6..9a0b4f423f 100644 --- ql/src/test/results/clientpositive/partition_coltype_literals.q.out +++ ql/src/test/results/clientpositive/partition_coltype_literals.q.out @@ -24,13 +24,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=100, sint=200 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - tint tinyint sint smallint bint bigint @@ -74,13 +72,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=100Y, sint=20 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - tint tinyint sint smallint bint bigint @@ -125,13 +121,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=100Y, sint=20 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - tint tinyint sint smallint bint bigint @@ -177,13 +171,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=110Y, sint=22 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - tint tinyint sint smallint bint bigint @@ -280,7 +272,6 @@ bint bigint # Partition Information # col_name data_type comment - tint tinyint sint smallint bint bigint @@ -302,27 +293,54 @@ PREHOOK: Input: default@partcoltypenum POSTHOOK: query: describe formatted partcoltypenum partition (tint=110Y, sint=22000S, bint=330000000000L) key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 27 484 0 20 HL from deserializer +col_name key +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 20 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcoltypenum partition (tint=110Y, sint=22000S, bint=330000000000L) value PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcoltypenum POSTHOOK: query: describe formatted partcoltypenum partition (tint=110Y, sint=22000S, bint=330000000000L) value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 20 6.766666666666667 7 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 20 +avg_col_len 6.766666666666667 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted partcoltypenum tint PREHOOK: type: DESCTABLE PREHOOK: Input: default@partcoltypenum POSTHOOK: query: describe formatted partcoltypenum tint POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -tint tinyint 110 110 0 1 +col_name tint +data_type tinyint +min 110 +max 110 +num_nulls 0 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"tint\":\"true\"}} PREHOOK: query: describe formatted partcoltypenum sint PREHOOK: type: DESCTABLE @@ -330,9 +348,18 @@ PREHOOK: Input: default@partcoltypenum POSTHOOK: query: describe formatted partcoltypenum sint POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sint smallint 22000 22000 0 1 +col_name sint +data_type smallint +min 22000 +max 22000 +num_nulls 0 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"sint\":\"true\"}} PREHOOK: query: describe formatted partcoltypenum bint PREHOOK: type: DESCTABLE @@ -340,9 +367,18 @@ PREHOOK: Input: default@partcoltypenum POSTHOOK: query: describe formatted partcoltypenum bint POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -bint bigint 330000000000 330000000000 0 1 +col_name bint +data_type bigint +min 330000000000 +max 330000000000 +num_nulls 0 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"bint\":\"true\"}} PREHOOK: query: alter table partcoltypenum change key key decimal(10,0) PREHOOK: type: ALTERTABLE_RENAMECOL @@ -368,13 +404,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=110Y, sint=22 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key decimal(10,0) value string # Partition Information # col_name data_type comment - tint tinyint sint smallint bint bigint @@ -417,13 +451,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=110BD, sint=2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key decimal(10,0) value string # Partition Information # col_name data_type comment - tint decimal(3,0) sint smallint bint bigint @@ -458,9 +490,18 @@ PREHOOK: Input: default@partcoltypenum POSTHOOK: query: describe formatted partcoltypenum tint POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -tint decimal(3,0) 110 110 0 1 +col_name tint +data_type decimal(3,0) +min 110 +max 110 +num_nulls 0 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"tint\":\"true\"}} PREHOOK: query: show partitions partcoltypenum partition (tint=110BD, sint=22000S, bint=330000000000L) PREHOOK: type: SHOWPARTITIONS @@ -500,13 +541,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=100BD, sint=2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key decimal(10,0) value string # Partition Information # col_name data_type comment - tint decimal(3,0) sint smallint bint bigint @@ -551,13 +590,11 @@ POSTHOOK: query: describe formatted partcoltypenum partition (tint=100BD, sint=2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@partcoltypenum # col_name data_type comment - key decimal(10,0) value string # Partition Information # col_name data_type comment - tint decimal(3,0) sint smallint bint bigint diff --git ql/src/test/results/clientpositive/partition_date2.q.out ql/src/test/results/clientpositive/partition_date2.q.out index e8bd9e930b..9cf9149750 100644 --- ql/src/test/results/clientpositive/partition_date2.q.out +++ ql/src/test/results/clientpositive/partition_date2.q.out @@ -251,7 +251,6 @@ region int # Partition Information # col_name data_type comment - dt date region int @@ -311,7 +310,6 @@ region int # Partition Information # col_name data_type comment - dt date region int diff --git ql/src/test/results/clientpositive/partition_schema1.q.out ql/src/test/results/clientpositive/partition_schema1.q.out index 48935369d7..7db915b388 100644 --- ql/src/test/results/clientpositive/partition_schema1.q.out +++ ql/src/test/results/clientpositive/partition_schema1.q.out @@ -28,7 +28,6 @@ dt string # Partition Information # col_name data_type comment - dt string PREHOOK: query: alter table partition_schema1 add columns (x string) PREHOOK: type: ALTERTABLE_ADDCOLS @@ -51,7 +50,6 @@ dt string # Partition Information # col_name data_type comment - dt string PREHOOK: query: desc partition_schema1 partition (dt='100') PREHOOK: type: DESCTABLE @@ -65,5 +63,4 @@ dt string # Partition Information # col_name data_type comment - dt string diff --git ql/src/test/results/clientpositive/partition_timestamp2.q.out ql/src/test/results/clientpositive/partition_timestamp2.q.out index 63ca197a25..3a4770ead8 100644 --- ql/src/test/results/clientpositive/partition_timestamp2.q.out +++ ql/src/test/results/clientpositive/partition_timestamp2.q.out @@ -285,7 +285,6 @@ region int # Partition Information # col_name data_type comment - dt timestamp region int @@ -348,7 +347,6 @@ region int # Partition Information # col_name data_type comment - dt timestamp region int diff --git ql/src/test/results/clientpositive/quotedid_stats.q.out ql/src/test/results/clientpositive/quotedid_stats.q.out index 40e23bf773..418f7f2e5a 100644 --- ql/src/test/results/clientpositive/quotedid_stats.q.out +++ ql/src/test/results/clientpositive/quotedid_stats.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: describe formatted t4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t4 # col_name data_type comment - x+1` string y&y string @@ -56,7 +55,6 @@ POSTHOOK: query: describe formatted t4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t4 # col_name data_type comment - x+1` string y&y string diff --git ql/src/test/results/clientpositive/rcfile_default_format.q.out ql/src/test/results/clientpositive/rcfile_default_format.q.out index 97bc8d2c66..74f5d28621 100644 --- ql/src/test/results/clientpositive/rcfile_default_format.q.out +++ ql/src/test/results/clientpositive/rcfile_default_format.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_default_format POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_default_format # col_name data_type comment - key string # Detailed Table Information @@ -59,7 +58,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_default_format_ctas POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_default_format_ctas # col_name data_type comment - key string value string @@ -111,7 +109,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_default_format_txtfile POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_default_format_txtfile # col_name data_type comment - key string # Detailed Table Information @@ -157,7 +154,6 @@ POSTHOOK: query: DESCRIBE FORMATTED textfile_default_format_ctas POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@textfile_default_format_ctas # col_name data_type comment - key string value string @@ -204,7 +200,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_default_format_ctas_default_serde POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_default_format_ctas_default_serde # col_name data_type comment - key string value string @@ -247,7 +242,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_default_format_default_serde POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_default_format_default_serde # col_name data_type comment - key string # Detailed Table Information @@ -293,7 +287,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_ctas_default_serde POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_ctas_default_serde # col_name data_type comment - key string value string @@ -336,7 +329,6 @@ POSTHOOK: query: DESCRIBE FORMATTED rcfile_default_serde POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@rcfile_default_serde # col_name data_type comment - key string # Detailed Table Information diff --git ql/src/test/results/clientpositive/rename_external_partition_location.q.out ql/src/test/results/clientpositive/rename_external_partition_location.q.out index 9665bce88a..def0aae6e3 100644 --- ql/src/test/results/clientpositive/rename_external_partition_location.q.out +++ ql/src/test/results/clientpositive/rename_external_partition_location.q.out @@ -82,13 +82,11 @@ POSTHOOK: query: DESCRIBE FORMATTED ex_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -124,13 +122,11 @@ POSTHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -162,18 +158,36 @@ PREHOOK: Input: default@ex_table POSTHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part1') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 9 0 6 HL from deserializer +col_name key +data_type int +min 0 +max 9 +num_nulls 0 +distinct_count 6 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part1') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@ex_table POSTHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part1') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 6 5.0 5 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 6 +avg_col_len 5.0 +max_col_len 5 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: ALTER TABLE ex_table PARTITION (part='part1') RENAME TO PARTITION (part='part2') PREHOOK: type: ALTERTABLE_RENAMEPART PREHOOK: Input: default@ex_table @@ -230,13 +244,11 @@ POSTHOOK: query: DESCRIBE FORMATTED ex_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - part string # Detailed Table Information @@ -272,13 +284,11 @@ POSTHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -310,15 +320,33 @@ PREHOOK: Input: default@ex_table POSTHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part2') key POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -key int 0 9 0 6 HL from deserializer +col_name key +data_type int +min 0 +max 9 +num_nulls 0 +distinct_count 6 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part2') value PREHOOK: type: DESCTABLE PREHOOK: Input: default@ex_table POSTHOOK: query: DESCRIBE FORMATTED ex_table PARTITION (part='part2') value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@ex_table -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value string 0 6 5.0 5 HL from deserializer +col_name value +data_type string +min +max +num_nulls 0 +distinct_count 6 +avg_col_len 5.0 +max_col_len 5 +num_trues +num_falses +bitVector HL +comment from deserializer diff --git ql/src/test/results/clientpositive/rename_table_update_column_stats.q.out ql/src/test/results/clientpositive/rename_table_update_column_stats.q.out index d135485991..e29bba4482 100644 --- ql/src/test/results/clientpositive/rename_table_update_column_stats.q.out +++ ql/src/test/results/clientpositive/rename_table_update_column_stats.q.out @@ -57,9 +57,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -67,9 +76,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col3 PREHOOK: type: DESCTABLE @@ -77,9 +95,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: alter table statsdb1.testtable1 rename to statsdb2.testtable2 PREHOOK: type: ALTERTABLE_RENAME @@ -96,9 +123,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col2 PREHOOK: type: DESCTABLE @@ -106,9 +142,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col3 PREHOOK: type: DESCTABLE @@ -116,9 +161,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: use default PREHOOK: type: SWITCHDATABASE @@ -203,9 +257,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col2 PREHOOK: type: DESCTABLE @@ -213,9 +276,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb1.testtable1 col3 PREHOOK: type: DESCTABLE @@ -223,9 +295,18 @@ PREHOOK: Input: statsdb1@testtable1 POSTHOOK: query: describe formatted statsdb1.testtable1 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb1@testtable1 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: alter table statsdb1.testtable1 rename to statsdb2.testtable2 PREHOOK: type: ALTERTABLE_RENAME @@ -242,9 +323,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col1 int 27 484 0 10 HL from deserializer +col_name col1 +data_type int +min 27 +max 484 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col2 PREHOOK: type: DESCTABLE @@ -252,9 +342,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col2 string 0 10 6.7 7 HL from deserializer +col_name col2 +data_type string +min +max +num_nulls 0 +distinct_count 10 +avg_col_len 6.7 +max_col_len 7 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: describe formatted statsdb2.testtable2 col3 PREHOOK: type: DESCTABLE @@ -262,9 +361,18 @@ PREHOOK: Input: statsdb2@testtable2 POSTHOOK: query: describe formatted statsdb2.testtable2 col3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: statsdb2@testtable2 -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -col3 string 0 1 4.0 4 HL from deserializer +col_name col3 +data_type string +min +max +num_nulls 0 +distinct_count 1 +avg_col_len 4.0 +max_col_len 4 +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"col1\":\"true\",\"col2\":\"true\",\"col3\":\"true\"}} PREHOOK: query: use default PREHOOK: type: SWITCHDATABASE diff --git ql/src/test/results/clientpositive/repl_2_exim_basic.q.out ql/src/test/results/clientpositive/repl_2_exim_basic.q.out index 8c8e6beab3..7f5802a176 100644 --- ql/src/test/results/clientpositive/repl_2_exim_basic.q.out +++ ql/src/test/results/clientpositive/repl_2_exim_basic.q.out @@ -141,7 +141,6 @@ emp_state string # Partition Information # col_name data_type comment - emp_country string emp_state string @@ -221,7 +220,6 @@ emp_state string # Partition Information # col_name data_type comment - emp_country string emp_state string @@ -303,7 +301,6 @@ emp_state string # Partition Information # col_name data_type comment - emp_country string emp_state string @@ -383,7 +380,6 @@ emp_state string # Partition Information # col_name data_type comment - emp_country string emp_state string diff --git ql/src/test/results/clientpositive/repl_3_exim_metadata.q.out ql/src/test/results/clientpositive/repl_3_exim_metadata.q.out index b07451de57..96297ff77a 100644 --- ql/src/test/results/clientpositive/repl_3_exim_metadata.q.out +++ ql/src/test/results/clientpositive/repl_3_exim_metadata.q.out @@ -75,7 +75,6 @@ emp_state string # Partition Information # col_name data_type comment - emp_country string emp_state string @@ -155,7 +154,6 @@ emp_state string # Partition Information # col_name data_type comment - emp_country string emp_state string diff --git ql/src/test/results/clientpositive/sample_islocalmode_hook_use_metadata.q.out ql/src/test/results/clientpositive/sample_islocalmode_hook_use_metadata.q.out index 318f380043..24a1f66daf 100644 --- ql/src/test/results/clientpositive/sample_islocalmode_hook_use_metadata.q.out +++ ql/src/test/results/clientpositive/sample_islocalmode_hook_use_metadata.q.out @@ -70,7 +70,6 @@ PREHOOK: query: desc formatted sih_src PREHOOK: type: DESCTABLE PREHOOK: Input: default@sih_src # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/serde_reported_schema.q.out ql/src/test/results/clientpositive/serde_reported_schema.q.out index dab76cbf75..16f30bbe7e 100644 --- ql/src/test/results/clientpositive/serde_reported_schema.q.out +++ ql/src/test/results/clientpositive/serde_reported_schema.q.out @@ -29,7 +29,6 @@ b string # Partition Information # col_name data_type comment - b string #### A masked pattern was here #### @@ -53,7 +52,6 @@ b string # Partition Information # col_name data_type comment - b string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/spark/alter_merge_stats_orc.q.out ql/src/test/results/clientpositive/spark/alter_merge_stats_orc.q.out index 0d5ba01960..2b069ecec7 100644 --- ql/src/test/results/clientpositive/spark/alter_merge_stats_orc.q.out +++ ql/src/test/results/clientpositive/spark/alter_merge_stats_orc.q.out @@ -78,7 +78,6 @@ POSTHOOK: query: desc formatted src_orc_merge_test_stat POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_stat # col_name data_type comment - key int value string @@ -129,7 +128,6 @@ POSTHOOK: query: desc formatted src_orc_merge_test_stat POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_stat # col_name data_type comment - key int value string @@ -226,13 +224,11 @@ POSTHOOK: query: desc formatted src_orc_merge_test_part_stat partition (ds='2011 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_part_stat # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -275,13 +271,11 @@ POSTHOOK: query: desc formatted src_orc_merge_test_part_stat partition (ds='2011 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_part_stat # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -332,13 +326,11 @@ POSTHOOK: query: desc formatted src_orc_merge_test_part_stat partition (ds='2011 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_orc_merge_test_part_stat # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/spark/avro_decimal_native.q.out ql/src/test/results/clientpositive/spark/avro_decimal_native.q.out index eb2a636167..2a00cb32ec 100644 --- ql/src/test/results/clientpositive/spark/avro_decimal_native.q.out +++ ql/src/test/results/clientpositive/spark/avro_decimal_native.q.out @@ -36,9 +36,18 @@ PREHOOK: Input: default@dec POSTHOOK: query: DESC FORMATTED `dec` value POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@dec -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -value decimal(8,4) -12.25 234.79 0 10 from deserializer +col_name value +data_type decimal(8,4) +min -12.25 +max 234.79 +num_nulls 0 +distinct_count 10 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"value\":\"true\"}} PREHOOK: query: DROP TABLE IF EXISTS avro_dec PREHOOK: type: DROPTABLE diff --git ql/src/test/results/clientpositive/spark/bucket5.q.out ql/src/test/results/clientpositive/spark/bucket5.q.out index dd24db8e3e..8aa4e5f6c5 100644 --- ql/src/test/results/clientpositive/spark/bucket5.q.out +++ ql/src/test/results/clientpositive/spark/bucket5.q.out @@ -351,7 +351,6 @@ POSTHOOK: query: DESC FORMATTED bucketed_table POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucketed_table # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/spark/ctas.q.out ql/src/test/results/clientpositive/spark/ctas.q.out index 49699308e2..d958a32fd8 100644 --- ql/src/test/results/clientpositive/spark/ctas.q.out +++ ql/src/test/results/clientpositive/spark/ctas.q.out @@ -133,7 +133,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas1 # col_name data_type comment - k string value string @@ -280,7 +279,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas2 # col_name data_type comment - key string value string @@ -427,7 +425,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas3 # col_name data_type comment - half_key double conb string @@ -491,7 +488,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS3 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas3 # col_name data_type comment - half_key double conb string @@ -639,7 +635,6 @@ POSTHOOK: query: describe formatted nzhang_CTAS4 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_ctas4 # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/spark/infer_bucket_sort_bucketed_table.q.out ql/src/test/results/clientpositive/spark/infer_bucket_sort_bucketed_table.q.out index 1efb81b35f..876c858f5d 100644 --- ql/src/test/results/clientpositive/spark/infer_bucket_sort_bucketed_table.q.out +++ ql/src/test/results/clientpositive/spark/infer_bucket_sort_bucketed_table.q.out @@ -27,13 +27,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_bucketed PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_bucketed # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/spark/infer_bucket_sort_map_operators.q.out ql/src/test/results/clientpositive/spark/infer_bucket_sort_map_operators.q.out index 5151b17955..49eafbe8c2 100644 --- ql/src/test/results/clientpositive/spark/infer_bucket_sort_map_operators.q.out +++ ql/src/test/results/clientpositive/spark/infer_bucket_sort_map_operators.q.out @@ -124,13 +124,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -295,13 +293,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -408,13 +404,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -547,13 +541,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table_out PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table_out # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/spark/infer_bucket_sort_merge.q.out ql/src/test/results/clientpositive/spark/infer_bucket_sort_merge.q.out index 175ddd6a02..3d12692c21 100644 --- ql/src/test/results/clientpositive/spark/infer_bucket_sort_merge.q.out +++ ql/src/test/results/clientpositive/spark/infer_bucket_sort_merge.q.out @@ -25,13 +25,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -76,13 +74,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/spark/infer_bucket_sort_num_buckets.q.out ql/src/test/results/clientpositive/spark/infer_bucket_sort_num_buckets.q.out index 13219ac56d..8da2705738 100644 --- ql/src/test/results/clientpositive/spark/infer_bucket_sort_num_buckets.q.out +++ ql/src/test/results/clientpositive/spark/infer_bucket_sort_num_buckets.q.out @@ -113,13 +113,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string hr string @@ -153,13 +151,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (ds='2008-04-08', hr='1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/infer_bucket_sort_reducers_power_two.q.out ql/src/test/results/clientpositive/spark/infer_bucket_sort_reducers_power_two.q.out index 85f43affa8..279b1cc32d 100644 --- ql/src/test/results/clientpositive/spark/infer_bucket_sort_reducers_power_two.q.out +++ ql/src/test/results/clientpositive/spark/infer_bucket_sort_reducers_power_two.q.out @@ -25,13 +25,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -76,13 +74,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -127,13 +123,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -178,13 +172,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -229,13 +221,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -280,13 +270,11 @@ POSTHOOK: query: DESCRIBE FORMATTED test_table PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_table # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/spark/list_bucket_dml_10.q.out ql/src/test/results/clientpositive/spark/list_bucket_dml_10.q.out index cdd5c661d7..de3af40db1 100644 --- ql/src/test/results/clientpositive/spark/list_bucket_dml_10.q.out +++ ql/src/test/results/clientpositive/spark/list_bucket_dml_10.q.out @@ -182,13 +182,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/list_bucket_dml_2.q.out ql/src/test/results/clientpositive/spark/list_bucket_dml_2.q.out index 08df5d3772..6427f70496 100644 --- ql/src/test/results/clientpositive/spark/list_bucket_dml_2.q.out +++ ql/src/test/results/clientpositive/spark/list_bucket_dml_2.q.out @@ -237,13 +237,11 @@ POSTHOOK: query: desc formatted list_bucketing_static_part partition (ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@list_bucketing_static_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part1.q.out ql/src/test/results/clientpositive/spark/load_dyn_part1.q.out index 5bf7f2884e..99ebfbd390 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part1.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part1.q.out @@ -37,7 +37,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part10.q.out ql/src/test/results/clientpositive/spark/load_dyn_part10.q.out index 5ec6d68ea3..24c76c2816 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part10.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part10.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part11.q.out ql/src/test/results/clientpositive/spark/load_dyn_part11.q.out index 225a6c9e36..6ad41ec6a4 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part11.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part11.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part12.q.out ql/src/test/results/clientpositive/spark/load_dyn_part12.q.out index bb511599e1..01cdfd4cde 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part12.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part12.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part13.q.out ql/src/test/results/clientpositive/spark/load_dyn_part13.q.out index e153b4d23d..4318004451 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part13.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part13.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part14.q.out ql/src/test/results/clientpositive/spark/load_dyn_part14.q.out index ce65e718d9..7a562e42b5 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part14.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part14.q.out @@ -19,7 +19,6 @@ value string # Partition Information # col_name data_type comment - value string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/spark/load_dyn_part2.q.out ql/src/test/results/clientpositive/spark/load_dyn_part2.q.out index d066b3ae11..9bdd77be56 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part2.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part2.q.out @@ -23,7 +23,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part3.q.out ql/src/test/results/clientpositive/spark/load_dyn_part3.q.out index d120963697..0d4b21a1be 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part3.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part3.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part4.q.out ql/src/test/results/clientpositive/spark/load_dyn_part4.q.out index 7ec76b5c77..937b9d08b3 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part4.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part4.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part5.q.out ql/src/test/results/clientpositive/spark/load_dyn_part5.q.out index b132a591d4..16da589595 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part5.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part5.q.out @@ -17,7 +17,6 @@ value string # Partition Information # col_name data_type comment - value string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/spark/load_dyn_part6.q.out ql/src/test/results/clientpositive/spark/load_dyn_part6.q.out index fce8eff2df..993f42f2f1 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part6.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part6.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part7.q.out ql/src/test/results/clientpositive/spark/load_dyn_part7.q.out index 02f932770d..1d4d013ac7 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part7.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part7.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part8.q.out ql/src/test/results/clientpositive/spark/load_dyn_part8.q.out index e19a986952..8322177726 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part8.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part8.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/load_dyn_part9.q.out ql/src/test/results/clientpositive/spark/load_dyn_part9.q.out index 55bcfae4fc..eb242af874 100644 --- ql/src/test/results/clientpositive/spark/load_dyn_part9.q.out +++ ql/src/test/results/clientpositive/spark/load_dyn_part9.q.out @@ -29,7 +29,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/parallel_orderby.q.out ql/src/test/results/clientpositive/spark/parallel_orderby.q.out index 483e42d642..a0a51ef844 100644 --- ql/src/test/results/clientpositive/spark/parallel_orderby.q.out +++ ql/src/test/results/clientpositive/spark/parallel_orderby.q.out @@ -106,7 +106,6 @@ POSTHOOK: query: desc formatted total_ordered POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@total_ordered # col_name data_type comment - key string value string @@ -217,7 +216,6 @@ POSTHOOK: query: desc formatted total_ordered POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@total_ordered # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/spark/spark_explainuser_1.q.out ql/src/test/results/clientpositive/spark/spark_explainuser_1.q.out index b9f2267571..8f629f3b59 100644 --- ql/src/test/results/clientpositive/spark/spark_explainuser_1.q.out +++ ql/src/test/results/clientpositive/spark/spark_explainuser_1.q.out @@ -34,7 +34,6 @@ ts string # Partition Information # col_name data_type comment - ds string ts string diff --git ql/src/test/results/clientpositive/spark/stats0.q.out ql/src/test/results/clientpositive/spark/stats0.q.out index ece5f08fbd..66dfa631fd 100644 --- ql/src/test/results/clientpositive/spark/stats0.q.out +++ ql/src/test/results/clientpositive/spark/stats0.q.out @@ -1280,7 +1280,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -1296,7 +1295,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -2598,7 +2596,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -2614,7 +2611,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/spark/stats1.q.out ql/src/test/results/clientpositive/spark/stats1.q.out index 13690dbbba..cdabdce394 100644 --- ql/src/test/results/clientpositive/spark/stats1.q.out +++ ql/src/test/results/clientpositive/spark/stats1.q.out @@ -159,7 +159,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tmptable POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tmptable # col_name data_type comment - key string value string @@ -202,7 +201,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tmptable POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tmptable # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/spark/stats10.q.out ql/src/test/results/clientpositive/spark/stats10.q.out index 9c682fce76..865a3b8320 100644 --- ql/src/test/results/clientpositive/spark/stats10.q.out +++ ql/src/test/results/clientpositive/spark/stats10.q.out @@ -408,13 +408,11 @@ POSTHOOK: query: describe formatted bucket3_1 partition (ds='1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucket3_1 # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -447,13 +445,11 @@ POSTHOOK: query: describe formatted bucket3_1 partition (ds='2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucket3_1 # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -486,13 +482,11 @@ POSTHOOK: query: describe formatted bucket3_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucket3_1 # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/spark/stats12.q.out ql/src/test/results/clientpositive/spark/stats12.q.out index 460cf1d537..9c96819ced 100644 --- ql/src/test/results/clientpositive/spark/stats12.q.out +++ ql/src/test/results/clientpositive/spark/stats12.q.out @@ -179,13 +179,11 @@ POSTHOOK: query: desc formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -220,13 +218,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -260,13 +256,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -300,13 +294,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -337,13 +329,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats13.q.out ql/src/test/results/clientpositive/spark/stats13.q.out index 859bb6ba99..9e4302bc81 100644 --- ql/src/test/results/clientpositive/spark/stats13.q.out +++ ql/src/test/results/clientpositive/spark/stats13.q.out @@ -129,13 +129,11 @@ POSTHOOK: query: desc formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -170,13 +168,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -210,13 +206,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -247,13 +241,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -284,13 +276,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -329,13 +319,11 @@ POSTHOOK: query: desc formatted analyze_srcpart2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart2 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats14.q.out ql/src/test/results/clientpositive/spark/stats14.q.out index 85017462c3..eb8a995e29 100644 --- ql/src/test/results/clientpositive/spark/stats14.q.out +++ ql/src/test/results/clientpositive/spark/stats14.q.out @@ -31,7 +31,6 @@ POSTHOOK: query: desc formatted stats_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_src # col_name data_type comment - key string default value string default @@ -128,13 +127,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -170,13 +167,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '11' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -210,13 +205,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -270,13 +263,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats15.q.out ql/src/test/results/clientpositive/spark/stats15.q.out index 85017462c3..eb8a995e29 100644 --- ql/src/test/results/clientpositive/spark/stats15.q.out +++ ql/src/test/results/clientpositive/spark/stats15.q.out @@ -31,7 +31,6 @@ POSTHOOK: query: desc formatted stats_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_src # col_name data_type comment - key string default value string default @@ -128,13 +127,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -170,13 +167,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '11' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -210,13 +205,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -270,13 +263,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats16.q.out ql/src/test/results/clientpositive/spark/stats16.q.out index 3b371a806d..659d581548 100644 --- ql/src/test/results/clientpositive/spark/stats16.q.out +++ ql/src/test/results/clientpositive/spark/stats16.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: desc formatted stats16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats16 # col_name data_type comment - key int value string @@ -65,7 +64,6 @@ POSTHOOK: query: desc formatted stats16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats16 # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/spark/stats18.q.out ql/src/test/results/clientpositive/spark/stats18.q.out index 4945808098..dd54c0dbc3 100644 --- ql/src/test/results/clientpositive/spark/stats18.q.out +++ ql/src/test/results/clientpositive/spark/stats18.q.out @@ -23,13 +23,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -71,13 +69,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats2.q.out ql/src/test/results/clientpositive/spark/stats2.q.out index 0272b097e5..74e867890f 100644 --- ql/src/test/results/clientpositive/spark/stats2.q.out +++ ql/src/test/results/clientpositive/spark/stats2.q.out @@ -86,13 +86,11 @@ POSTHOOK: query: desc formatted analyze_t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_t1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -173,13 +171,11 @@ POSTHOOK: query: describe formatted analyze_t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_t1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats3.q.out ql/src/test/results/clientpositive/spark/stats3.q.out index 2f76d0e21d..7d4ed9b60b 100644 --- ql/src/test/results/clientpositive/spark/stats3.q.out +++ ql/src/test/results/clientpositive/spark/stats3.q.out @@ -71,7 +71,6 @@ POSTHOOK: query: desc formatted hive_test_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@hive_test_src # col_name data_type comment - col1 string # Detailed Table Information @@ -204,12 +203,10 @@ POSTHOOK: query: describe formatted hive_test_dst POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@hive_test_dst # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string diff --git ql/src/test/results/clientpositive/spark/stats5.q.out ql/src/test/results/clientpositive/spark/stats5.q.out index 95293c0071..6684abe853 100644 --- ql/src/test/results/clientpositive/spark/stats5.q.out +++ ql/src/test/results/clientpositive/spark/stats5.q.out @@ -47,7 +47,6 @@ POSTHOOK: query: describe formatted analyze_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_src # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/spark/stats6.q.out ql/src/test/results/clientpositive/spark/stats6.q.out index 81a80cb46d..704bff8a63 100644 --- ql/src/test/results/clientpositive/spark/stats6.q.out +++ ql/src/test/results/clientpositive/spark/stats6.q.out @@ -64,13 +64,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -104,13 +102,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -144,13 +140,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -181,13 +175,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -218,13 +210,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats7.q.out ql/src/test/results/clientpositive/spark/stats7.q.out index 3605f38a1f..9c5a71c414 100644 --- ql/src/test/results/clientpositive/spark/stats7.q.out +++ ql/src/test/results/clientpositive/spark/stats7.q.out @@ -78,13 +78,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -118,13 +116,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -158,13 +154,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats8.q.out ql/src/test/results/clientpositive/spark/stats8.q.out index 4bcbcfde68..b83adbd0de 100644 --- ql/src/test/results/clientpositive/spark/stats8.q.out +++ ql/src/test/results/clientpositive/spark/stats8.q.out @@ -74,13 +74,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -114,13 +112,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -189,13 +185,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -263,13 +257,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -337,13 +329,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -423,13 +413,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -463,13 +451,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -503,13 +489,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -543,13 +527,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -583,13 +565,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats9.q.out ql/src/test/results/clientpositive/spark/stats9.q.out index beb025c635..c2ca23fab8 100644 --- ql/src/test/results/clientpositive/spark/stats9.q.out +++ ql/src/test/results/clientpositive/spark/stats9.q.out @@ -53,7 +53,6 @@ POSTHOOK: query: describe formatted analyze_srcbucket POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcbucket # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/spark/stats_noscan_1.q.out ql/src/test/results/clientpositive/spark/stats_noscan_1.q.out index ad2ca94baa..6d3f413956 100644 --- ql/src/test/results/clientpositive/spark/stats_noscan_1.q.out +++ ql/src/test/results/clientpositive/spark/stats_noscan_1.q.out @@ -77,13 +77,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -115,13 +113,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -153,13 +149,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -190,13 +184,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -227,13 +219,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -340,13 +330,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -378,13 +366,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -416,13 +402,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -453,13 +437,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/stats_noscan_2.q.out ql/src/test/results/clientpositive/spark/stats_noscan_2.q.out index 1e9603e579..14e131c6df 100644 --- ql/src/test/results/clientpositive/spark/stats_noscan_2.q.out +++ ql/src/test/results/clientpositive/spark/stats_noscan_2.q.out @@ -37,7 +37,6 @@ POSTHOOK: query: describe formatted anaylyze_external POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - a int # Detailed Table Information @@ -78,7 +77,6 @@ POSTHOOK: query: describe formatted anaylyze_external POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - a int # Detailed Table Information @@ -199,13 +197,11 @@ POSTHOOK: query: describe formatted anaylyze_external PARTITION (insertdate='200 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - key string val string # Partition Information # col_name data_type comment - insertdate string # Detailed Partition Information @@ -248,13 +244,11 @@ POSTHOOK: query: describe formatted anaylyze_external PARTITION (insertdate='200 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - key string val string # Partition Information # col_name data_type comment - insertdate string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/spark/stats_only_null.q.out ql/src/test/results/clientpositive/spark/stats_only_null.q.out index c73d97e1e9..be906f6403 100644 --- ql/src/test/results/clientpositive/spark/stats_only_null.q.out +++ ql/src/test/results/clientpositive/spark/stats_only_null.q.out @@ -213,7 +213,6 @@ POSTHOOK: query: describe formatted stats_null_part partition (dt='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part # col_name data_type comment - a double b int c string @@ -221,7 +220,6 @@ d smallint # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -254,7 +252,6 @@ POSTHOOK: query: describe formatted stats_null_part partition (dt='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part # col_name data_type comment - a double b int c string @@ -262,7 +259,6 @@ d smallint # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -389,9 +385,18 @@ PREHOOK: Input: default@stats_null_part POSTHOOK: query: describe formatted stats_null_part partition(dt = 1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a double 1.0 1.0 1 1 from deserializer +col_name a +data_type double +min 1.0 +max 1.0 +num_nulls 1 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: drop table stats_null PREHOOK: type: DROPTABLE PREHOOK: Input: default@stats_null diff --git ql/src/test/results/clientpositive/spark/stats_partscan_1_23.q.out ql/src/test/results/clientpositive/spark/stats_partscan_1_23.q.out index 50096a5a8d..fdf111e20d 100644 --- ql/src/test/results/clientpositive/spark/stats_partscan_1_23.q.out +++ ql/src/test/results/clientpositive/spark/stats_partscan_1_23.q.out @@ -44,13 +44,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -110,13 +108,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -147,13 +143,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/statsfs.q.out ql/src/test/results/clientpositive/spark/statsfs.q.out index d070e9aa6f..fef2040335 100644 --- ql/src/test/results/clientpositive/spark/statsfs.q.out +++ ql/src/test/results/clientpositive/spark/statsfs.q.out @@ -47,13 +47,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -86,13 +84,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -161,13 +157,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -200,13 +194,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -271,7 +263,6 @@ POSTHOOK: query: describe formatted t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string @@ -332,7 +323,6 @@ POSTHOOK: query: describe formatted t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string @@ -410,13 +400,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2008-04-08',hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -450,13 +438,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2008-04-09',hr='12') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/union_remove_1.q.out ql/src/test/results/clientpositive/spark/union_remove_1.q.out index 1cc130328a..858cac698f 100644 --- ql/src/test/results/clientpositive/spark/union_remove_1.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_1.q.out @@ -145,7 +145,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_10.q.out ql/src/test/results/clientpositive/spark/union_remove_10.q.out index 18438d2076..6bac57bf9c 100644 --- ql/src/test/results/clientpositive/spark/union_remove_10.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_10.q.out @@ -220,7 +220,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_11.q.out ql/src/test/results/clientpositive/spark/union_remove_11.q.out index 8aeb9025a6..992ddd777e 100644 --- ql/src/test/results/clientpositive/spark/union_remove_11.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_11.q.out @@ -210,7 +210,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_12.q.out ql/src/test/results/clientpositive/spark/union_remove_12.q.out index 020497fe8f..fc3eb6daf6 100644 --- ql/src/test/results/clientpositive/spark/union_remove_12.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_12.q.out @@ -212,7 +212,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_13.q.out ql/src/test/results/clientpositive/spark/union_remove_13.q.out index e83f9271a1..4ed630b618 100644 --- ql/src/test/results/clientpositive/spark/union_remove_13.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_13.q.out @@ -234,7 +234,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_14.q.out ql/src/test/results/clientpositive/spark/union_remove_14.q.out index 020497fe8f..fc3eb6daf6 100644 --- ql/src/test/results/clientpositive/spark/union_remove_14.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_14.q.out @@ -212,7 +212,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_15.q.out ql/src/test/results/clientpositive/spark/union_remove_15.q.out index 320d869bf0..8a25ceba73 100644 --- ql/src/test/results/clientpositive/spark/union_remove_15.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_15.q.out @@ -158,13 +158,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/spark/union_remove_16.q.out ql/src/test/results/clientpositive/spark/union_remove_16.q.out index 04b668b9cd..8594301cbc 100644 --- ql/src/test/results/clientpositive/spark/union_remove_16.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_16.q.out @@ -200,13 +200,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/spark/union_remove_17.q.out ql/src/test/results/clientpositive/spark/union_remove_17.q.out index f4eed3c893..cef4255535 100644 --- ql/src/test/results/clientpositive/spark/union_remove_17.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_17.q.out @@ -136,13 +136,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/spark/union_remove_18.q.out ql/src/test/results/clientpositive/spark/union_remove_18.q.out index 62c359833e..51f2f163aa 100644 --- ql/src/test/results/clientpositive/spark/union_remove_18.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_18.q.out @@ -170,13 +170,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/spark/union_remove_19.q.out ql/src/test/results/clientpositive/spark/union_remove_19.q.out index 0ec066e77b..4e3dc8ebe6 100644 --- ql/src/test/results/clientpositive/spark/union_remove_19.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_19.q.out @@ -145,7 +145,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_2.q.out ql/src/test/results/clientpositive/spark/union_remove_2.q.out index 928f26673d..d440f452d9 100644 --- ql/src/test/results/clientpositive/spark/union_remove_2.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_2.q.out @@ -170,7 +170,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_20.q.out ql/src/test/results/clientpositive/spark/union_remove_20.q.out index 1bc3d57dfd..4e2d472aca 100644 --- ql/src/test/results/clientpositive/spark/union_remove_20.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_20.q.out @@ -153,7 +153,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - values bigint key string diff --git ql/src/test/results/clientpositive/spark/union_remove_21.q.out ql/src/test/results/clientpositive/spark/union_remove_21.q.out index d9fcf541a8..9eb29786bf 100644 --- ql/src/test/results/clientpositive/spark/union_remove_21.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_21.q.out @@ -140,7 +140,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string # Detailed Table Information diff --git ql/src/test/results/clientpositive/spark/union_remove_22.q.out ql/src/test/results/clientpositive/spark/union_remove_22.q.out index 2f9941d726..072d5c9c04 100644 --- ql/src/test/results/clientpositive/spark/union_remove_22.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_22.q.out @@ -154,7 +154,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint values2 bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_23.q.out ql/src/test/results/clientpositive/spark/union_remove_23.q.out index dcc863522e..89938f0707 100644 --- ql/src/test/results/clientpositive/spark/union_remove_23.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_23.q.out @@ -206,7 +206,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_24.q.out ql/src/test/results/clientpositive/spark/union_remove_24.q.out index 8f7187b2d4..8ba574a4ec 100644 --- ql/src/test/results/clientpositive/spark/union_remove_24.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_24.q.out @@ -153,7 +153,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key double values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_25.q.out ql/src/test/results/clientpositive/spark/union_remove_25.q.out index 1949a90c95..f681428785 100644 --- ql/src/test/results/clientpositive/spark/union_remove_25.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_25.q.out @@ -163,13 +163,11 @@ POSTHOOK: query: desc formatted outputTbl1 partition(ds='2004') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -354,13 +352,11 @@ POSTHOOK: query: desc formatted outputTbl2 partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl2 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -528,13 +524,11 @@ POSTHOOK: query: desc formatted outputTbl3 partition(ds='2008-04-08', hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl3 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/spark/union_remove_3.q.out ql/src/test/results/clientpositive/spark/union_remove_3.q.out index 7531472995..4ce449b9f4 100644 --- ql/src/test/results/clientpositive/spark/union_remove_3.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_3.q.out @@ -160,7 +160,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_4.q.out ql/src/test/results/clientpositive/spark/union_remove_4.q.out index b31ae64d96..405356bc57 100644 --- ql/src/test/results/clientpositive/spark/union_remove_4.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_4.q.out @@ -195,7 +195,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_5.q.out ql/src/test/results/clientpositive/spark/union_remove_5.q.out index 1380180872..36046a5b2d 100644 --- ql/src/test/results/clientpositive/spark/union_remove_5.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_5.q.out @@ -220,7 +220,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_7.q.out ql/src/test/results/clientpositive/spark/union_remove_7.q.out index 0fabbac807..5ccadb2e33 100644 --- ql/src/test/results/clientpositive/spark/union_remove_7.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_7.q.out @@ -145,7 +145,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_8.q.out ql/src/test/results/clientpositive/spark/union_remove_8.q.out index c96f59178c..31680e9cbb 100644 --- ql/src/test/results/clientpositive/spark/union_remove_8.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_8.q.out @@ -170,7 +170,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/spark/union_remove_9.q.out ql/src/test/results/clientpositive/spark/union_remove_9.q.out index 550b2ad2f3..43b77c8b1b 100644 --- ql/src/test/results/clientpositive/spark/union_remove_9.q.out +++ ql/src/test/results/clientpositive/spark/union_remove_9.q.out @@ -228,7 +228,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/stats0.q.out ql/src/test/results/clientpositive/stats0.q.out index 0476acbed1..c7e8da9061 100644 --- ql/src/test/results/clientpositive/stats0.q.out +++ ql/src/test/results/clientpositive/stats0.q.out @@ -1274,7 +1274,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -1290,7 +1289,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -2824,7 +2822,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### @@ -2840,7 +2837,6 @@ ds string # Partition Information # col_name data_type comment - ds string #### A masked pattern was here #### diff --git ql/src/test/results/clientpositive/stats1.q.out ql/src/test/results/clientpositive/stats1.q.out index 5c6049b2b9..075e16bb16 100644 --- ql/src/test/results/clientpositive/stats1.q.out +++ ql/src/test/results/clientpositive/stats1.q.out @@ -167,7 +167,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tmptable POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tmptable # col_name data_type comment - key string value string @@ -210,7 +209,6 @@ POSTHOOK: query: DESCRIBE FORMATTED tmptable POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tmptable # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/stats10.q.out ql/src/test/results/clientpositive/stats10.q.out index d1fe47393b..fa6142fe7d 100644 --- ql/src/test/results/clientpositive/stats10.q.out +++ ql/src/test/results/clientpositive/stats10.q.out @@ -399,13 +399,11 @@ POSTHOOK: query: describe formatted bucket3_1 partition (ds='1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucket3_1 # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -438,13 +436,11 @@ POSTHOOK: query: describe formatted bucket3_1 partition (ds='2') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucket3_1 # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -477,13 +473,11 @@ POSTHOOK: query: describe formatted bucket3_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@bucket3_1 # col_name data_type comment - key int value string # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/stats12.q.out ql/src/test/results/clientpositive/stats12.q.out index cebdf67d5c..3b91cc9c54 100644 --- ql/src/test/results/clientpositive/stats12.q.out +++ ql/src/test/results/clientpositive/stats12.q.out @@ -176,13 +176,11 @@ POSTHOOK: query: desc formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -217,13 +215,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -257,13 +253,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -297,13 +291,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -334,13 +326,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats13.q.out ql/src/test/results/clientpositive/stats13.q.out index 227dfb5478..903e256e1c 100644 --- ql/src/test/results/clientpositive/stats13.q.out +++ ql/src/test/results/clientpositive/stats13.q.out @@ -126,13 +126,11 @@ POSTHOOK: query: desc formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -167,13 +165,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -207,13 +203,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-08', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -244,13 +238,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -281,13 +273,11 @@ POSTHOOK: query: desc formatted analyze_srcpart partition (ds='2008-04-09', hr=1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -326,13 +316,11 @@ POSTHOOK: query: desc formatted analyze_srcpart2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart2 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats14.q.out ql/src/test/results/clientpositive/stats14.q.out index 85017462c3..eb8a995e29 100644 --- ql/src/test/results/clientpositive/stats14.q.out +++ ql/src/test/results/clientpositive/stats14.q.out @@ -31,7 +31,6 @@ POSTHOOK: query: desc formatted stats_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_src # col_name data_type comment - key string default value string default @@ -128,13 +127,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -170,13 +167,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '11' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -210,13 +205,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -270,13 +263,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats15.q.out ql/src/test/results/clientpositive/stats15.q.out index 85017462c3..eb8a995e29 100644 --- ql/src/test/results/clientpositive/stats15.q.out +++ ql/src/test/results/clientpositive/stats15.q.out @@ -31,7 +31,6 @@ POSTHOOK: query: desc formatted stats_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_src # col_name data_type comment - key string default value string default @@ -128,13 +127,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -170,13 +167,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '11' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -210,13 +205,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr = '12' POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -270,13 +263,11 @@ POSTHOOK: query: desc formatted stats_part POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats16.q.out ql/src/test/results/clientpositive/stats16.q.out index 3b371a806d..659d581548 100644 --- ql/src/test/results/clientpositive/stats16.q.out +++ ql/src/test/results/clientpositive/stats16.q.out @@ -17,7 +17,6 @@ POSTHOOK: query: desc formatted stats16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats16 # col_name data_type comment - key int value string @@ -65,7 +64,6 @@ POSTHOOK: query: desc formatted stats16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats16 # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/stats18.q.out ql/src/test/results/clientpositive/stats18.q.out index 4945808098..dd54c0dbc3 100644 --- ql/src/test/results/clientpositive/stats18.q.out +++ ql/src/test/results/clientpositive/stats18.q.out @@ -23,13 +23,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -71,13 +69,11 @@ POSTHOOK: query: desc formatted stats_part partition (ds='2010-04-08', hr='13') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_part # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats2.q.out ql/src/test/results/clientpositive/stats2.q.out index 29a659f83c..991b13715a 100644 --- ql/src/test/results/clientpositive/stats2.q.out +++ ql/src/test/results/clientpositive/stats2.q.out @@ -83,13 +83,11 @@ POSTHOOK: query: desc formatted analyze_t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_t1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -167,13 +165,11 @@ POSTHOOK: query: describe formatted analyze_t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_t1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats3.q.out ql/src/test/results/clientpositive/stats3.q.out index 2f76d0e21d..7d4ed9b60b 100644 --- ql/src/test/results/clientpositive/stats3.q.out +++ ql/src/test/results/clientpositive/stats3.q.out @@ -71,7 +71,6 @@ POSTHOOK: query: desc formatted hive_test_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@hive_test_src # col_name data_type comment - col1 string # Detailed Table Information @@ -204,12 +203,10 @@ POSTHOOK: query: describe formatted hive_test_dst POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@hive_test_dst # col_name data_type comment - col1 string # Partition Information # col_name data_type comment - pcol1 string pcol2 string diff --git ql/src/test/results/clientpositive/stats4.q.out ql/src/test/results/clientpositive/stats4.q.out index 8f503a90b8..c0c3c12e35 100644 --- ql/src/test/results/clientpositive/stats4.q.out +++ ql/src/test/results/clientpositive/stats4.q.out @@ -2289,13 +2289,11 @@ POSTHOOK: query: describe formatted nzhang_part1 partition(ds='2008-04-08',hr=11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -2329,13 +2327,11 @@ POSTHOOK: query: describe formatted nzhang_part1 partition(ds='2008-04-08',hr=12 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -2369,13 +2365,11 @@ POSTHOOK: query: describe formatted nzhang_part2 partition(ds='2008-12-31',hr=11 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part2 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -2409,13 +2403,11 @@ POSTHOOK: query: describe formatted nzhang_part2 partition(ds='2008-12-31',hr=12 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part2 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -2449,13 +2441,11 @@ POSTHOOK: query: describe formatted nzhang_part1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part1 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -2491,13 +2481,11 @@ POSTHOOK: query: describe formatted nzhang_part2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@nzhang_part2 # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats5.q.out ql/src/test/results/clientpositive/stats5.q.out index 74ddadba04..b71c7c1834 100644 --- ql/src/test/results/clientpositive/stats5.q.out +++ ql/src/test/results/clientpositive/stats5.q.out @@ -44,7 +44,6 @@ POSTHOOK: query: describe formatted analyze_src POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_src # col_name data_type comment - key string value string diff --git ql/src/test/results/clientpositive/stats6.q.out ql/src/test/results/clientpositive/stats6.q.out index 81a80cb46d..704bff8a63 100644 --- ql/src/test/results/clientpositive/stats6.q.out +++ ql/src/test/results/clientpositive/stats6.q.out @@ -64,13 +64,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -104,13 +102,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -144,13 +140,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -181,13 +175,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -218,13 +210,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats7.q.out ql/src/test/results/clientpositive/stats7.q.out index 4d30413b7f..5db261950c 100644 --- ql/src/test/results/clientpositive/stats7.q.out +++ ql/src/test/results/clientpositive/stats7.q.out @@ -75,13 +75,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -115,13 +113,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -155,13 +151,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats8.q.out ql/src/test/results/clientpositive/stats8.q.out index ea5f1d0a5c..3a617d4b7d 100644 --- ql/src/test/results/clientpositive/stats8.q.out +++ ql/src/test/results/clientpositive/stats8.q.out @@ -71,13 +71,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -111,13 +109,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -183,13 +179,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -254,13 +248,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -325,13 +317,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -408,13 +398,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -448,13 +436,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -488,13 +474,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -528,13 +512,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -568,13 +550,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats9.q.out ql/src/test/results/clientpositive/stats9.q.out index a073b8bfcb..7556c0521c 100644 --- ql/src/test/results/clientpositive/stats9.q.out +++ ql/src/test/results/clientpositive/stats9.q.out @@ -50,7 +50,6 @@ POSTHOOK: query: describe formatted analyze_srcbucket POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcbucket # col_name data_type comment - key int value string diff --git ql/src/test/results/clientpositive/stats_empty_partition.q.out ql/src/test/results/clientpositive/stats_empty_partition.q.out index 289d17a637..b1ddac310c 100644 --- ql/src/test/results/clientpositive/stats_empty_partition.q.out +++ ql/src/test/results/clientpositive/stats_empty_partition.q.out @@ -23,13 +23,11 @@ POSTHOOK: query: describe formatted tmptable partition (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tmptable # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/stats_invalidation.q.out ql/src/test/results/clientpositive/stats_invalidation.q.out index a0e76631a3..77d39d4b5a 100644 --- ql/src/test/results/clientpositive/stats_invalidation.q.out +++ ql/src/test/results/clientpositive/stats_invalidation.q.out @@ -33,7 +33,6 @@ POSTHOOK: query: desc formatted stats_invalid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_invalid # col_name data_type comment - key string value string @@ -76,7 +75,6 @@ POSTHOOK: query: desc formatted stats_invalid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_invalid # col_name data_type comment - key string value string new_col string diff --git ql/src/test/results/clientpositive/stats_list_bucket.q.out ql/src/test/results/clientpositive/stats_list_bucket.q.out index 0c43b1bb89..f6eb7993ea 100644 --- ql/src/test/results/clientpositive/stats_list_bucket.q.out +++ ql/src/test/results/clientpositive/stats_list_bucket.q.out @@ -45,13 +45,11 @@ POSTHOOK: query: desc formatted stats_list_bucket partition (ds = '2008-04-08', POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_list_bucket # col_name data_type comment - c1 string c2 string # Partition Information # col_name data_type comment - ds string hr string @@ -122,7 +120,6 @@ POSTHOOK: query: desc formatted stats_list_bucket_1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_list_bucket_1 # col_name data_type comment - c1 string c2 string diff --git ql/src/test/results/clientpositive/stats_noscan_1.q.out ql/src/test/results/clientpositive/stats_noscan_1.q.out index ad2ca94baa..6d3f413956 100644 --- ql/src/test/results/clientpositive/stats_noscan_1.q.out +++ ql/src/test/results/clientpositive/stats_noscan_1.q.out @@ -77,13 +77,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -115,13 +113,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-08',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -153,13 +149,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -190,13 +184,11 @@ POSTHOOK: query: describe formatted analyze_srcpart PARTITION(ds='2008-04-09',hr POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -227,13 +219,11 @@ POSTHOOK: query: describe formatted analyze_srcpart POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -340,13 +330,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -378,13 +366,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -416,13 +402,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string @@ -453,13 +437,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial PARTITION(ds='2008-0 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial # col_name data_type comment - key string default value string default # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/stats_noscan_2.q.out ql/src/test/results/clientpositive/stats_noscan_2.q.out index 1e9603e579..14e131c6df 100644 --- ql/src/test/results/clientpositive/stats_noscan_2.q.out +++ ql/src/test/results/clientpositive/stats_noscan_2.q.out @@ -37,7 +37,6 @@ POSTHOOK: query: describe formatted anaylyze_external POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - a int # Detailed Table Information @@ -78,7 +77,6 @@ POSTHOOK: query: describe formatted anaylyze_external POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - a int # Detailed Table Information @@ -199,13 +197,11 @@ POSTHOOK: query: describe formatted anaylyze_external PARTITION (insertdate='200 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - key string val string # Partition Information # col_name data_type comment - insertdate string # Detailed Partition Information @@ -248,13 +244,11 @@ POSTHOOK: query: describe formatted anaylyze_external PARTITION (insertdate='200 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@anaylyze_external # col_name data_type comment - key string val string # Partition Information # col_name data_type comment - insertdate string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/stats_only_null.q.out ql/src/test/results/clientpositive/stats_only_null.q.out index e7068d3396..bcbc3f47b5 100644 --- ql/src/test/results/clientpositive/stats_only_null.q.out +++ ql/src/test/results/clientpositive/stats_only_null.q.out @@ -201,7 +201,6 @@ POSTHOOK: query: describe formatted stats_null_part partition (dt='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part # col_name data_type comment - a double b int c string @@ -209,7 +208,6 @@ d smallint # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -242,7 +240,6 @@ POSTHOOK: query: describe formatted stats_null_part partition (dt='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part # col_name data_type comment - a double b int c string @@ -250,7 +247,6 @@ d smallint # Partition Information # col_name data_type comment - dt string # Detailed Partition Information @@ -377,9 +373,18 @@ PREHOOK: Input: default@stats_null_part POSTHOOK: query: describe formatted stats_null_part partition(dt = 1) a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@stats_null_part -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a double 1.0 1.0 1 1 HL from deserializer +col_name a +data_type double +min 1.0 +max 1.0 +num_nulls 1 +distinct_count 1 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: drop table stats_null PREHOOK: type: DROPTABLE PREHOOK: Input: default@stats_null diff --git ql/src/test/results/clientpositive/stats_partscan_1_23.q.out ql/src/test/results/clientpositive/stats_partscan_1_23.q.out index cf9867d5b7..bc2fec59e3 100644 --- ql/src/test/results/clientpositive/stats_partscan_1_23.q.out +++ ql/src/test/results/clientpositive/stats_partscan_1_23.q.out @@ -44,13 +44,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -110,13 +108,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -150,13 +146,11 @@ POSTHOOK: query: describe formatted analyze_srcpart_partial_scan PARTITION(ds='2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@analyze_srcpart_partial_scan # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/statsfs.q.out ql/src/test/results/clientpositive/statsfs.q.out index d070e9aa6f..fef2040335 100644 --- ql/src/test/results/clientpositive/statsfs.q.out +++ ql/src/test/results/clientpositive/statsfs.q.out @@ -47,13 +47,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -86,13 +84,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -161,13 +157,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2010') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -200,13 +194,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2011') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -271,7 +263,6 @@ POSTHOOK: query: describe formatted t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string @@ -332,7 +323,6 @@ POSTHOOK: query: describe formatted t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string @@ -410,13 +400,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2008-04-08',hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string @@ -450,13 +438,11 @@ POSTHOOK: query: describe formatted t1 partition (ds='2008-04-09',hr='12') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/temp_table_display_colstats_tbllvl.q.out ql/src/test/results/clientpositive/temp_table_display_colstats_tbllvl.q.out index 1abe95d31e..1fb4842f38 100644 --- ql/src/test/results/clientpositive/temp_table_display_colstats_tbllvl.q.out +++ ql/src/test/results/clientpositive/temp_table_display_colstats_tbllvl.q.out @@ -55,9 +55,18 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string from deserializer +col_name sourceIP +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: explain analyze table UserVisits_web_text_none compute statistics for columns sourceIP, avgTimeOnSite, adRevenue PREHOOK: type: QUERY @@ -242,27 +251,54 @@ PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string 0 55 12.763636363636364 13 HL from deserializer +col_name sourceIP +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 12.763636363636364 +max_col_len 13 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: desc formatted UserVisits_web_text_none avgTimeOnSite PREHOOK: type: DESCTABLE PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none avgTimeOnSite POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -avgTimeOnSite int 1 9 0 9 HL from deserializer +col_name avgTimeOnSite +data_type int +min 1 +max 9 +num_nulls 0 +distinct_count 9 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: desc formatted UserVisits_web_text_none adRevenue PREHOOK: type: DESCTABLE PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none adRevenue POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -adRevenue float 13.099044799804688 492.98870849609375 0 55 HL from deserializer +col_name adRevenue +data_type float +min 13.099044799804688 +max 492.98870849609375 +num_nulls 0 +distinct_count 55 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: CREATE TEMPORARY TABLE empty_tab( a int, b double, @@ -289,9 +325,18 @@ PREHOOK: Input: default@empty_tab POSTHOOK: query: desc formatted empty_tab a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@empty_tab -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a int from deserializer +col_name a +data_type int +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"e\":\"true\"}} PREHOOK: query: explain analyze table empty_tab compute statistics for columns a,b,c,d,e @@ -358,9 +403,18 @@ PREHOOK: Input: default@empty_tab POSTHOOK: query: desc formatted empty_tab a POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@empty_tab -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -a int 0 0 0 0 from deserializer +col_name a +data_type int +min 0 +max 0 +num_nulls 0 +distinct_count 0 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"e\":\"true\"}} PREHOOK: query: desc formatted empty_tab b PREHOOK: type: DESCTABLE @@ -368,9 +422,18 @@ PREHOOK: Input: default@empty_tab POSTHOOK: query: desc formatted empty_tab b POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@empty_tab -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -b double 0.0 0.0 0 0 from deserializer +col_name b +data_type double +min 0.0 +max 0.0 +num_nulls 0 +distinct_count 0 +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer COLUMN_STATS_ACCURATE {\"BASIC_STATS\":\"true\",\"COLUMN_STATS\":{\"a\":\"true\",\"b\":\"true\",\"c\":\"true\",\"d\":\"true\",\"e\":\"true\"}} PREHOOK: query: CREATE DATABASE test PREHOOK: type: CREATEDATABASE @@ -447,27 +510,54 @@ PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string from deserializer +col_name sourceIP +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: desc formatted test.UserVisits_web_text_none sourceIP PREHOOK: type: DESCTABLE PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted test.UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string from deserializer +col_name sourceIP +data_type string +min +max +num_nulls +distinct_count +avg_col_len +max_col_len +num_trues +num_falses +bitVector +comment from deserializer PREHOOK: query: desc formatted default.UserVisits_web_text_none sourceIP PREHOOK: type: DESCTABLE PREHOOK: Input: default@uservisits_web_text_none POSTHOOK: query: desc formatted default.UserVisits_web_text_none sourceIP POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sourceIP string 0 55 12.763636363636364 13 HL from deserializer +col_name sourceIP +data_type string +min +max +num_nulls 0 +distinct_count 55 +avg_col_len 12.763636363636364 +max_col_len 13 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: analyze table UserVisits_web_text_none compute statistics for columns sKeyword PREHOOK: type: QUERY PREHOOK: Input: test@uservisits_web_text_none @@ -489,15 +579,33 @@ PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted UserVisits_web_text_none sKeyword POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sKeyword string 0 54 7.872727272727273 19 HL from deserializer +col_name sKeyword +data_type string +min +max +num_nulls 0 +distinct_count 54 +avg_col_len 7.872727272727273 +max_col_len 19 +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: desc formatted test.UserVisits_web_text_none sKeyword PREHOOK: type: DESCTABLE PREHOOK: Input: test@uservisits_web_text_none POSTHOOK: query: desc formatted test.UserVisits_web_text_none sKeyword POSTHOOK: type: DESCTABLE POSTHOOK: Input: test@uservisits_web_text_none -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -sKeyword string 0 54 7.872727272727273 19 HL from deserializer +col_name sKeyword +data_type string +min +max +num_nulls 0 +distinct_count 54 +avg_col_len 7.872727272727273 +max_col_len 19 +num_trues +num_falses +bitVector HL +comment from deserializer diff --git ql/src/test/results/clientpositive/tez/explainanalyze_5.q.out ql/src/test/results/clientpositive/tez/explainanalyze_5.q.out index ce943160d7..c38bc5c794 100644 --- ql/src/test/results/clientpositive/tez/explainanalyze_5.q.out +++ ql/src/test/results/clientpositive/tez/explainanalyze_5.q.out @@ -192,7 +192,6 @@ POSTHOOK: query: describe formatted src_multi2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@src_multi2 # col_name data_type comment - key string default value string default diff --git ql/src/test/results/clientpositive/truncate_column.q.out ql/src/test/results/clientpositive/truncate_column.q.out index cc3bc89cfe..3a3ea8c9a4 100644 --- ql/src/test/results/clientpositive/truncate_column.q.out +++ ql/src/test/results/clientpositive/truncate_column.q.out @@ -25,7 +25,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -86,7 +85,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -156,7 +154,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -216,7 +213,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -286,7 +282,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -348,7 +343,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -409,7 +403,6 @@ POSTHOOK: query: DESC FORMATTED test_tab POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab # col_name data_type comment - key string value string @@ -480,13 +473,11 @@ POSTHOOK: query: DESC FORMATTED test_tab_part PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information @@ -547,13 +538,11 @@ POSTHOOK: query: DESC FORMATTED test_tab_part PARTITION (part = '1') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@test_tab_part # col_name data_type comment - key string value string # Partition Information # col_name data_type comment - part string # Detailed Partition Information diff --git ql/src/test/results/clientpositive/tunable_ndv.q.out ql/src/test/results/clientpositive/tunable_ndv.q.out index a7839ab70e..ba2a0ead84 100644 --- ql/src/test/results/clientpositive/tunable_ndv.q.out +++ ql/src/test/results/clientpositive/tunable_ndv.q.out @@ -73,27 +73,54 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d partition(year=2000) locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 2 0 2 HL from deserializer +col_name locid +data_type int +min 1 +max 2 +num_nulls 0 +distinct_count 2 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d partition(year=2001) locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d partition(year=2001) locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer PREHOOK: query: describe formatted loc_orc_1d locid PREHOOK: type: DESCTABLE PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"locid\":\"true\"}} PREHOOK: query: describe formatted loc_orc_1d locid PREHOOK: type: DESCTABLE @@ -101,9 +128,18 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"locid\":\"true\"}} PREHOOK: query: describe formatted loc_orc_1d locid PREHOOK: type: DESCTABLE @@ -111,9 +147,18 @@ PREHOOK: Input: default@loc_orc_1d POSTHOOK: query: describe formatted loc_orc_1d locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_1d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"locid\":\"true\"}} PREHOOK: query: create table if not exists loc_orc_2d ( state string, @@ -194,9 +239,18 @@ PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"locid\":\"true\"}} PREHOOK: query: describe formatted loc_orc_2d locid PREHOOK: type: DESCTABLE @@ -204,9 +258,18 @@ PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"locid\":\"true\"}} PREHOOK: query: describe formatted loc_orc_2d locid PREHOOK: type: DESCTABLE @@ -214,7 +277,16 @@ PREHOOK: Input: default@loc_orc_2d POSTHOOK: query: describe formatted loc_orc_2d locid POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@loc_orc_2d -# col_name data_type min max num_nulls distinct_count avg_col_len max_col_len num_trues num_falses comment bitVector - -locid int 1 4 0 4 HL from deserializer +col_name locid +data_type int +min 1 +max 4 +num_nulls 0 +distinct_count 4 +avg_col_len +max_col_len +num_trues +num_falses +bitVector HL +comment from deserializer COLUMN_STATS_ACCURATE {\"COLUMN_STATS\":{\"locid\":\"true\"}} diff --git ql/src/test/results/clientpositive/unicode_comments.q.out ql/src/test/results/clientpositive/unicode_comments.q.out index 764ea49084..deb2714df9 100644 --- ql/src/test/results/clientpositive/unicode_comments.q.out +++ ql/src/test/results/clientpositive/unicode_comments.q.out @@ -77,12 +77,10 @@ POSTHOOK: query: describe formatted unicode_comments_tbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: unicode_comments_db@unicode_comments_tbl1 # col_name data_type comment - col1 string 第一列 # Partition Information # col_name data_type comment - p1 string 分割 # Detailed Table Information @@ -125,7 +123,6 @@ POSTHOOK: query: describe formatted unicode_comments_view1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: unicode_comments_db@unicode_comments_view1 # col_name data_type comment - col1 string 第一列 # Detailed Table Information diff --git ql/src/test/results/clientpositive/unicode_notation.q.out ql/src/test/results/clientpositive/unicode_notation.q.out index f216d72b73..9ac938ee9d 100644 --- ql/src/test/results/clientpositive/unicode_notation.q.out +++ ql/src/test/results/clientpositive/unicode_notation.q.out @@ -13,7 +13,6 @@ POSTHOOK: query: desc formatted k1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@k1 # col_name data_type comment - a string # Detailed Table Information @@ -64,7 +63,6 @@ POSTHOOK: query: desc formatted k1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@k1 # col_name data_type comment - a string # Detailed Table Information @@ -115,7 +113,6 @@ POSTHOOK: query: desc formatted k1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@k1 # col_name data_type comment - a string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_pos_alias.q.out ql/src/test/results/clientpositive/union_pos_alias.q.out index bb161f8df8..65e736f3ed 100644 --- ql/src/test/results/clientpositive/union_pos_alias.q.out +++ ql/src/test/results/clientpositive/union_pos_alias.q.out @@ -328,7 +328,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - k string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_remove_1.q.out ql/src/test/results/clientpositive/union_remove_1.q.out index d611a640ff..2e1c7e357c 100644 --- ql/src/test/results/clientpositive/union_remove_1.q.out +++ ql/src/test/results/clientpositive/union_remove_1.q.out @@ -161,7 +161,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_10.q.out ql/src/test/results/clientpositive/union_remove_10.q.out index ef78a20ce5..cc2c23435f 100644 --- ql/src/test/results/clientpositive/union_remove_10.q.out +++ ql/src/test/results/clientpositive/union_remove_10.q.out @@ -212,7 +212,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_11.q.out ql/src/test/results/clientpositive/union_remove_11.q.out index 89194d2c7b..b355afb8c8 100644 --- ql/src/test/results/clientpositive/union_remove_11.q.out +++ ql/src/test/results/clientpositive/union_remove_11.q.out @@ -201,7 +201,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_12.q.out ql/src/test/results/clientpositive/union_remove_12.q.out index 650fb8d0bf..c5220f3a52 100644 --- ql/src/test/results/clientpositive/union_remove_12.q.out +++ ql/src/test/results/clientpositive/union_remove_12.q.out @@ -202,7 +202,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_13.q.out ql/src/test/results/clientpositive/union_remove_13.q.out index 95acdc32b0..0f5fa9a70a 100644 --- ql/src/test/results/clientpositive/union_remove_13.q.out +++ ql/src/test/results/clientpositive/union_remove_13.q.out @@ -221,7 +221,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_14.q.out ql/src/test/results/clientpositive/union_remove_14.q.out index 650fb8d0bf..c5220f3a52 100644 --- ql/src/test/results/clientpositive/union_remove_14.q.out +++ ql/src/test/results/clientpositive/union_remove_14.q.out @@ -202,7 +202,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_15.q.out ql/src/test/results/clientpositive/union_remove_15.q.out index 206eda9efe..2934c4c0e9 100644 --- ql/src/test/results/clientpositive/union_remove_15.q.out +++ ql/src/test/results/clientpositive/union_remove_15.q.out @@ -174,13 +174,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_remove_16.q.out ql/src/test/results/clientpositive/union_remove_16.q.out index 8cc31f3efb..8be5ddd511 100644 --- ql/src/test/results/clientpositive/union_remove_16.q.out +++ ql/src/test/results/clientpositive/union_remove_16.q.out @@ -208,13 +208,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_remove_17.q.out ql/src/test/results/clientpositive/union_remove_17.q.out index 2450e95e22..4d35596b02 100644 --- ql/src/test/results/clientpositive/union_remove_17.q.out +++ ql/src/test/results/clientpositive/union_remove_17.q.out @@ -135,13 +135,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_remove_18.q.out ql/src/test/results/clientpositive/union_remove_18.q.out index e592481dc5..3e181e31e1 100644 --- ql/src/test/results/clientpositive/union_remove_18.q.out +++ ql/src/test/results/clientpositive/union_remove_18.q.out @@ -186,13 +186,11 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_remove_19.q.out ql/src/test/results/clientpositive/union_remove_19.q.out index b7e7e5cf6d..3e160dc643 100644 --- ql/src/test/results/clientpositive/union_remove_19.q.out +++ ql/src/test/results/clientpositive/union_remove_19.q.out @@ -161,7 +161,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_2.q.out ql/src/test/results/clientpositive/union_remove_2.q.out index 088f1fdede..84bd7a1a9f 100644 --- ql/src/test/results/clientpositive/union_remove_2.q.out +++ ql/src/test/results/clientpositive/union_remove_2.q.out @@ -170,7 +170,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_20.q.out ql/src/test/results/clientpositive/union_remove_20.q.out index 25d8792250..57a4951fd8 100644 --- ql/src/test/results/clientpositive/union_remove_20.q.out +++ ql/src/test/results/clientpositive/union_remove_20.q.out @@ -169,7 +169,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - values bigint key string diff --git ql/src/test/results/clientpositive/union_remove_21.q.out ql/src/test/results/clientpositive/union_remove_21.q.out index 0c845df75a..1cd4892f1d 100644 --- ql/src/test/results/clientpositive/union_remove_21.q.out +++ ql/src/test/results/clientpositive/union_remove_21.q.out @@ -154,7 +154,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string # Detailed Table Information diff --git ql/src/test/results/clientpositive/union_remove_22.q.out ql/src/test/results/clientpositive/union_remove_22.q.out index cf0b3b63af..07feaecd41 100644 --- ql/src/test/results/clientpositive/union_remove_22.q.out +++ ql/src/test/results/clientpositive/union_remove_22.q.out @@ -170,7 +170,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint values2 bigint diff --git ql/src/test/results/clientpositive/union_remove_23.q.out ql/src/test/results/clientpositive/union_remove_23.q.out index 15a1417179..a81ecc7425 100644 --- ql/src/test/results/clientpositive/union_remove_23.q.out +++ ql/src/test/results/clientpositive/union_remove_23.q.out @@ -209,7 +209,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_24.q.out ql/src/test/results/clientpositive/union_remove_24.q.out index d50d9d1d0c..44d1c36878 100644 --- ql/src/test/results/clientpositive/union_remove_24.q.out +++ ql/src/test/results/clientpositive/union_remove_24.q.out @@ -169,7 +169,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key double values bigint diff --git ql/src/test/results/clientpositive/union_remove_25.q.out ql/src/test/results/clientpositive/union_remove_25.q.out index 787783e375..20ab809cb1 100644 --- ql/src/test/results/clientpositive/union_remove_25.q.out +++ ql/src/test/results/clientpositive/union_remove_25.q.out @@ -179,13 +179,11 @@ POSTHOOK: query: desc formatted outputTbl1 partition(ds='2004') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -382,13 +380,11 @@ POSTHOOK: query: desc formatted outputTbl2 partition(ds='2008-04-08') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl2 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string # Detailed Partition Information @@ -568,13 +564,11 @@ POSTHOOK: query: desc formatted outputTbl3 partition(ds='2008-04-08', hr='11') POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl3 # col_name data_type comment - key string values bigint # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/union_remove_3.q.out ql/src/test/results/clientpositive/union_remove_3.q.out index 5b43804b97..f4a4e4c175 100644 --- ql/src/test/results/clientpositive/union_remove_3.q.out +++ ql/src/test/results/clientpositive/union_remove_3.q.out @@ -159,7 +159,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_4.q.out ql/src/test/results/clientpositive/union_remove_4.q.out index 98d0f85190..0f28ff8bc8 100644 --- ql/src/test/results/clientpositive/union_remove_4.q.out +++ ql/src/test/results/clientpositive/union_remove_4.q.out @@ -205,7 +205,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_5.q.out ql/src/test/results/clientpositive/union_remove_5.q.out index 36710589f3..7576c36927 100644 --- ql/src/test/results/clientpositive/union_remove_5.q.out +++ ql/src/test/results/clientpositive/union_remove_5.q.out @@ -214,7 +214,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_7.q.out ql/src/test/results/clientpositive/union_remove_7.q.out index dbd98388d5..da71188f4f 100644 --- ql/src/test/results/clientpositive/union_remove_7.q.out +++ ql/src/test/results/clientpositive/union_remove_7.q.out @@ -161,7 +161,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_8.q.out ql/src/test/results/clientpositive/union_remove_8.q.out index 83cf4b49bf..a2e1b36f08 100644 --- ql/src/test/results/clientpositive/union_remove_8.q.out +++ ql/src/test/results/clientpositive/union_remove_8.q.out @@ -170,7 +170,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_remove_9.q.out ql/src/test/results/clientpositive/union_remove_9.q.out index e27b12652a..e87a8904ea 100644 --- ql/src/test/results/clientpositive/union_remove_9.q.out +++ ql/src/test/results/clientpositive/union_remove_9.q.out @@ -219,7 +219,6 @@ POSTHOOK: query: desc formatted outputTbl1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@outputtbl1 # col_name data_type comment - key string values bigint diff --git ql/src/test/results/clientpositive/union_stats.q.out ql/src/test/results/clientpositive/union_stats.q.out index 9ea0b519c2..ae0ef9ddf1 100644 --- ql/src/test/results/clientpositive/union_stats.q.out +++ ql/src/test/results/clientpositive/union_stats.q.out @@ -301,7 +301,6 @@ POSTHOOK: query: desc formatted t POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t # col_name data_type comment - key string value string @@ -350,7 +349,6 @@ POSTHOOK: query: desc formatted tt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tt # col_name data_type comment - key string value string @@ -407,7 +405,6 @@ POSTHOOK: query: desc formatted tt POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@tt # col_name data_type comment - key string value string @@ -476,7 +473,6 @@ POSTHOOK: query: desc formatted t1 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t1 # col_name data_type comment - key string default value string default @@ -511,7 +507,6 @@ POSTHOOK: query: desc formatted t2 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@t2 # col_name data_type comment - key string default value string default diff --git ql/src/test/results/clientpositive/updateAccessTime.q.out ql/src/test/results/clientpositive/updateAccessTime.q.out index 2dcd930b8e..777e84adc9 100644 --- ql/src/test/results/clientpositive/updateAccessTime.q.out +++ ql/src/test/results/clientpositive/updateAccessTime.q.out @@ -103,7 +103,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -121,7 +120,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -139,7 +137,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -166,7 +163,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -184,7 +180,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string @@ -202,7 +197,6 @@ hr string # Partition Information # col_name data_type comment - ds string hr string diff --git ql/src/test/results/clientpositive/view_alias.q.out ql/src/test/results/clientpositive/view_alias.q.out index 1582f06209..6e3c2b520e 100644 --- ql/src/test/results/clientpositive/view_alias.q.out +++ ql/src/test/results/clientpositive/view_alias.q.out @@ -21,7 +21,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string _c1 string @@ -88,7 +87,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string _c1 string @@ -156,7 +154,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string value string _c1 string @@ -225,7 +222,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string value string _c121 string @@ -293,7 +289,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string _c1 bigint @@ -403,7 +398,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - _c0 string ca string caa string diff --git ql/src/test/results/clientpositive/view_cbo.q.out ql/src/test/results/clientpositive/view_cbo.q.out index 95863c0ca8..e10cb7a46a 100644 --- ql/src/test/results/clientpositive/view_cbo.q.out +++ ql/src/test/results/clientpositive/view_cbo.q.out @@ -113,7 +113,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string # Detailed Table Information @@ -182,7 +181,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string c bigint @@ -262,7 +260,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string value string @@ -325,7 +322,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string # Detailed Table Information @@ -374,7 +370,6 @@ POSTHOOK: query: desc formatted view15 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@view15 # col_name data_type comment - key string value_count bigint @@ -425,7 +420,6 @@ POSTHOOK: query: desc formatted view16 POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@view16 # col_name data_type comment - value string # Detailed Table Information @@ -477,7 +471,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string # Detailed Table Information @@ -528,7 +521,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string value string @@ -580,7 +572,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string value string @@ -632,7 +623,6 @@ POSTHOOK: query: desc formatted v POSTHOOK: type: DESCTABLE POSTHOOK: Input: default@v # col_name data_type comment - key string value string