commit 96616829b38d2242ba708f1bfb5b111faa681072 Author: Janaki Lahorani Date: Tue Jul 10 15:23:41 2018 -0700 HIVE-20437: Handle schema evolution from Float, Double and Decimal. Change-Id: I093398f3a887b74e5538be0f58ba9a9a081998bc diff --git ql/src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java ql/src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java index 08788cf473d17a1dfa677c4732447a4d53dc16c8..ff512eb7d8cf179bfa292bfbf2daff1d8140b9fe 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java @@ -29,7 +29,6 @@ import org.apache.hadoop.hive.serde2.typeinfo.DecimalTypeInfo; import org.apache.hadoop.hive.serde2.typeinfo.HiveDecimalUtils; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo; -import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils; import org.apache.hadoop.io.BooleanWritable; import org.apache.hadoop.io.BytesWritable; @@ -55,6 +54,89 @@ EDOUBLE_CONVERTER(Double.TYPE) { @Override PrimitiveConverter getConverter(final PrimitiveType type, final int index, final ConverterParent parent, TypeInfo hiveTypeInfo) { + if (hiveTypeInfo != null) { + String typeName = TypeInfoUtils.getBaseName(hiveTypeInfo.getTypeName()); + final double minValue = getMinValue(typeName, Double.MIN_VALUE); + final double maxValue = getMaxValue(typeName, Double.MAX_VALUE); + + switch (typeName) { + case serdeConstants.FLOAT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + double absValue = (value < 0) ? (value * -1) : value; + int exponent = Math.getExponent(value); + if ((absValue >= minValue) && (absValue <= maxValue) && + (exponent <= Float.MAX_EXPONENT) && (exponent >= Float.MIN_EXPONENT)) { + parent.set(index, new FloatWritable((float) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.DECIMAL_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + HiveDecimalWritable decimalWritable = new HiveDecimalWritable(); + decimalWritable.setFromDouble(value); + parent.set(index, HiveDecimalUtils + .enforcePrecisionScale(decimalWritable, (DecimalTypeInfo) hiveTypeInfo)); + } + }; + case serdeConstants.BIGINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new LongWritable((long) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.INT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new IntWritable((int) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.SMALLINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new IntWritable((int) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.TINYINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new IntWritable((int) value)); + } else { + parent.set(index, null); + } + } + }; + default: + return new PrimitiveConverter() { + @Override + public void addDouble(final double value) { + parent.set(index, new DoubleWritable(value)); + } + }; + } + } return new PrimitiveConverter() { @Override public void addDouble(final double value) { @@ -77,21 +159,88 @@ public void addBoolean(final boolean value) { EFLOAT_CONVERTER(Float.TYPE) { @Override PrimitiveConverter getConverter(final PrimitiveType type, final int index, final ConverterParent parent, TypeInfo hiveTypeInfo) { - if (hiveTypeInfo != null && hiveTypeInfo.equals(TypeInfoFactory.doubleTypeInfo)) { - return new PrimitiveConverter() { - @Override - public void addFloat(final float value) { - parent.set(index, new DoubleWritable((double) value)); - } - }; - } else { - return new PrimitiveConverter() { - @Override - public void addFloat(final float value) { - parent.set(index, new FloatWritable(value)); - } - }; + if (hiveTypeInfo != null) { + String typeName = TypeInfoUtils.getBaseName(hiveTypeInfo.getTypeName()); + final double minValue = getMinValue(typeName, Double.MIN_VALUE); + final double maxValue = getMaxValue(typeName, Double.MAX_VALUE); + + switch (typeName) { + case serdeConstants.DOUBLE_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + parent.set(index, new DoubleWritable((float) value)); + } + }; + case serdeConstants.DECIMAL_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + HiveDecimalWritable decimalWritable = new HiveDecimalWritable(); + decimalWritable.setFromDouble(value); + parent.set(index, HiveDecimalUtils + .enforcePrecisionScale(decimalWritable, (DecimalTypeInfo) hiveTypeInfo)); + } + }; + case serdeConstants.BIGINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new LongWritable((long) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.INT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new IntWritable((int) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.SMALLINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new IntWritable((int) value)); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.TINYINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + if ((value >= minValue) && (value <= maxValue) && (value % 1 == 0)) { + parent.set(index, new IntWritable((int) value)); + } else { + parent.set(index, null); + } + } + }; + default: + return new PrimitiveConverter() { + @Override + public void addFloat(final float value) { + parent.set(index, new FloatWritable(value)); + } + }; + } } + + return new PrimitiveConverter() { + @Override public void addFloat(final float value) { + parent.set(index, new FloatWritable(value)); + } + }; } }, EINT32_CONVERTER(Integer.TYPE) { @@ -332,10 +481,114 @@ protected Text convert(Binary binary) { EDECIMAL_CONVERTER(BigDecimal.class) { @Override PrimitiveConverter getConverter(final PrimitiveType type, final int index, final ConverterParent parent, TypeInfo hiveTypeInfo) { - return new BinaryConverter(type, parent, index) { + if (hiveTypeInfo != null) { + String typeName = TypeInfoUtils.getBaseName(hiveTypeInfo.getTypeName()); + final double minValue = getMinValue(typeName, Double.MIN_VALUE); + final double maxValue = getMaxValue(typeName, Double.MAX_VALUE); + + switch (typeName) { + case serdeConstants.FLOAT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addBinary(Binary value) { + HiveDecimalWritable decimalWritable = + new HiveDecimalWritable(value.getBytes(), type.getDecimalMetadata().getScale()); + double doubleValue = decimalWritable.doubleValue(); + double absDoubleValue = (doubleValue < 0) ? (doubleValue * -1) : doubleValue; + + if ((absDoubleValue >= minValue) && (absDoubleValue <= maxValue)) { + parent.set(index, new FloatWritable((float) decimalWritable.floatValue())); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.DOUBLE_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addBinary(Binary value) { + HiveDecimalWritable decimalWritable = + new HiveDecimalWritable(value.getBytes(), type.getDecimalMetadata().getScale()); + parent.set(index, new DoubleWritable(decimalWritable.doubleValue())); + } + }; + case serdeConstants.BIGINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addBinary(Binary value) { + HiveDecimalWritable decimalWritable = + new HiveDecimalWritable(value.getBytes(), type.getDecimalMetadata().getScale()); + double doubleValue = decimalWritable.doubleValue(); + if ((doubleValue >= minValue) && (doubleValue <= maxValue) && + (doubleValue % 1 == 0)) { + parent.set(index, new LongWritable(decimalWritable.longValue())); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.INT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addBinary(Binary value) { + HiveDecimalWritable decimalWritable = + new HiveDecimalWritable(value.getBytes(), type.getDecimalMetadata().getScale()); + double doubleValue = decimalWritable.doubleValue(); + if ((doubleValue >= minValue) && (doubleValue <= maxValue) && + (doubleValue % 1 == 0)) { + parent.set(index, new IntWritable(decimalWritable.intValue())); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.SMALLINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addBinary(Binary value) { + HiveDecimalWritable decimalWritable = + new HiveDecimalWritable(value.getBytes(), type.getDecimalMetadata().getScale()); + double doubleValue = decimalWritable.doubleValue(); + if ((doubleValue >= minValue) && (doubleValue <= maxValue) && + (doubleValue % 1 == 0)) { + parent.set(index, new IntWritable(decimalWritable.intValue())); + } else { + parent.set(index, null); + } + } + }; + case serdeConstants.TINYINT_TYPE_NAME: + return new PrimitiveConverter() { + @Override + public void addBinary(Binary value) { + HiveDecimalWritable decimalWritable = + new HiveDecimalWritable(value.getBytes(), type.getDecimalMetadata().getScale()); + double doubleValue = decimalWritable.doubleValue(); + if ((doubleValue >= minValue) && (doubleValue <= maxValue) && + (doubleValue % 1 == 0)) { + parent.set(index, new IntWritable(decimalWritable.intValue())); + } else { + parent.set(index, null); + } + } + }; + default: + return new BinaryConverter(type, parent, index, hiveTypeInfo) { + @Override + protected HiveDecimalWritable convert(Binary binary) { + return HiveDecimalUtils.enforcePrecisionScale( + new HiveDecimalWritable(binary.getBytes(), type.getDecimalMetadata().getScale()), + (DecimalTypeInfo) hiveTypeInfo); + } + }; + } + } + return new BinaryConverter(type, parent, index, hiveTypeInfo) { @Override protected HiveDecimalWritable convert(Binary binary) { - return new HiveDecimalWritable(binary.getBytes(), type.getDecimalMetadata().getScale()); + return HiveDecimalUtils.enforcePrecisionScale( + new HiveDecimalWritable(binary.getBytes(), type.getDecimalMetadata().getScale()), + (DecimalTypeInfo) hiveTypeInfo); } }; } @@ -439,16 +692,57 @@ private static long getMaxValue(String typeName, long defaultValue) { } } + private static double getMinValue(String typeName, double defaultValue) { + switch (typeName) { + case serdeConstants.BIGINT_TYPE_NAME: + return (double) Long.MIN_VALUE; + case serdeConstants.INT_TYPE_NAME: + return (double) Integer.MIN_VALUE; + case serdeConstants.SMALLINT_TYPE_NAME: + return (double) Short.MIN_VALUE; + case serdeConstants.TINYINT_TYPE_NAME: + return (double) Byte.MIN_VALUE; + case serdeConstants.FLOAT_TYPE_NAME: + return (double) Float.MIN_VALUE; + default: + return defaultValue; + } + } + + private static double getMaxValue(String typeName, double defaultValue) { + switch (typeName) { + case serdeConstants.BIGINT_TYPE_NAME: + return (double) Long.MAX_VALUE; + case serdeConstants.INT_TYPE_NAME: + return (double) Integer.MAX_VALUE; + case serdeConstants.SMALLINT_TYPE_NAME: + return (double) Short.MAX_VALUE; + case serdeConstants.TINYINT_TYPE_NAME: + return (double) Byte.MAX_VALUE; + case serdeConstants.FLOAT_TYPE_NAME: + return (double) Float.MAX_VALUE; + default: + return defaultValue; + } + } + public abstract static class BinaryConverter extends PrimitiveConverter { protected final PrimitiveType type; private final ConverterParent parent; private final int index; + private final TypeInfo hiveTypeInfo; private ArrayList lookupTable; - public BinaryConverter(PrimitiveType type, ConverterParent parent, int index) { + public BinaryConverter(PrimitiveType type, ConverterParent parent, int index, + TypeInfo hiveTypeInfo) { this.type = type; this.parent = parent; this.index = index; + this.hiveTypeInfo = hiveTypeInfo; + } + + public BinaryConverter(PrimitiveType type, ConverterParent parent, int index) { + this(type, parent, index, null); } protected abstract T convert(Binary binary); diff --git ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReader.java ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReader.java index 26a45111870f9c22cdfd04ff563aff5e8c75ba89..8741120fbb26e38518bc93dd9fe35c62d26e895d 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReader.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReader.java @@ -18,6 +18,7 @@ package org.apache.hadoop.hive.ql.io.parquet.vector; +import org.apache.hadoop.hive.serde2.io.HiveDecimalWritable; import org.apache.parquet.bytes.ByteBufferInputStream; import org.apache.hadoop.hive.common.type.Timestamp; import org.apache.parquet.column.Dictionary; @@ -59,6 +60,16 @@ */ long readInteger(); + /** + * @return the next SmallInt from the page + */ + long readSmallInt(); + + /** + * @return the next TinyInt from the page + */ + long readTinyInt(); + /** * @return the next Float from the page */ @@ -92,7 +103,7 @@ /** * @return the next Decimal from the page */ - byte[] readDecimal(); + HiveDecimalWritable readDecimal(); /** * @return the next Double from the page @@ -105,16 +116,9 @@ Timestamp readTimestamp(); /** - * @param value data to be checked for validity - * @return is data valid for the type - * The type of the data in Parquet files need not match the type in HMS. In that case - * the value returned to the user will depend on the data. If the data value is within the valid - * range accommodated by the HMS type, the data will be returned as is. When data is not within - * the valid range, a NULL will be returned. These functions will do the appropriate check. + * @return is data valid */ - boolean isValid(long value); - boolean isValid(float value); - boolean isValid(double value); + boolean isValid(); /** * @return the underlying dictionary if current reader is dictionary encoded @@ -158,6 +162,18 @@ */ long readLong(int id); + /** + * @param id in dictionary + * @return the Small Int from the dictionary by id + */ + long readSmallInt(int id); + + /** + * @param id in dictionary + * @return the Long from the dictionary by id + */ + long readTinyInt(int id); + /** * @param id in dictionary * @return the Boolean from the dictionary by id @@ -168,7 +184,7 @@ * @param id in dictionary * @return the Decimal from the dictionary by id */ - byte[] readDecimal(int id); + HiveDecimalWritable readDecimal(int id); /** * @param id in dictionary diff --git ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java index 9170e9f9b3899ee9540acdee10c1d15e71d59582..28eafa2260831641babc979964369f534d5027c9 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java @@ -57,11 +57,23 @@ private ParquetDataColumnReaderFactory() { /** * The default data column reader for existing Parquet page reader which works for both * dictionary or non dictionary types, Mirror from dictionary encoding path. + * + * HMS metadata can have a typename that is different from the type of the parquet data. + * If the data is valid as per the definition of the type in HMS, the data will be returned + * as part of hive query. If the data is invalid, null will be returned. */ public static class DefaultParquetDataColumnReader implements ParquetDataColumnReader { protected ValuesReader valuesReader; protected Dictionary dict; + // After the data is read in the parquet type, isValid will be set to true if the data can be + // returned in the type defined in HMS. Otherwise isValid is set to false. + boolean isValid = true; + + protected int hivePrecision = 0; + protected int hiveScale = 0; + protected final HiveDecimalWritable hiveDecimalWritable = new HiveDecimalWritable(0L); + // Varchar or char length protected int length = -1; @@ -75,6 +87,19 @@ public DefaultParquetDataColumnReader(Dictionary dict, int length) { this.length = length; } + public DefaultParquetDataColumnReader(ValuesReader realReader, int length, int precision, + int scale) { + this(realReader, length); + hivePrecision = precision; + hiveScale = scale; + } + + public DefaultParquetDataColumnReader(Dictionary dict, int length, int precision, int scale) { + this(dict, length); + this.hivePrecision = precision; + this.hiveScale = scale; + } + @Override public void initFromPage(int i, ByteBufferInputStream in) throws IOException { valuesReader.initFromPage(i, in); @@ -132,13 +157,15 @@ public boolean readBoolean(int id) { } @Override - public byte[] readDecimal() { - return valuesReader.readBytes().getBytesUnsafe(); + public HiveDecimalWritable readDecimal() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), 0); + return hiveDecimalWritable; } @Override - public byte[] readDecimal(int id) { - return dict.decodeToBinary(id).getBytesUnsafe(); + public HiveDecimalWritable readDecimal(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), 0); + return hiveDecimalWritable; } @Override @@ -182,28 +209,38 @@ public long readInteger(int id) { } @Override - public boolean isValid(long value) { - return true; + public boolean isValid() { + return isValid; } @Override - public boolean isValid(float value) { - return true; + public long readLong(int id) { + return dict.decodeToLong(id); } @Override - public boolean isValid(double value) { - return true; + public long readLong() { + return valuesReader.readLong(); } @Override - public long readLong(int id) { - return dict.decodeToLong(id); + public long readSmallInt() { + return validatedLong(valuesReader.readInteger(), serdeConstants.SMALLINT_TYPE_NAME); } @Override - public long readLong() { - return valuesReader.readLong(); + public long readSmallInt(int id) { + return validatedLong(dict.decodeToInt(id), serdeConstants.SMALLINT_TYPE_NAME); + } + + @Override + public long readTinyInt() { + return validatedLong(valuesReader.readInteger(), serdeConstants.TINYINT_TYPE_NAME); + } + + @Override + public long readTinyInt(int id) { + return validatedLong(dict.decodeToInt(id), serdeConstants.TINYINT_TYPE_NAME); } @Override @@ -245,121 +282,181 @@ protected String getPaddedString(String value) { throw new RuntimeException("Failed to encode string in UTF-8", e); } } - } - /** - * The reader who reads from the underlying int32 value value. Implementation is in consist with - * ETypeConverter EINT32_CONVERTER - */ - public static class TypesFromInt32PageReader extends DefaultParquetDataColumnReader { + /** + * Helper function to validata long data. Sets the isValid to true if the data is valid + * for the type it will be read in, otherwise false. + * @param longValue input value of long type to be validated. + * @param typeName the hivetype to be used to read the longValue + * @param isUnSigned true when longValue is unsigned parquet type + * @return 0 if the data is invalid, other longValue + */ + long validatedLong(long longValue, String typeName, boolean isUnSigned) { + switch (typeName) { + case serdeConstants.BIGINT_TYPE_NAME: + isValid = !isUnSigned || (longValue >= 0); + break; + case serdeConstants.INT_TYPE_NAME: + isValid = ((longValue <= Integer.MAX_VALUE) && + (longValue >= (isUnSigned ? 0 : Integer.MIN_VALUE))); + break; + case serdeConstants.SMALLINT_TYPE_NAME: + isValid = ((longValue <= Short.MAX_VALUE) && + (longValue >= (isUnSigned ? 0 : Short.MIN_VALUE))); + break; + case serdeConstants.TINYINT_TYPE_NAME: + isValid = ((longValue <= Byte.MAX_VALUE) && + (longValue >= (isUnSigned ? 0 : Byte.MIN_VALUE))); + break; + default: + isValid = true; + } - public TypesFromInt32PageReader(ValuesReader realReader, int length) { - super(realReader, length); + if (isValid) { + return longValue; + } else { + return 0; + } } - public TypesFromInt32PageReader(Dictionary dict, int length) { - super(dict, length); + /** + * Helper function to validata long data. Sets the isValid to true if the data is valid + * for the type it will be read in, otherwise false. + * @param longValue input value of long type to be validated. + * @param typeName the hivetype to be used to read the longValue + * @return 0 if the data is invalid, other longValue + */ + long validatedLong(long longValue, String typeName) { + return validatedLong(longValue, typeName, false); } - @Override - public long readLong() { - return valuesReader.readInteger(); + /** + * Helper function to validata long data when it will be read as a decimal from hive. Sets the + * isValid to true if the data can be read as decimal, otherwise false. + * @param longValue input value of long type to be validated. + * @return null if the data is invalid, other a validated hivedecimalwritable + */ + HiveDecimalWritable validatedDecimal(long longValue) { + hiveDecimalWritable.setFromLong(longValue); + return validatedDecimal(); } - @Override - public long readLong(int id) { - return dict.decodeToInt(id); + /** + * Helper function to validata double data when it will be read as a decimal from hive. Sets + * the isValid to true if the data can be read as decimal, otherwise false. + * @param doubleValue input value of double type to be validated. + * @return null if the data is invalid, other a validated hivedecimalwritable + */ + HiveDecimalWritable validatedDecimal(double doubleValue) { + hiveDecimalWritable.setFromDouble(doubleValue); + return validatedDecimal(); } - @Override - public float readFloat() { - return valuesReader.readInteger(); + /** + * Helper function to validata decimal data in hiveDecimalWritable can be read as the decimal + * type defined in HMS. Sets the isValid to true if the data can be read as decimal, otherwise + * false. + * @return null if the data is invalid, other a validated hivedecimalwritable + */ + HiveDecimalWritable validatedDecimal() { + hiveDecimalWritable.mutateEnforcePrecisionScale(hivePrecision, hiveScale); + if (hiveDecimalWritable.isSet()) { + this.isValid = true; + return hiveDecimalWritable; + } else { + this.isValid = false; + return null; + } } - @Override - public float readFloat(int id) { - return dict.decodeToInt(id); - } + /** + * Helper function to validata double data. Sets the isValid to true if the data is valid + * for the type it will be read in, otherwise false. + * @param doubleValue input value of long type to be validated. + * @param typeName the hivetype to be used to read the doubleValue + * @return 0 if the data is invalid, other doubleValue + */ + double validatedDouble(double doubleValue, String typeName) { + switch (typeName) { + case serdeConstants.FLOAT_TYPE_NAME: + double absDoubleValue = (doubleValue < 0) ? (doubleValue * -1) : doubleValue; + int exponent = Math.getExponent(doubleValue); + isValid = ((absDoubleValue <= Float.MAX_VALUE) && (absDoubleValue >= Float.MIN_VALUE) && + (exponent <= Float.MAX_EXPONENT) && (exponent >= Float.MIN_EXPONENT)); + break; + case serdeConstants.BIGINT_TYPE_NAME: + isValid = ((doubleValue <= Long.MAX_VALUE) && (doubleValue >= Long.MIN_VALUE) && + (doubleValue % 1 == 0)); + break; + case serdeConstants.INT_TYPE_NAME: + isValid = ((doubleValue <= Integer.MAX_VALUE) && (doubleValue >= Integer.MIN_VALUE) && + (doubleValue % 1 == 0)); + break; + case serdeConstants.SMALLINT_TYPE_NAME: + isValid = ((doubleValue <= Short.MAX_VALUE) && (doubleValue >= Short.MIN_VALUE) && + (doubleValue % 1 == 0)); + break; + case serdeConstants.TINYINT_TYPE_NAME: + isValid = ((doubleValue <= Byte.MAX_VALUE) && (doubleValue >= Byte.MIN_VALUE) && + (doubleValue % 1 == 0)); + break; + default: + isValid = true; + } - @Override - public double readDouble() { - return valuesReader.readInteger(); + if (isValid) { + return doubleValue; + } else { + return 0; + } } + } - @Override - public double readDouble(int id) { - return dict.decodeToInt(id); - } + /** + * The reader who reads from the underlying int64 value value. Implementation is in consist with + * ETypeConverter EINT64_CONVERTER + * + * The data is read as long from the reader, then validated, converted and returned as per the + * type defined in HMS. + */ + public static class TypesFromInt64PageReader extends DefaultParquetDataColumnReader { - @Override - public byte[] readString() { - return convertToBytes(valuesReader.readInteger()); + public TypesFromInt64PageReader(ValuesReader realReader, int length, int precision, int scale) { + super(realReader, length, precision, scale); } - @Override - public byte[] readString(int id) { - return convertToBytes(dict.decodeToInt(id)); + public TypesFromInt64PageReader(Dictionary dict, int length, int precision, int scale) { + super(dict, length, precision, scale); } @Override - public byte[] readVarchar() { - String value = enforceMaxLength( - convertToString(valuesReader.readInteger())); - return convertToBytes(value); + public long readInteger() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.INT_TYPE_NAME); } @Override - public byte[] readVarchar(int id) { - String value = enforceMaxLength( - convertToString(dict.decodeToInt(id))); - return convertToBytes(value); + public long readInteger(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.INT_TYPE_NAME); } @Override - public byte[] readChar() { - String value = enforceMaxLength( - convertToString(valuesReader.readInteger())); - return convertToBytes(value); + public long readSmallInt() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.SMALLINT_TYPE_NAME); } @Override - public byte[] readChar(int id) { - String value = enforceMaxLength( - convertToString(dict.decodeToInt(id))); - return convertToBytes(value); - } - - private static String convertToString(int value) { - return Integer.toString(value); - } - - private static byte[] convertToBytes(int value) { - return convertToBytes(convertToString(value)); - } - } - - /** - * The reader who reads from the underlying int64 value value. Implementation is in consist with - * ETypeConverter EINT64_CONVERTER - */ - public static class TypesFromInt64PageReader extends DefaultParquetDataColumnReader { - - public TypesFromInt64PageReader(ValuesReader realReader, int length) { - super(realReader, length); - } - - public TypesFromInt64PageReader(Dictionary dict, int length) { - super(dict, length); + public long readSmallInt(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.SMALLINT_TYPE_NAME); } @Override - public long readInteger() { - return valuesReader.readLong(); + public long readTinyInt() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.TINYINT_TYPE_NAME); } @Override - public long readInteger(int id) { - return dict.decodeToLong(id); + public long readTinyInt(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.TINYINT_TYPE_NAME); } @Override @@ -382,6 +479,16 @@ public double readDouble(int id) { return dict.decodeToLong(id); } + @Override + public HiveDecimalWritable readDecimal() { + return super.validatedDecimal(valuesReader.readLong()); + } + + @Override + public HiveDecimalWritable readDecimal(int id) { + return super.validatedDecimal(dict.decodeToLong(id)); + } + @Override public byte[] readString() { return convertToBytes(valuesReader.readLong()); @@ -430,372 +537,337 @@ private static String convertToString(long value) { } /** - * The reader who reads long data using int type. + * The reader who reads unsigned long data. + * + * The data is read as long from the reader, then validated, converted and returned as per the + * type defined in HMS. The data is unsigned long hence when read back it can't be negative. + * The call to validate will indicate that the data is unsigned to do the appropriate + * validation. */ - public static class Types64Int2IntPageReader extends TypesFromInt64PageReader { + public static class TypesFromUInt64PageReader extends TypesFromInt64PageReader { - public Types64Int2IntPageReader(ValuesReader realReader, int length) { - super(realReader, length); + public TypesFromUInt64PageReader(ValuesReader realReader, int length, int precision, + int scale) { + super(realReader, length, precision, scale); } - public Types64Int2IntPageReader(Dictionary dict, int length) { - super(dict, length); + public TypesFromUInt64PageReader(Dictionary dict, int length, int precision, int scale) { + super(dict, length, precision, scale); } @Override - public boolean isValid(long value) { - return ((value <= Integer.MAX_VALUE) && (value >= Integer.MIN_VALUE)); - } - } - - /** - * The reader who reads long data using smallint type. - */ - public static class Types64Int2SmallintPageReader extends TypesFromInt64PageReader { - public Types64Int2SmallintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + public long readLong() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.BIGINT_TYPE_NAME, true); } - public Types64Int2SmallintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public long readLong(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.BIGINT_TYPE_NAME, true); } @Override - public boolean isValid(long value) { - return ((value <= Short.MAX_VALUE) && (value >= Short.MIN_VALUE)); + public long readInteger() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.INT_TYPE_NAME, true); } - } - /** - * The reader who reads long data using tinyint type. - */ - public static class Types64Int2TinyintPageReader extends TypesFromInt64PageReader { - public Types64Int2TinyintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public long readInteger(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.INT_TYPE_NAME, true); } - public Types64Int2TinyintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public long readSmallInt() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.SMALLINT_TYPE_NAME, true); } @Override - public boolean isValid(long value) { - return ((value <= Byte.MAX_VALUE) && (value >= Byte.MIN_VALUE)); + public long readSmallInt(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.SMALLINT_TYPE_NAME, true); } - } - /** - * The reader who reads long data using Decimal type. - */ - public static class Types64Int2DecimalPageReader extends TypesFromInt64PageReader { - private int precision = 0; - private int scale = 0; - private final HiveDecimalWritable hiveDecimalWritable = new HiveDecimalWritable(0L); - - public Types64Int2DecimalPageReader(ValuesReader realReader, int length, int precision, - int scale) { - super(realReader, length); - this.precision = precision; - this.scale = scale; + @Override + public long readTinyInt() { + return super.validatedLong(valuesReader.readLong(), serdeConstants.TINYINT_TYPE_NAME, true); } - public Types64Int2DecimalPageReader(Dictionary dict, int length, int precision, int scale) { - super(dict, length); - this.precision = precision; - this.scale = scale; + @Override + public long readTinyInt(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.TINYINT_TYPE_NAME, true); } @Override - public boolean isValid(long value) { - hiveDecimalWritable.setFromLong(value); - hiveDecimalWritable.mutateEnforcePrecisionScale(precision, scale); - return hiveDecimalWritable.isSet(); + public float readFloat() { + return (float) super.validatedLong(valuesReader.readLong(), serdeConstants.BIGINT_TYPE_NAME, + true); } - } - /** - * The reader who reads unsigned long data. - */ - public static class TypesFromUInt64PageReader extends TypesFromInt64PageReader { - - public TypesFromUInt64PageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public float readFloat(int id) { + return (float) super.validatedLong(dict.decodeToLong(id), serdeConstants.BIGINT_TYPE_NAME, + true); } - public TypesFromUInt64PageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public double readDouble() { + return (double) super.validatedLong(valuesReader.readLong(), serdeConstants.BIGINT_TYPE_NAME, + true); } @Override - public boolean isValid(long value) { - return (value >= 0); + public double readDouble(int id) { + return (double) super.validatedLong(dict.decodeToLong(id), serdeConstants.BIGINT_TYPE_NAME, + true); } @Override - public boolean isValid(float value) { - return (value >= 0); + public HiveDecimalWritable readDecimal() { + long validatedLongValue = super.validatedLong(valuesReader.readLong(), + serdeConstants.BIGINT_TYPE_NAME, true); + if (super.isValid) { + return super.validatedDecimal(validatedLongValue); + } else { + return null; + } } @Override - public boolean isValid(double value) { - return (value >= 0); + public HiveDecimalWritable readDecimal(int id) { + long validatedLongValue = super.validatedLong(dict.decodeToLong(id), + serdeConstants.BIGINT_TYPE_NAME, true); + if (super.isValid) { + return super.validatedDecimal(validatedLongValue); + } else { + return null; + } } } /** - * The reader who reads unsigned long data using int type. + * The reader who reads from the underlying int32 value value. Implementation is in consist with + * ETypeConverter EINT32_CONVERTER + * + * The data is read as integer from the reader, then validated, converted and returned as per the + * type defined in HMS. */ - public static class Types64UInt2IntPageReader extends TypesFromInt64PageReader { + public static class TypesFromInt32PageReader extends DefaultParquetDataColumnReader { - public Types64UInt2IntPageReader(ValuesReader realReader, int length) { - super(realReader, length); + public TypesFromInt32PageReader(ValuesReader realReader, int length, int precision, + int scale) { + super(realReader, length, precision, scale); } - public Types64UInt2IntPageReader(Dictionary dict, int length) { - super(dict, length); + public TypesFromInt32PageReader(Dictionary dict, int length, int precision, int scale) { + super(dict, length, precision, scale); } @Override - public boolean isValid(long value) { - return ((value <= Integer.MAX_VALUE) && (value >= 0)); + public long readLong() { + return valuesReader.readInteger(); } - } - /** - * The reader who reads unsigned long data using smallint type. - */ - public static class Types64UInt2SmallintPageReader extends TypesFromInt64PageReader { - public Types64UInt2SmallintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public long readLong(int id) { + return dict.decodeToInt(id); } - public Types64UInt2SmallintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public float readFloat() { + return valuesReader.readInteger(); } @Override - public boolean isValid(long value) { - return ((value <= Short.MAX_VALUE) && (value >= 0)); + public float readFloat(int id) { + return dict.decodeToInt(id); } - } - /** - * The reader who reads unsigned long data using tinyint type. - */ - public static class Types64UInt2TinyintPageReader extends TypesFromInt64PageReader { - public Types64UInt2TinyintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public double readDouble() { + return valuesReader.readInteger(); } - public Types64UInt2TinyintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public double readDouble(int id) { + return dict.decodeToInt(id); } @Override - public boolean isValid(long value) { - return ((value <= Byte.MAX_VALUE) && (value >= 0)); + public byte[] readString() { + return convertToBytes(valuesReader.readInteger()); } - } - - /** - * The reader who reads unsigned long data using Decimal type. - */ - public static class Types64UInt2DecimalPageReader extends TypesFromInt64PageReader { - private int precision = 0; - private int scale = 0; - private final HiveDecimalWritable hiveDecimalWritable = new HiveDecimalWritable(0L); - public Types64UInt2DecimalPageReader(ValuesReader realReader, int length, int precision, - int scale) { - super(realReader, length); - this.precision = precision; - this.scale = scale; + @Override + public byte[] readString(int id) { + return convertToBytes(dict.decodeToInt(id)); } - public Types64UInt2DecimalPageReader(Dictionary dict, int length, int precision, int scale) { - super(dict, length); - this.precision = precision; - this.scale = scale; + @Override + public byte[] readVarchar() { + String value = enforceMaxLength( + convertToString(valuesReader.readInteger())); + return convertToBytes(value); } @Override - public boolean isValid(long value) { - hiveDecimalWritable.setFromLong(value); - hiveDecimalWritable.mutateEnforcePrecisionScale(precision, scale); - return ((value >= 0) && hiveDecimalWritable.isSet()); + public byte[] readVarchar(int id) { + String value = enforceMaxLength( + convertToString(dict.decodeToInt(id))); + return convertToBytes(value); } - } - /** - * The reader who reads int data using smallint type. - */ - public static class Types32Int2SmallintPageReader extends TypesFromInt32PageReader { - public Types32Int2SmallintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public byte[] readChar() { + String value = enforceMaxLength( + convertToString(valuesReader.readInteger())); + return convertToBytes(value); } - public Types32Int2SmallintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public byte[] readChar(int id) { + String value = enforceMaxLength( + convertToString(dict.decodeToInt(id))); + return convertToBytes(value); } - @Override - public boolean isValid(long value) { - return ((value <= Short.MAX_VALUE) && (value >= Short.MIN_VALUE)); + private static String convertToString(int value) { + return Integer.toString(value); } - } - /** - * The reader who reads int data using tinyint type. - */ - public static class Types32Int2TinyintPageReader extends TypesFromInt32PageReader { - public Types32Int2TinyintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + private static byte[] convertToBytes(int value) { + return convertToBytes(convertToString(value)); } - public Types32Int2TinyintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public HiveDecimalWritable readDecimal() { + return super.validatedDecimal(valuesReader.readInteger()); } @Override - public boolean isValid(long value) { - return ((value <= Byte.MAX_VALUE) && (value >= Byte.MIN_VALUE)); + public HiveDecimalWritable readDecimal(int id) { + return super.validatedDecimal(dict.decodeToInt(id)); } } /** - * The reader who reads int data using Decimal type. + * The reader who reads unsigned int data. + * + * The data is read as integer from the reader, then validated, converted and returned as per the + * type defined in HMS. The data is unsigned integer hence when read back it can't be negative. + * The call to validate will indicate that the data is unsigned to do the appropriate + * validation. */ - public static class Types32Int2DecimalPageReader extends TypesFromInt32PageReader { - private int precision = 0; - private int scale = 0; - private final HiveDecimalWritable hiveDecimalWritable = new HiveDecimalWritable(0L); + public static class TypesFromUInt32PageReader extends TypesFromInt32PageReader { - public Types32Int2DecimalPageReader(ValuesReader realReader, int length, int precision, + public TypesFromUInt32PageReader(ValuesReader realReader, int length, int precision, int scale) { - super(realReader, length); - this.precision = precision; - this.scale = scale; + super(realReader, length, precision, scale); } - public Types32Int2DecimalPageReader(Dictionary dict, int length, int precision, int scale) { - super(dict, length); - this.precision = precision; - this.scale = scale; + public TypesFromUInt32PageReader(Dictionary dict, int length, int precision, int scale) { + super(dict, length, precision, scale); } @Override - public boolean isValid(long value) { - hiveDecimalWritable.setFromLong(value); - hiveDecimalWritable.mutateEnforcePrecisionScale(precision, scale); - return hiveDecimalWritable.isSet(); - } - } - - /** - * The reader who reads unsigned int data. - */ - public static class TypesFromUInt32PageReader extends TypesFromInt32PageReader { - public TypesFromUInt32PageReader(ValuesReader realReader, int length) { - super(realReader, length); + public long readLong() { + return super.validatedLong(valuesReader.readInteger(), serdeConstants.BIGINT_TYPE_NAME, true); } - public TypesFromUInt32PageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public long readLong(int id) { + return super.validatedLong(dict.decodeToLong(id), serdeConstants.BIGINT_TYPE_NAME, true); } @Override - public boolean isValid(long value) { - return (value >= 0); + public long readInteger() { + return super.validatedLong(valuesReader.readInteger(), serdeConstants.INT_TYPE_NAME, true); } @Override - public boolean isValid(float value) { - return (value >= 0); + public long readInteger(int id) { + return super.validatedLong(dict.decodeToInt(id), serdeConstants.INT_TYPE_NAME, true); } @Override - public boolean isValid(double value) { - return (value >= 0); + public long readSmallInt() { + return validatedLong(valuesReader.readInteger(), serdeConstants.SMALLINT_TYPE_NAME, true); } - } - /** - * The reader who reads unsigned int data using smallint type. - */ - public static class Types32UInt2SmallintPageReader extends TypesFromInt32PageReader { - public Types32UInt2SmallintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public long readSmallInt(int id) { + return validatedLong(dict.decodeToInt(id), serdeConstants.SMALLINT_TYPE_NAME, true); } - public Types32UInt2SmallintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public long readTinyInt() { + return validatedLong(valuesReader.readInteger(), serdeConstants.TINYINT_TYPE_NAME, true); } @Override - public boolean isValid(long value) { - return ((value <= Short.MAX_VALUE) && (value >= 0)); + public long readTinyInt(int id) { + return validatedLong(dict.decodeToInt(id), serdeConstants.TINYINT_TYPE_NAME, true); } - } - /** - * The reader who reads unsigned int data using tinyint type. - */ - public static class Types32UInt2TinyintPageReader extends TypesFromInt32PageReader { - public Types32UInt2TinyintPageReader(ValuesReader realReader, int length) { - super(realReader, length); + @Override + public float readFloat() { + return (float) super.validatedLong(valuesReader.readInteger(), serdeConstants.BIGINT_TYPE_NAME, + true); } - public Types32UInt2TinyintPageReader(Dictionary dict, int length) { - super(dict, length); + @Override + public float readFloat(int id) { + return (float) super.validatedLong(dict.decodeToLong(id), serdeConstants.BIGINT_TYPE_NAME, + true); } @Override - public boolean isValid(long value) { - return ((value <= Byte.MAX_VALUE) && (value >= 0)); + public double readDouble() { + return (double) super.validatedLong(valuesReader.readInteger(), + serdeConstants.BIGINT_TYPE_NAME, true); } - } - - /** - * The reader who reads unsigned int data using Decimal type. - */ - public static class Types32UInt2DecimalPageReader extends TypesFromInt32PageReader { - private int precision = 0; - private int scale = 0; - private final HiveDecimalWritable hiveDecimalWritable = new HiveDecimalWritable(0L); - public Types32UInt2DecimalPageReader(ValuesReader realReader, int length, int precision, - int scale) { - super(realReader, length); - this.precision = precision; - this.scale = scale; + @Override + public double readDouble(int id) { + return (double) super.validatedLong(dict.decodeToLong(id), serdeConstants.BIGINT_TYPE_NAME, + true); } - public Types32UInt2DecimalPageReader(Dictionary dict, int length, int precision, int scale) { - super(dict, length); - this.precision = precision; - this.scale = scale; + @Override + public HiveDecimalWritable readDecimal() { + long validatedIntValue = super.validatedLong(valuesReader.readInteger(), + serdeConstants.INT_TYPE_NAME, true); + if (super.isValid) { + return super.validatedDecimal(validatedIntValue); + } else { + return null; + } } @Override - public boolean isValid(long value) { - hiveDecimalWritable.setFromLong(value); - hiveDecimalWritable.mutateEnforcePrecisionScale(precision, scale); - return ((value >= 0) && hiveDecimalWritable.isSet()); + public HiveDecimalWritable readDecimal(int id) { + long validatedIntValue = super.validatedLong(dict.decodeToInt(id), + serdeConstants.INT_TYPE_NAME, true); + if (super.isValid) { + return super.validatedDecimal(validatedIntValue); + } else { + return null; + } } } /** * The reader who reads from the underlying float value value. Implementation is in consist with * ETypeConverter EFLOAT_CONVERTER + * + * The data is read as float from the reader, then validated, converted and returned as per the + * type defined in HMS. */ public static class TypesFromFloatPageReader extends DefaultParquetDataColumnReader { - public TypesFromFloatPageReader(ValuesReader realReader, int length) { - super(realReader, length); + public TypesFromFloatPageReader(ValuesReader realReader, int length, int precision, int scale) { + super(realReader, length, precision, scale); } - public TypesFromFloatPageReader(Dictionary realReader, int length) { - super(realReader, length); + public TypesFromFloatPageReader(Dictionary dict, int length, int precision, int scale) { + super(dict, length, precision, scale); } @Override @@ -846,6 +918,49 @@ public double readDouble(int id) { return convertToBytes(value); } + @Override + public long readLong() { + return (long)(super.validatedDouble(valuesReader.readFloat(), + serdeConstants.BIGINT_TYPE_NAME)); + } + + @Override + public long readLong(int id) { + return (long)(super.validatedDouble(dict.decodeToFloat(id), serdeConstants.BIGINT_TYPE_NAME)); + } + + @Override + public long readInteger() { + return (long)(super.validatedDouble(valuesReader.readFloat(), serdeConstants.INT_TYPE_NAME)); + } + + @Override + public long readInteger(int id) { + return (long)(super.validatedDouble(dict.decodeToFloat(id), serdeConstants.INT_TYPE_NAME)); + } + + @Override + public long readSmallInt() { + return (long)super.validatedDouble(valuesReader.readFloat(), + serdeConstants.SMALLINT_TYPE_NAME); + } + + @Override + public long readSmallInt(int id) { + return (long)super.validatedDouble(dict.decodeToFloat(id), serdeConstants.SMALLINT_TYPE_NAME); + } + + @Override + public long readTinyInt() { + return (long)super.validatedDouble(valuesReader.readFloat(), + serdeConstants.TINYINT_TYPE_NAME); + } + + @Override + public long readTinyInt(int id) { + return (long)super.validatedDouble(dict.decodeToFloat(id), serdeConstants.TINYINT_TYPE_NAME); + } + private static String convertToString(float value) { return Float.toString(value); } @@ -853,19 +968,32 @@ private static String convertToString(float value) { private static byte[] convertToBytes(float value) { return convertToBytes(convertToString(value)); } + + @Override + public HiveDecimalWritable readDecimal() { + return super.validatedDecimal(valuesReader.readFloat()); + } + + @Override + public HiveDecimalWritable readDecimal(int id) { + return super.validatedDecimal(dict.decodeToFloat(id)); + } } /** * The reader who reads from the underlying double value value. + * + * The data is read as double from the reader, then validated, converted and returned as per the + * type defined in HMS. */ public static class TypesFromDoublePageReader extends DefaultParquetDataColumnReader { - public TypesFromDoublePageReader(ValuesReader realReader, int length) { - super(realReader, length); + public TypesFromDoublePageReader(ValuesReader realReader, int length, int precision, int scale) { + super(realReader, length, precision, scale); } - public TypesFromDoublePageReader(Dictionary dict, int length) { - super(dict, length); + public TypesFromDoublePageReader(Dictionary dict, int length, int precision, int scale) { + super(dict, length, precision, scale); } @Override @@ -906,6 +1034,61 @@ public TypesFromDoublePageReader(Dictionary dict, int length) { return convertToBytes(value); } + @Override + public long readLong() { + return (long)(super.validatedDouble(valuesReader.readDouble(), + serdeConstants.BIGINT_TYPE_NAME)); + } + + @Override + public long readLong(int id) { + return (long)(super.validatedDouble(dict.decodeToDouble(id), + serdeConstants.BIGINT_TYPE_NAME)); + } + + @Override + public long readInteger() { + return (long)(super.validatedDouble(valuesReader.readDouble(), + serdeConstants.INT_TYPE_NAME)); + } + + @Override + public long readInteger(int id) { + return (long)(super.validatedDouble(dict.decodeToDouble(id), serdeConstants.INT_TYPE_NAME)); + } + + @Override + public long readSmallInt() { + return (long)super.validatedDouble(valuesReader.readDouble(), serdeConstants.SMALLINT_TYPE_NAME); + } + + @Override + public long readSmallInt(int id) { + return (long)super.validatedDouble(dict.decodeToDouble(id), serdeConstants.SMALLINT_TYPE_NAME); + } + + @Override + public long readTinyInt() { + return (long)super.validatedDouble(valuesReader.readDouble(), serdeConstants.TINYINT_TYPE_NAME); + } + + @Override + public long readTinyInt(int id) { + return (long)super.validatedDouble(dict.decodeToDouble(id), serdeConstants.TINYINT_TYPE_NAME); + } + + @Override + public float readFloat() { + return (float)(super.validatedDouble(valuesReader.readDouble(), + serdeConstants.FLOAT_TYPE_NAME)); + } + + @Override + public float readFloat(int id) { + return (float)(super.validatedDouble(dict.decodeToDouble(id), + serdeConstants.FLOAT_TYPE_NAME)); + } + private static String convertToString(double value) { return Double.toString(value); } @@ -913,6 +1096,16 @@ private static String convertToString(double value) { private static byte[] convertToBytes(double value) { return convertToBytes(convertToString(value)); } + + @Override + public HiveDecimalWritable readDecimal() { + return super.validatedDecimal(valuesReader.readDouble()); + } + + @Override + public HiveDecimalWritable readDecimal(int id) { + return super.validatedDecimal(dict.decodeToDouble(id)); + } } /** @@ -1060,18 +1253,22 @@ private static String convertToString(Timestamp value) { /** * The reader who reads from the underlying decimal value value. + * + * The data is read as binary from the reader treated as a decimal, then validated, converted + * and returned as per the type defined in HMS. */ public static class TypesFromDecimalPageReader extends DefaultParquetDataColumnReader { - private HiveDecimalWritable tempDecimal = new HiveDecimalWritable(); private short scale; - public TypesFromDecimalPageReader(ValuesReader realReader, int length, short scale) { - super(realReader, length); + public TypesFromDecimalPageReader(ValuesReader realReader, int length, short scale, + int hivePrecision, int hiveScale) { + super(realReader, length, hivePrecision, hiveScale); this.scale = scale; } - public TypesFromDecimalPageReader(Dictionary dict, int length, short scale) { - super(dict, length); + public TypesFromDecimalPageReader(Dictionary dict, int length, short scale, int hivePrecision, + int hiveScale) { + super(dict, length, hivePrecision, hiveScale); this.scale = scale; } @@ -1113,14 +1310,110 @@ public TypesFromDecimalPageReader(Dictionary dict, int length, short scale) { return convertToBytes(value); } + @Override + public float readFloat() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return (float)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.FLOAT_TYPE_NAME)); + } + + @Override + public float readFloat(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return (float)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.FLOAT_TYPE_NAME)); + } + + @Override + public double readDouble() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return (super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.DOUBLE_TYPE_NAME)); + } + + @Override + public double readDouble(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return (super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.DOUBLE_TYPE_NAME)); + } + + @Override + public long readLong() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.BIGINT_TYPE_NAME)); + } + + @Override + public long readLong(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.BIGINT_TYPE_NAME)); + } + + @Override + public long readInteger() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.INT_TYPE_NAME)); + } + + @Override + public long readInteger(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.INT_TYPE_NAME)); + } + + @Override + public long readSmallInt() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.SMALLINT_TYPE_NAME)); + } + + @Override + public long readSmallInt(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.SMALLINT_TYPE_NAME)); + } + + @Override + public long readTinyInt() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.TINYINT_TYPE_NAME)); + } + + @Override + public long readTinyInt(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return (long)(super.validatedDouble(hiveDecimalWritable.doubleValue(), + serdeConstants.TINYINT_TYPE_NAME)); + } + private String convertToString(Binary value) { - tempDecimal.set(value.getBytesUnsafe(), scale); - return tempDecimal.toString(); + hiveDecimalWritable.set(value.getBytesUnsafe(), scale); + return hiveDecimalWritable.toString(); } private byte[] convertToBytes(Binary value) { return convertToBytes(convertToString(value)); } + + @Override + public HiveDecimalWritable readDecimal() { + hiveDecimalWritable.set(valuesReader.readBytes().getBytesUnsafe(), scale); + return super.validatedDecimal(); + } + + @Override + public HiveDecimalWritable readDecimal(int id) { + hiveDecimalWritable.set(dict.decodeToBinary(id).getBytesUnsafe(), scale); + return super.validatedDecimal(); + } } /** @@ -1191,106 +1484,43 @@ private static ParquetDataColumnReader getDataColumnReaderByTypeHelper(boolean i int length = getVarcharLength(hiveType); String typeName = TypeInfoUtils.getBaseName(hiveType.getTypeName()); + int hivePrecision = + (typeName.equalsIgnoreCase(serdeConstants.DECIMAL_TYPE_NAME)) ? ((DecimalTypeInfo) hiveType) + .getPrecision() : 0; + int hiveScale = + (typeName.equalsIgnoreCase(serdeConstants.DECIMAL_TYPE_NAME)) ? ((DecimalTypeInfo) hiveType) + .getScale() : 0; + switch (parquetType.getPrimitiveTypeName()) { case INT32: if (OriginalType.UINT_8 == parquetType.getOriginalType() || OriginalType.UINT_16 == parquetType.getOriginalType() || OriginalType.UINT_32 == parquetType.getOriginalType() || OriginalType.UINT_64 == parquetType.getOriginalType()) { - switch (typeName) { - case serdeConstants.SMALLINT_TYPE_NAME: - return isDictionary ? new Types32UInt2SmallintPageReader(dictionary, - length) : new Types32UInt2SmallintPageReader(valuesReader, length); - case serdeConstants.TINYINT_TYPE_NAME: - return isDictionary ? new Types32UInt2TinyintPageReader(dictionary, - length) : new Types32UInt2TinyintPageReader(valuesReader, length); - case serdeConstants.DECIMAL_TYPE_NAME: - return isDictionary ? - new Types32UInt2DecimalPageReader(dictionary, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()) : - new Types32UInt2DecimalPageReader(valuesReader, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()); - default: - return isDictionary ? new TypesFromUInt32PageReader(dictionary, - length) : new TypesFromUInt32PageReader(valuesReader, length); - } + return isDictionary ? new TypesFromUInt32PageReader(dictionary, length, hivePrecision, + hiveScale) : new TypesFromUInt32PageReader(valuesReader, length, hivePrecision, + hiveScale); } else { - switch (typeName) { - case serdeConstants.SMALLINT_TYPE_NAME: - return isDictionary ? new Types32Int2SmallintPageReader(dictionary, - length) : new Types32Int2SmallintPageReader(valuesReader, length); - case serdeConstants.TINYINT_TYPE_NAME: - return isDictionary ? new Types32Int2TinyintPageReader(dictionary, - length) : new Types32Int2TinyintPageReader(valuesReader, length); - case serdeConstants.DECIMAL_TYPE_NAME: - return isDictionary ? - new Types32Int2DecimalPageReader(dictionary, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()) : - new Types32Int2DecimalPageReader(valuesReader, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()); - default: - return isDictionary ? new TypesFromInt32PageReader(dictionary, - length) : new TypesFromInt32PageReader(valuesReader, length); - } + return isDictionary ? new TypesFromInt32PageReader(dictionary, length, hivePrecision, + hiveScale) : new TypesFromInt32PageReader(valuesReader, length, hivePrecision, + hiveScale); } case INT64: if (OriginalType.UINT_8 == parquetType.getOriginalType() || OriginalType.UINT_16 == parquetType.getOriginalType() || OriginalType.UINT_32 == parquetType.getOriginalType() || OriginalType.UINT_64 == parquetType.getOriginalType()) { - switch (typeName) { - case serdeConstants.INT_TYPE_NAME: - return isDictionary ? new Types64UInt2IntPageReader(dictionary, - length) : new Types64UInt2IntPageReader(valuesReader, length); - case serdeConstants.SMALLINT_TYPE_NAME: - return isDictionary ? new Types64UInt2SmallintPageReader(dictionary, - length) : new Types64UInt2SmallintPageReader(valuesReader, length); - case serdeConstants.TINYINT_TYPE_NAME: - return isDictionary ? new Types64UInt2TinyintPageReader(dictionary, - length) : new Types64UInt2TinyintPageReader(valuesReader, length); - case serdeConstants.DECIMAL_TYPE_NAME: - return isDictionary ? - new Types64UInt2DecimalPageReader(dictionary, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()) : - new Types64UInt2DecimalPageReader(valuesReader, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()); - default: - return isDictionary ? new TypesFromUInt64PageReader(dictionary, - length) : new TypesFromUInt64PageReader(valuesReader, length); - } + return isDictionary ? new TypesFromUInt64PageReader(dictionary, length, hivePrecision, + hiveScale) : new TypesFromUInt64PageReader(valuesReader, length, hivePrecision, + hiveScale); } else { - switch (typeName) { - case serdeConstants.INT_TYPE_NAME: - return isDictionary ? new Types64Int2IntPageReader(dictionary, - length) : new Types64Int2IntPageReader(valuesReader, length); - case serdeConstants.SMALLINT_TYPE_NAME: - return isDictionary ? new Types64Int2SmallintPageReader(dictionary, - length) : new Types64Int2SmallintPageReader(valuesReader, length); - case serdeConstants.TINYINT_TYPE_NAME: - return isDictionary ? new Types64Int2TinyintPageReader(dictionary, - length) : new Types64Int2TinyintPageReader(valuesReader, length); - case serdeConstants.DECIMAL_TYPE_NAME: - return isDictionary ? - new Types64Int2DecimalPageReader(dictionary, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()) : - new Types64Int2DecimalPageReader(valuesReader, length, - ((DecimalTypeInfo) hiveType).getPrecision(), - ((DecimalTypeInfo) hiveType).getScale()); - default: - return isDictionary ? new TypesFromInt64PageReader(dictionary, - length) : new TypesFromInt64PageReader(valuesReader, length); - } + return isDictionary ? new TypesFromInt64PageReader(dictionary, length, hivePrecision, + hiveScale) : new TypesFromInt64PageReader(valuesReader, length, hivePrecision, + hiveScale); } case FLOAT: - return isDictionary ? new TypesFromFloatPageReader(dictionary, length) : new - TypesFromFloatPageReader(valuesReader, length); + return isDictionary ? new TypesFromFloatPageReader(dictionary, length, hivePrecision, + hiveScale) : new TypesFromFloatPageReader(valuesReader, length, hivePrecision, hiveScale); case INT96: return isDictionary ? new TypesFromInt96PageReader(dictionary, length, skipTimestampConversion) : new @@ -1302,11 +1532,13 @@ private static ParquetDataColumnReader getDataColumnReaderByTypeHelper(boolean i case FIXED_LEN_BYTE_ARRAY: return getConvertorFromBinary(isDictionary, parquetType, hiveType, valuesReader, dictionary); case DOUBLE: - return isDictionary ? new TypesFromDoublePageReader(dictionary, length) : new - TypesFromDoublePageReader(valuesReader, length); + return isDictionary ? new TypesFromDoublePageReader(dictionary, length, hivePrecision, + hiveScale) : new TypesFromDoublePageReader(valuesReader, length, hivePrecision, + hiveScale); default: - return isDictionary ? new DefaultParquetDataColumnReader(dictionary, length) : new - DefaultParquetDataColumnReader(valuesReader, length); + return isDictionary ? new DefaultParquetDataColumnReader(dictionary, length, hivePrecision, + hiveScale) : new DefaultParquetDataColumnReader(valuesReader, length, hivePrecision, + hiveScale); } } @@ -1319,6 +1551,14 @@ private static ParquetDataColumnReader getConvertorFromBinary(boolean isDict, // max length for varchar and char cases int length = getVarcharLength(hiveType); + String typeName = TypeInfoUtils.getBaseName(hiveType.getTypeName()); + + int hivePrecision = + (typeName.equalsIgnoreCase(serdeConstants.DECIMAL_TYPE_NAME)) ? ((DecimalTypeInfo) hiveType) + .getPrecision() : 0; + int hiveScale = + (typeName.equalsIgnoreCase(serdeConstants.DECIMAL_TYPE_NAME)) ? ((DecimalTypeInfo) hiveType) + .getScale() : 0; if (originalType == null) { return isDict ? new DefaultParquetDataColumnReader(dictionary, length) : new @@ -1327,8 +1567,8 @@ private static ParquetDataColumnReader getConvertorFromBinary(boolean isDict, switch (originalType) { case DECIMAL: final short scale = (short) parquetType.asPrimitiveType().getDecimalMetadata().getScale(); - return isDict ? new TypesFromDecimalPageReader(dictionary, length, scale) : new - TypesFromDecimalPageReader(valuesReader, length, scale); + return isDict ? new TypesFromDecimalPageReader(dictionary, length, scale, hivePrecision, hiveScale) : new + TypesFromDecimalPageReader(valuesReader, length, scale, hivePrecision, hiveScale); case UTF8: return isDict ? new TypesFromStringPageReader(dictionary, length) : new TypesFromStringPageReader(valuesReader, length); diff --git ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java index e4c61562e4c670412563b81f07f08af8ac70e4b1..2540421a3e693ba96fa142c58563486ec0f15d1e 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java @@ -20,8 +20,12 @@ import org.apache.hadoop.hive.ql.exec.vector.DoubleColumnVector; import org.apache.hadoop.hive.ql.exec.vector.LongColumnVector; import org.apache.hadoop.hive.ql.exec.vector.TimestampColumnVector; +import org.apache.hadoop.hive.serde.serdeConstants; +import org.apache.hadoop.hive.serde2.io.HiveDecimalWritable; +import org.apache.hadoop.hive.serde2.typeinfo.DecimalTypeInfo; import org.apache.hadoop.hive.serde2.typeinfo.PrimitiveTypeInfo; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo; +import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils; import org.apache.parquet.column.ColumnDescriptor; import org.apache.parquet.column.page.PageReader; import org.apache.parquet.schema.DecimalMetadata; @@ -29,12 +33,14 @@ import java.io.IOException; -import static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName.INT32; -import static org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName.INT64; - /** * It's column level Parquet reader which is used to read a batch of records for a column, * part of the code is referred from Apache Spark and Apache Parquet. + * + * The read calls correspond to the various hivetypes. When the data was read, it would have been + * checked for validity with respect to the hivetype. The isValid call will return the result + * of that check. The readers will keep the value as returned by the reader when valid, and + * set the value to null when it is invalid. */ public class VectorizedPrimitiveColumnReader extends BaseVectorizedColumnReader { @@ -84,9 +90,13 @@ private void readBatchHelper( switch (primitiveColumnType.getPrimitiveCategory()) { case INT: + readIntegers(num, (LongColumnVector) column, rowId); + break; case BYTE: + readTinyInts(num, (LongColumnVector) column, rowId); + break; case SHORT: - readIntegers(num, (LongColumnVector) column, rowId); + readSmallInts(num, (LongColumnVector) column, rowId); break; case DATE: case INTERVAL_YEAR_MONTH: @@ -160,7 +170,55 @@ private void readIntegers( readRepetitionAndDefinitionLevels(); if (definitionLevel >= maxDefLevel) { c.vector[rowId] = dataColumn.readInteger(); - if (dataColumn.isValid(c.vector[rowId])) { + if (dataColumn.isValid()) { + c.isNull[rowId] = false; + c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); + } else { + c.vector[rowId] = 0; + setNullValue(c, rowId); + } + } else { + setNullValue(c, rowId); + } + rowId++; + left--; + } + } + + private void readSmallInts( + int total, + LongColumnVector c, + int rowId) throws IOException { + int left = total; + while (left > 0) { + readRepetitionAndDefinitionLevels(); + if (definitionLevel >= maxDefLevel) { + c.vector[rowId] = dataColumn.readSmallInt(); + if (dataColumn.isValid()) { + c.isNull[rowId] = false; + c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); + } else { + c.vector[rowId] = 0; + setNullValue(c, rowId); + } + } else { + setNullValue(c, rowId); + } + rowId++; + left--; + } + } + + private void readTinyInts( + int total, + LongColumnVector c, + int rowId) throws IOException { + int left = total; + while (left > 0) { + readRepetitionAndDefinitionLevels(); + if (definitionLevel >= maxDefLevel) { + c.vector[rowId] = dataColumn.readTinyInt(); + if (dataColumn.isValid()) { c.isNull[rowId] = false; c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); } else { @@ -184,7 +242,7 @@ private void readDoubles( readRepetitionAndDefinitionLevels(); if (definitionLevel >= maxDefLevel) { c.vector[rowId] = dataColumn.readDouble(); - if (dataColumn.isValid(c.vector[rowId])) { + if (dataColumn.isValid()) { c.isNull[rowId] = false; c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); } else { @@ -227,7 +285,7 @@ private void readLongs( readRepetitionAndDefinitionLevels(); if (definitionLevel >= maxDefLevel) { c.vector[rowId] = dataColumn.readLong(); - if (dataColumn.isValid(c.vector[rowId])) { + if (dataColumn.isValid()) { c.isNull[rowId] = false; c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); } else { @@ -251,7 +309,7 @@ private void readFloats( readRepetitionAndDefinitionLevels(); if (definitionLevel >= maxDefLevel) { c.vector[rowId] = dataColumn.readFloat(); - if (dataColumn.isValid(c.vector[rowId])) { + if (dataColumn.isValid()) { c.isNull[rowId] = false; c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); } else { @@ -272,25 +330,20 @@ private void readDecimal( int rowId) throws IOException { DecimalMetadata decimalMetadata = type.asPrimitiveType().getDecimalMetadata(); + HiveDecimalWritable hiveDecimalWritable = null; fillDecimalPrecisionScale(decimalMetadata, c); int left = total; while (left > 0) { readRepetitionAndDefinitionLevels(); if (definitionLevel >= maxDefLevel) { - if (decimalMetadata != null) { - c.vector[rowId].set(dataColumn.readDecimal(), c.scale); + hiveDecimalWritable = dataColumn.readDecimal(); + if (dataColumn.isValid()) { + c.vector[rowId].set(hiveDecimalWritable); c.isNull[rowId] = false; c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); } else { - long value = dataColumn.readLong(); - if (dataColumn.isValid(value)) { - c.vector[rowId].setFromLong(value); - c.isNull[rowId] = false; - c.isRepeating = c.isRepeating && (c.vector[0] == c.vector[rowId]); - } else { - setNullValue(c, rowId); - } + setNullValue(c, rowId); } } else { setNullValue(c, rowId); @@ -425,22 +478,45 @@ private void decodeDictionaryIds( switch (primitiveColumnType.getPrimitiveCategory()) { case INT: + for (int i = rowId; i < rowId + num; ++i) { + ((LongColumnVector) column).vector[i] = + dictionary.readInteger((int) dictionaryIds.vector[i]); + if (!dictionary.isValid()) { + setNullValue(column, i); + ((LongColumnVector) column).vector[i] = 0; + } + } + break; case BYTE: + for (int i = rowId; i < rowId + num; ++i) { + ((LongColumnVector) column).vector[i] = + dictionary.readTinyInt((int) dictionaryIds.vector[i]); + if (!dictionary.isValid()) { + setNullValue(column, i); + ((LongColumnVector) column).vector[i] = 0; + } + } + break; case SHORT: for (int i = rowId; i < rowId + num; ++i) { ((LongColumnVector) column).vector[i] = - dictionary.readInteger((int) dictionaryIds.vector[i]); - if (!(dictionary.isValid(((LongColumnVector) column).vector[i]))) { + dictionary.readSmallInt((int) dictionaryIds.vector[i]); + if (!dictionary.isValid()) { setNullValue(column, i); ((LongColumnVector) column).vector[i] = 0; } - } break; + } + break; case DATE: case INTERVAL_YEAR_MONTH: case LONG: for (int i = rowId; i < rowId + num; ++i) { ((LongColumnVector) column).vector[i] = dictionary.readLong((int) dictionaryIds.vector[i]); + if (!dictionary.isValid()) { + setNullValue(column, i); + ((LongColumnVector) column).vector[i] = 0; + } } break; case BOOLEAN: @@ -453,6 +529,10 @@ private void decodeDictionaryIds( for (int i = rowId; i < rowId + num; ++i) { ((DoubleColumnVector) column).vector[i] = dictionary.readDouble((int) dictionaryIds.vector[i]); + if (!dictionary.isValid()) { + setNullValue(column, i); + ((DoubleColumnVector) column).vector[i] = 0; + } } break; case BINARY: @@ -483,28 +563,25 @@ private void decodeDictionaryIds( for (int i = rowId; i < rowId + num; ++i) { ((DoubleColumnVector) column).vector[i] = dictionary.readFloat((int) dictionaryIds.vector[i]); + if (!dictionary.isValid()) { + setNullValue(column, i); + ((DoubleColumnVector) column).vector[i] = 0; + } } break; case DECIMAL: DecimalMetadata decimalMetadata = type.asPrimitiveType().getDecimalMetadata(); DecimalColumnVector decimalColumnVector = ((DecimalColumnVector) column); + HiveDecimalWritable hiveDecimalWritable = null; fillDecimalPrecisionScale(decimalMetadata, decimalColumnVector); - if (decimalMetadata != null) { - for (int i = rowId; i < rowId + num; ++i) { - decimalColumnVector.vector[i].set(dictionary.readDecimal((int) dictionaryIds.vector[i]), - decimalColumnVector.scale); - } - } else { - for (int i = rowId; i < rowId + num; ++i) { - long value = dictionary.readLong((int) dictionaryIds.vector[i]); - if (dictionary.isValid(value)) { - decimalColumnVector.vector[i] - .setFromLong(dictionary.readLong((int) dictionaryIds.vector[i])); - } else { - setNullValue(column, i); - } + for (int i = rowId; i < rowId + num; ++i) { + hiveDecimalWritable = dictionary.readDecimal((int) dictionaryIds.vector[i]); + if (dictionary.isValid()) { + decimalColumnVector.vector[i].set(hiveDecimalWritable); + } else { + setNullValue(column, i); } } break; @@ -520,18 +597,25 @@ private void decodeDictionaryIds( } } + /** + * The decimal precision and scale is filled into decimalColumnVector. If the data in + * Parquet is in decimal, the precision and scale will come in from decimalMetadata. If parquet + * is not in decimal, then this call is made because HMS shows the type as decimal. So, the + * precision and scale are picked from hiveType. + * + * @param decimalMetadata + * @param decimalColumnVector + */ private void fillDecimalPrecisionScale(DecimalMetadata decimalMetadata, DecimalColumnVector decimalColumnVector) { if (decimalMetadata != null) { decimalColumnVector.precision = (short) type.asPrimitiveType().getDecimalMetadata().getPrecision(); decimalColumnVector.scale = (short) type.asPrimitiveType().getDecimalMetadata().getScale(); - } else if (type.asPrimitiveType().getPrimitiveTypeName() == INT32) { - decimalColumnVector.precision = 10; - decimalColumnVector.scale = 0; - } else if (type.asPrimitiveType().getPrimitiveTypeName() == INT64) { - decimalColumnVector.precision = 19; - decimalColumnVector.scale = 0; + } else if (TypeInfoUtils.getBaseName(hiveType.getTypeName()) + .equalsIgnoreCase(serdeConstants.DECIMAL_TYPE_NAME)) { + decimalColumnVector.precision = (short) ((DecimalTypeInfo) hiveType).getPrecision(); + decimalColumnVector.scale = (short) ((DecimalTypeInfo) hiveType).getScale(); } else { throw new UnsupportedOperationException( "The underlying Parquet type cannot be converted to Hive Decimal type: " + type); diff --git ql/src/test/queries/clientpositive/type_change_test_fraction.q ql/src/test/queries/clientpositive/type_change_test_fraction.q new file mode 100644 index 0000000000000000000000000000000000000000..17e53606559623fe4441c7b0f8cb74cc7f717eab --- /dev/null +++ ql/src/test/queries/clientpositive/type_change_test_fraction.q @@ -0,0 +1,1921 @@ +-- Create a base table to be used for loading data: Begin +drop table if exists testAltCol_n2; +create table testAltCol_n2 +(cId TINYINT, + cFloat FLOAT, + cDouble DOUBLE, + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(3,2)); + +insert into testAltCol_n2 values +(1, + 1.234e5, + 2.345e67, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23), +(2, + 1.4e-45, + 4.94e-324, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01), +(3, + -1.4e-45, + -4.94e-324, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01), +(4, + 3.4e+38, + 1.79e+308, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99), +(5, + -3.4e+38, + -1.79e+308, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99), +(6, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1), +(7, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1), +(8, + 1234567890123456789, + 1234567890123456789, + 1234567890123456789, + 1, + 12345678, + 1, + 1234567890123456789, + 1, + 12345678, + 1), +(9, + -1234567890123456789, + -1234567890123456789, + -1234567890123456789, + -1, + -12345678, + -1, + -1234567890123456789, + -1, + -12345678, + -1), +(10, + 1234567890, + 1234567890, + 1234567890, + 1, + 12345678, + 1, + 1234567890, + 1, + 12345678, + 1), +(11, + -1234567890, + -1234567890, + -1234567890, + -1, + -12345678, + -1, + -1234567890, + -1, + -12345678, + -1), +(12, + 12345, + 12345, + 12345, + 1, + 12345, + 1, + 12345, + 1, + 12345, + 1), +(13, + -12345, + -12345, + -12345, + -1, + -12345, + -1, + -12345, + -1, + -12345, + -1), +(14, + 123, + 123, + 123, + 1, + 123, + 1, + 123, + 1, + 123, + 1), +(15, + -123, + -123, + -123, + -1, + -123, + -1, + -123, + -1, + -123, + -1), +(16, + 123456789e-8, + 234567890e-8, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23), +(17, + -123456789e-8, + -234567890e-8, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23), +(18, + 123456789e-2, + 234567890e-2, + 12345678.90, + 1.23, + 34567890.12, + 2.34, + 12345678.90, + 1.23, + 34567890.12, + 2.34), +(19, + -123456789e-2, + -234567890e-2, + -12345678.90, + -1.23, + -34567890.12, + -2.34, + -12345678.90, + -1.23, + -34567890.12, + -2.34); + +select cId, cFloat, cDouble from testAltCol_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltCol_n2 order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltCol_n2 order by cId; +-- Create a base table to be used for loading data: End + +-- Enable change of column type +SET hive.metastore.disallow.incompatible.col.type.changes=false; + +-- Disable vectorization +SET hive.vectorized.execution.enabled=false; + +-- Text type: Begin +drop table if exists testAltColT_n2; + +create table testAltColT_n2 stored as textfile as select * from testAltCol_n2; + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColT_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId; + +drop table if exists testAltColT_n2; +-- Text type: End + +-- Sequence File type: Begin +drop table if exists testAltColSF_n2; + +create table testAltColSF_n2 stored as sequencefile as select * from testAltCol_n2; + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColSF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId; + +drop table if exists testAltColSF_n2; +-- Sequence File type: End + +-- RCFile type: Begin +drop table if exists testAltColRCF_n2; + +create table testAltColRCF_n2 stored as rcfile as select * from testAltCol_n2; + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColRCF_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId; + +drop table if exists testAltColRCF_n2; +-- RCFile type: End + +-- ORC type: Begin +drop table if exists testAltColORC_n2; + +create table testAltColORC_n2 stored as orc as select * from testAltCol_n2; + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +-- The following two cases should be enabled after a new version of ORC, that has the fix for +-- ORA-379 is picked up. +-- alter table testAltColORC_n2 replace columns +-- (cId TINYINT, +-- cFloat DECIMAL(16,8), +-- cDouble DECIMAL(16,8), +-- cDecimal38_18 DECIMAL(16,8), +-- cDecimal38_37 DECIMAL(16,8), +-- cDecimal16_8 DECIMAL(16,8), +-- cDecimal3_2 DECIMAL(16,8), +-- cNumeric38_18 DECIMAL(16,8), +-- cNumeric38_37 DECIMAL(16,8), +-- cNumeric16_8 DECIMAL(16,8), +-- cNumeric3_2 DECIMAL(16,8)); + +-- select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +-- order by cId; + +-- alter table testAltColORC_n2 replace columns +-- (cId TINYINT, +-- cFloat DECIMAL(3,2), +-- cDouble DECIMAL(3,2), +-- cDecimal38_18 DECIMAL(3,2), +-- cDecimal38_37 DECIMAL(3,2), +-- cDecimal16_8 DECIMAL(3,2), +-- cDecimal3_2 DECIMAL(3,2), +-- cNumeric38_18 DECIMAL(3,2), +-- cNumeric38_37 DECIMAL(3,2), +-- cNumeric16_8 DECIMAL(3,2), +-- cNumeric3_2 DECIMAL(3,2)); + +-- select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +-- order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +-- The following two cases should be enabled after a new version of ORC, that has the fix for +-- ORA-379 is picked up. +-- alter table testAltColORC_n2 replace columns +-- (cId TINYINT, +-- cFloat NUMERIC(16,8), +-- cDouble NUMERIC(16,8), +-- cDecimal38_18 NUMERIC(16,8), +-- cDecimal38_37 NUMERIC(16,8), +-- cDecimal16_8 NUMERIC(16,8), +-- cDecimal3_2 NUMERIC(16,8), +-- cNumeric38_18 NUMERIC(16,8), +-- cNumeric38_37 NUMERIC(16,8), +-- cNumeric16_8 NUMERIC(16,8), +-- cNumeric3_2 NUMERIC(16,8)); + +-- select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +-- order by cId; + +-- alter table testAltColORC_n2 replace columns +-- (cId TINYINT, +-- cFloat NUMERIC(3,2), +-- cDouble NUMERIC(3,2), +-- cDecimal38_18 NUMERIC(3,2), +-- cDecimal38_37 NUMERIC(3,2), +-- cDecimal16_8 NUMERIC(3,2), +-- cDecimal3_2 NUMERIC(3,2), +-- cNumeric38_18 NUMERIC(3,2), +-- cNumeric38_37 NUMERIC(3,2), +-- cNumeric16_8 NUMERIC(3,2), +-- cNumeric3_2 NUMERIC(3,2)); + +-- select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +-- order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColORC_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId; + +drop table if exists testAltColORC_n2; +-- ORC type: End + +-- Parquet type with Dictionary encoding enabled: Begin +drop table if exists testAltColPDE_n2; + +create table testAltColPDE_n2 stored as parquet as select * from testAltCol_n2; + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColPDE_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId; + +drop table if exists testAltColPDE_n2; +-- Parquet type with Dictionary encoding enabled: End + +-- Parquet type with Dictionary encoding disabled: Begin +drop table if exists testAltColPDD_n2; + +create table testAltColPDD_n2 stored as parquet tblproperties ("parquet.enable.dictionary"="false") as +select * from testAltCol_n2; + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColPDD_n2 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId; + +drop table if exists testAltColPDD_n2; +-- Parquet type with Dictionary encoding disabled: End diff --git ql/src/test/queries/clientpositive/type_change_test_fraction_vectorized.q ql/src/test/queries/clientpositive/type_change_test_fraction_vectorized.q new file mode 100644 index 0000000000000000000000000000000000000000..791dac0e1e9e6338820ac340ae25c588cade9e71 --- /dev/null +++ ql/src/test/queries/clientpositive/type_change_test_fraction_vectorized.q @@ -0,0 +1,1921 @@ +-- Create a base table to be used for loading data: Begin +drop table if exists testAltCol_n3; +create table testAltCol_n3 +(cId TINYINT, + cFloat FLOAT, + cDouble DOUBLE, + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(3,2)); + +insert into testAltCol_n3 values +(1, + 1.234e5, + 2.345e67, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23), +(2, + 1.4e-45, + 4.94e-324, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01), +(3, + -1.4e-45, + -4.94e-324, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01), +(4, + 3.4e+38, + 1.79e+308, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99), +(5, + -3.4e+38, + -1.79e+308, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99), +(6, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1), +(7, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1), +(8, + 1234567890123456789, + 1234567890123456789, + 1234567890123456789, + 1, + 12345678, + 1, + 1234567890123456789, + 1, + 12345678, + 1), +(9, + -1234567890123456789, + -1234567890123456789, + -1234567890123456789, + -1, + -12345678, + -1, + -1234567890123456789, + -1, + -12345678, + -1), +(10, + 1234567890, + 1234567890, + 1234567890, + 1, + 12345678, + 1, + 1234567890, + 1, + 12345678, + 1), +(11, + -1234567890, + -1234567890, + -1234567890, + -1, + -12345678, + -1, + -1234567890, + -1, + -12345678, + -1), +(12, + 12345, + 12345, + 12345, + 1, + 12345, + 1, + 12345, + 1, + 12345, + 1), +(13, + -12345, + -12345, + -12345, + -1, + -12345, + -1, + -12345, + -1, + -12345, + -1), +(14, + 123, + 123, + 123, + 1, + 123, + 1, + 123, + 1, + 123, + 1), +(15, + -123, + -123, + -123, + -1, + -123, + -1, + -123, + -1, + -123, + -1), +(16, + 123456789e-8, + 234567890e-8, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23), +(17, + -123456789e-8, + -234567890e-8, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23), +(18, + 123456789e-2, + 234567890e-2, + 12345678.90, + 1.23, + 34567890.12, + 2.34, + 12345678.90, + 1.23, + 34567890.12, + 2.34), +(19, + -123456789e-2, + -234567890e-2, + -12345678.90, + -1.23, + -34567890.12, + -2.34, + -12345678.90, + -1.23, + -34567890.12, + -2.34); + +select cId, cFloat, cDouble from testAltCol_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltCol_n3 order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltCol_n3 order by cId; +-- Create a base table to be used for loading data: End + +-- Enable change of column type +SET hive.metastore.disallow.incompatible.col.type.changes=false; + +-- Enable vectorization +SET hive.vectorized.execution.enabled=true; + +-- Text type: Begin +drop table if exists testAltColT_n3; + +create table testAltColT_n3 stored as textfile as select * from testAltCol_n3; + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColT_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId; + +drop table if exists testAltColT_n3; +-- Text type: End + +-- Sequence File type: Begin +drop table if exists testAltColSF_n3; + +create table testAltColSF_n3 stored as sequencefile as select * from testAltCol_n3; + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColSF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId; + +drop table if exists testAltColSF_n3; +-- Sequence File type: End + +-- RCFile type: Begin +drop table if exists testAltColRCF_n3; + +create table testAltColRCF_n3 stored as rcfile as select * from testAltCol_n3; + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColRCF_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId; + +drop table if exists testAltColRCF_n3; +-- RCFile type: End + +-- ORC type: Begin +drop table if exists testAltColORC_n3; + +create table testAltColORC_n3 stored as orc as select * from testAltCol_n3; + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +-- The following two cases should be enabled after a new version of ORC, that has the fix for +-- ORA-379 is picked up. +-- alter table testAltColORC_n3 replace columns +-- (cId TINYINT, +-- cFloat DECIMAL(16,8), +-- cDouble DECIMAL(16,8), +-- cDecimal38_18 DECIMAL(16,8), +-- cDecimal38_37 DECIMAL(16,8), +-- cDecimal16_8 DECIMAL(16,8), +-- cDecimal3_2 DECIMAL(16,8), +-- cNumeric38_18 DECIMAL(16,8), +-- cNumeric38_37 DECIMAL(16,8), +-- cNumeric16_8 DECIMAL(16,8), +-- cNumeric3_2 DECIMAL(16,8)); + +-- select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +-- order by cId; + +-- alter table testAltColORC_n3 replace columns +-- (cId TINYINT, +-- cFloat DECIMAL(3,2), +-- cDouble DECIMAL(3,2), +-- cDecimal38_18 DECIMAL(3,2), +-- cDecimal38_37 DECIMAL(3,2), +-- cDecimal16_8 DECIMAL(3,2), +-- cDecimal3_2 DECIMAL(3,2), +-- cNumeric38_18 DECIMAL(3,2), +-- cNumeric38_37 DECIMAL(3,2), +-- cNumeric16_8 DECIMAL(3,2), +-- cNumeric3_2 DECIMAL(3,2)); + +-- select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +-- order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +-- The following two cases should be enabled after a new version of ORC, that has the fix for +-- ORA-379 is picked up. +-- alter table testAltColORC_n3 replace columns +-- (cId TINYINT, +-- cFloat NUMERIC(16,8), +-- cDouble NUMERIC(16,8), +-- cDecimal38_18 NUMERIC(16,8), +-- cDecimal38_37 NUMERIC(16,8), +-- cDecimal16_8 NUMERIC(16,8), +-- cDecimal3_2 NUMERIC(16,8), +-- cNumeric38_18 NUMERIC(16,8), +-- cNumeric38_37 NUMERIC(16,8), +-- cNumeric16_8 NUMERIC(16,8), +-- cNumeric3_2 NUMERIC(16,8)); + +-- select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +-- order by cId; + +-- alter table testAltColORC_n3 replace columns +-- (cId TINYINT, +-- cFloat NUMERIC(3,2), +-- cDouble NUMERIC(3,2), +-- cDecimal38_18 NUMERIC(3,2), +-- cDecimal38_37 NUMERIC(3,2), +-- cDecimal16_8 NUMERIC(3,2), +-- cDecimal3_2 NUMERIC(3,2), +-- cNumeric38_18 NUMERIC(3,2), +-- cNumeric38_37 NUMERIC(3,2), +-- cNumeric16_8 NUMERIC(3,2), +-- cNumeric3_2 NUMERIC(3,2)); + +-- select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +-- select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +-- order by cId; +-- select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +-- order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColORC_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId; + +drop table if exists testAltColORC_n3; +-- ORC type: End + +-- Parquet type with Dictionary encoding enabled: Begin +drop table if exists testAltColPDE_n3; + +create table testAltColPDE_n3 stored as parquet as select * from testAltCol_n3; + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColPDE_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId; + +drop table if exists testAltColPDE_n3; +-- Parquet type with Dictionary encoding enabled: End + +-- Parquet type with Dictionary encoding disabled: Begin +drop table if exists testAltColPDD_n3; + +create table testAltColPDD_n3 stored as parquet tblproperties ("parquet.enable.dictionary"="false") as +select * from testAltCol_n3; + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT); + +select cId, cFloat, cDouble from testAltColPDD_n3 order by cId; +select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId; +select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId; + +drop table if exists testAltColPDD_n3; +-- Parquet type with Dictionary encoding disabled: End diff --git ql/src/test/queries/clientpositive/type_change_test_int.q ql/src/test/queries/clientpositive/type_change_test_int.q index 112a674d5120ff335bdd1cf6f98e5491f249ac2c..0de3c887f764d704b0c1402b5ceeabeea62e9fcd 100644 --- ql/src/test/queries/clientpositive/type_change_test_int.q +++ ql/src/test/queries/clientpositive/type_change_test_int.q @@ -793,4 +793,4 @@ alter table testAltColPDD_n0 replace columns select cId, cBigInt, cInt, cSmallInt, cTinyint from testAltColPDD_n0 order by cId; drop table if exists testAltColPDD_n0; --- Parquet type with Dictionary encoding enabled: End +-- Parquet type with Dictionary encoding disabled: End diff --git ql/src/test/results/clientpositive/type_change_test_fraction.q.out ql/src/test/results/clientpositive/type_change_test_fraction.q.out new file mode 100644 index 0000000000000000000000000000000000000000..07cf8faf27e4c71b9c9282b420abfb3c320f49b8 --- /dev/null +++ ql/src/test/results/clientpositive/type_change_test_fraction.q.out @@ -0,0 +1,10462 @@ +PREHOOK: query: drop table if exists testAltCol_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltCol_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltCol_n2 +(cId TINYINT, + cFloat FLOAT, + cDouble DOUBLE, + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltCol_n2 +POSTHOOK: query: create table testAltCol_n2 +(cId TINYINT, + cFloat FLOAT, + cDouble DOUBLE, + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltCol_n2 +PREHOOK: query: insert into testAltCol_n2 values +(1, + 1.234e5, + 2.345e67, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23), +(2, + 1.4e-45, + 4.94e-324, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01), +(3, + -1.4e-45, + -4.94e-324, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01), +(4, + 3.4e+38, + 1.79e+308, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99), +(5, + -3.4e+38, + -1.79e+308, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99), +(6, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1), +(7, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1), +(8, + 1234567890123456789, + 1234567890123456789, + 1234567890123456789, + 1, + 12345678, + 1, + 1234567890123456789, + 1, + 12345678, + 1), +(9, + -1234567890123456789, + -1234567890123456789, + -1234567890123456789, + -1, + -12345678, + -1, + -1234567890123456789, + -1, + -12345678, + -1), +(10, + 1234567890, + 1234567890, + 1234567890, + 1, + 12345678, + 1, + 1234567890, + 1, + 12345678, + 1), +(11, + -1234567890, + -1234567890, + -1234567890, + -1, + -12345678, + -1, + -1234567890, + -1, + -12345678, + -1), +(12, + 12345, + 12345, + 12345, + 1, + 12345, + 1, + 12345, + 1, + 12345, + 1), +(13, + -12345, + -12345, + -12345, + -1, + -12345, + -1, + -12345, + -1, + -12345, + -1), +(14, + 123, + 123, + 123, + 1, + 123, + 1, + 123, + 1, + 123, + 1), +(15, + -123, + -123, + -123, + -1, + -123, + -1, + -123, + -1, + -123, + -1), +(16, + 123456789e-8, + 234567890e-8, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23), +(17, + -123456789e-8, + -234567890e-8, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23), +(18, + 123456789e-2, + 234567890e-2, + 12345678.90, + 1.23, + 34567890.12, + 2.34, + 12345678.90, + 1.23, + 34567890.12, + 2.34), +(19, + -123456789e-2, + -234567890e-2, + -12345678.90, + -1.23, + -34567890.12, + -2.34, + -12345678.90, + -1.23, + -34567890.12, + -2.34) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@testaltcol_n2 +POSTHOOK: query: insert into testAltCol_n2 values +(1, + 1.234e5, + 2.345e67, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23), +(2, + 1.4e-45, + 4.94e-324, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01), +(3, + -1.4e-45, + -4.94e-324, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01), +(4, + 3.4e+38, + 1.79e+308, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99), +(5, + -3.4e+38, + -1.79e+308, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99), +(6, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1), +(7, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1), +(8, + 1234567890123456789, + 1234567890123456789, + 1234567890123456789, + 1, + 12345678, + 1, + 1234567890123456789, + 1, + 12345678, + 1), +(9, + -1234567890123456789, + -1234567890123456789, + -1234567890123456789, + -1, + -12345678, + -1, + -1234567890123456789, + -1, + -12345678, + -1), +(10, + 1234567890, + 1234567890, + 1234567890, + 1, + 12345678, + 1, + 1234567890, + 1, + 12345678, + 1), +(11, + -1234567890, + -1234567890, + -1234567890, + -1, + -12345678, + -1, + -1234567890, + -1, + -12345678, + -1), +(12, + 12345, + 12345, + 12345, + 1, + 12345, + 1, + 12345, + 1, + 12345, + 1), +(13, + -12345, + -12345, + -12345, + -1, + -12345, + -1, + -12345, + -1, + -12345, + -1), +(14, + 123, + 123, + 123, + 1, + 123, + 1, + 123, + 1, + 123, + 1), +(15, + -123, + -123, + -123, + -1, + -123, + -1, + -123, + -1, + -123, + -1), +(16, + 123456789e-8, + 234567890e-8, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23), +(17, + -123456789e-8, + -234567890e-8, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23), +(18, + 123456789e-2, + 234567890e-2, + 12345678.90, + 1.23, + 34567890.12, + 2.34, + 12345678.90, + 1.23, + 34567890.12, + 2.34), +(19, + -123456789e-2, + -234567890e-2, + -12345678.90, + -1.23, + -34567890.12, + -2.34, + -12345678.90, + -1.23, + -34567890.12, + -2.34) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@testaltcol_n2 +POSTHOOK: Lineage: testaltcol_n2.cdecimal16_8 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cdecimal38_18 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cdecimal38_37 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cdecimal3_2 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cdouble SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cfloat SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cid SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cnumeric16_8 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cnumeric38_18 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cnumeric38_37 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n2.cnumeric3_2 SCRIPT [] +PREHOOK: query: select cId, cFloat, cDouble from testAltCol_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcol_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltCol_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcol_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltCol_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcol_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltCol_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcol_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltCol_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcol_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltCol_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcol_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: drop table if exists testAltColT_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColT_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColT_n2 stored as textfile as select * from testAltCol_n2 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n2 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColT_n2 +POSTHOOK: query: create table testAltColT_n2 stored as textfile as select * from testAltCol_n2 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n2 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColT_n2 +POSTHOOK: Lineage: testaltcolt_n2.cdecimal16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cdecimal38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cdecimal38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cdecimal3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cdouble SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cfloat SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cid SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cnumeric16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cnumeric38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cnumeric38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n2.cnumeric3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: alter table testAltColT_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColT_n2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolt_n2 +PREHOOK: Output: default@testaltcolt_n2 +POSTHOOK: query: drop table if exists testAltColT_n2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolt_n2 +POSTHOOK: Output: default@testaltcolt_n2 +PREHOOK: query: drop table if exists testAltColSF_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColSF_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColSF_n2 stored as sequencefile as select * from testAltCol_n2 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n2 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColSF_n2 +POSTHOOK: query: create table testAltColSF_n2 stored as sequencefile as select * from testAltCol_n2 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n2 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColSF_n2 +POSTHOOK: Lineage: testaltcolsf_n2.cdecimal16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cdecimal38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cdecimal38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cdecimal3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cdouble SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cfloat SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cid SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cnumeric16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cnumeric38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cnumeric38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n2.cnumeric3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: alter table testAltColSF_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColSF_n2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolsf_n2 +PREHOOK: Output: default@testaltcolsf_n2 +POSTHOOK: query: drop table if exists testAltColSF_n2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolsf_n2 +POSTHOOK: Output: default@testaltcolsf_n2 +PREHOOK: query: drop table if exists testAltColRCF_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColRCF_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColRCF_n2 stored as rcfile as select * from testAltCol_n2 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n2 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColRCF_n2 +POSTHOOK: query: create table testAltColRCF_n2 stored as rcfile as select * from testAltCol_n2 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n2 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColRCF_n2 +POSTHOOK: Lineage: testaltcolrcf_n2.cdecimal16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cdecimal38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cdecimal38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cdecimal3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cdouble SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cfloat SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cid SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cnumeric16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cnumeric38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cnumeric38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n2.cnumeric3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: alter table testAltColRCF_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColRCF_n2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolrcf_n2 +PREHOOK: Output: default@testaltcolrcf_n2 +POSTHOOK: query: drop table if exists testAltColRCF_n2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolrcf_n2 +POSTHOOK: Output: default@testaltcolrcf_n2 +PREHOOK: query: drop table if exists testAltColORC_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColORC_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColORC_n2 stored as orc as select * from testAltCol_n2 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n2 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColORC_n2 +POSTHOOK: query: create table testAltColORC_n2 stored as orc as select * from testAltCol_n2 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n2 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColORC_n2 +POSTHOOK: Lineage: testaltcolorc_n2.cdecimal16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cdecimal38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cdecimal38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cdecimal3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cdouble SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cfloat SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cid SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cnumeric16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cnumeric38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cnumeric38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n2.cnumeric3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400 NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 1234567939550609408 1234567890123456768 +9 -1234567939550609408 -1234567890123456768 +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 123400 NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: alter table testAltColORC_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n2 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColORC_n2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolorc_n2 +PREHOOK: Output: default@testaltcolorc_n2 +POSTHOOK: query: drop table if exists testAltColORC_n2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolorc_n2 +POSTHOOK: Output: default@testaltcolorc_n2 +PREHOOK: query: drop table if exists testAltColPDE_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColPDE_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColPDE_n2 stored as parquet as select * from testAltCol_n2 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n2 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColPDE_n2 +POSTHOOK: query: create table testAltColPDE_n2 stored as parquet as select * from testAltCol_n2 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n2 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColPDE_n2 +POSTHOOK: Lineage: testaltcolpde_n2.cdecimal16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cdecimal38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cdecimal38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cdecimal3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cdouble SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cfloat SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cid SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cnumeric16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cnumeric38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cnumeric38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n2.cnumeric3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.0 NULL +2 1.4E-45 NULL +3 -1.4E-45 NULL +4 3.4E38 NULL +5 -3.4E38 NULL +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.401298464324817E-45 4.9E-324 +3 -1.401298464324817E-45 -4.9E-324 +4 3.3999999521443642E38 1.79E308 +5 -3.3999999521443642E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456793955060941E18 1.23456789012345677E18 +9 -1.23456793955060941E18 -1.23456789012345677E18 +10 1.234567936E9 1.23456789E9 +11 -1.234567936E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345678806304932 2.3456789 +17 -1.2345678806304932 -2.3456789 +18 1234567.875 2345678.9 +19 -1234567.875 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 1234567939550609408 1234567890123456768 +9 -1234567939550609408 -1234567890123456768 +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: alter table testAltColPDE_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: drop table if exists testAltColPDE_n2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolpde_n2 +PREHOOK: Output: default@testaltcolpde_n2 +POSTHOOK: query: drop table if exists testAltColPDE_n2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolpde_n2 +POSTHOOK: Output: default@testaltcolpde_n2 +PREHOOK: query: drop table if exists testAltColPDD_n2 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColPDD_n2 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColPDD_n2 stored as parquet tblproperties ("parquet.enable.dictionary"="false") as +select * from testAltCol_n2 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n2 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColPDD_n2 +POSTHOOK: query: create table testAltColPDD_n2 stored as parquet tblproperties ("parquet.enable.dictionary"="false") as +select * from testAltCol_n2 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n2 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColPDD_n2 +POSTHOOK: Lineage: testaltcolpdd_n2.cdecimal16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cdecimal38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cdecimal38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cdecimal3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cdouble SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cfloat SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cid SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cnumeric16_8 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cnumeric38_18 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cnumeric38_37 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n2.cnumeric3_2 SIMPLE [(testaltcol_n2)testaltcol_n2.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.0 NULL +2 1.4E-45 NULL +3 -1.4E-45 NULL +4 3.4E38 NULL +5 -3.4E38 NULL +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.401298464324817E-45 4.9E-324 +3 -1.401298464324817E-45 -4.9E-324 +4 3.3999999521443642E38 1.79E308 +5 -3.3999999521443642E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456793955060941E18 1.23456789012345677E18 +9 -1.23456793955060941E18 -1.23456789012345677E18 +10 1.234567936E9 1.23456789E9 +11 -1.234567936E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345678806304932 2.3456789 +17 -1.2345678806304932 -2.3456789 +18 1234567.875 2345678.9 +19 -1234567.875 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 1234567939550609408 1234567890123456768 +9 -1234567939550609408 -1234567890123456768 +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: alter table testAltColPDD_n2 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n2 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n2 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n2 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: drop table if exists testAltColPDD_n2 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolpdd_n2 +PREHOOK: Output: default@testaltcolpdd_n2 +POSTHOOK: query: drop table if exists testAltColPDD_n2 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolpdd_n2 +POSTHOOK: Output: default@testaltcolpdd_n2 diff --git ql/src/test/results/clientpositive/type_change_test_fraction_vectorized.q.out ql/src/test/results/clientpositive/type_change_test_fraction_vectorized.q.out new file mode 100644 index 0000000000000000000000000000000000000000..cbe218209bbc5861c510332b0c71ffe1cd22b9c2 --- /dev/null +++ ql/src/test/results/clientpositive/type_change_test_fraction_vectorized.q.out @@ -0,0 +1,10462 @@ +PREHOOK: query: drop table if exists testAltCol_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltCol_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltCol_n3 +(cId TINYINT, + cFloat FLOAT, + cDouble DOUBLE, + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: CREATETABLE +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltCol_n3 +POSTHOOK: query: create table testAltCol_n3 +(cId TINYINT, + cFloat FLOAT, + cDouble DOUBLE, + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltCol_n3 +PREHOOK: query: insert into testAltCol_n3 values +(1, + 1.234e5, + 2.345e67, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23), +(2, + 1.4e-45, + 4.94e-324, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01), +(3, + -1.4e-45, + -4.94e-324, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01), +(4, + 3.4e+38, + 1.79e+308, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99), +(5, + -3.4e+38, + -1.79e+308, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99), +(6, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1), +(7, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1), +(8, + 1234567890123456789, + 1234567890123456789, + 1234567890123456789, + 1, + 12345678, + 1, + 1234567890123456789, + 1, + 12345678, + 1), +(9, + -1234567890123456789, + -1234567890123456789, + -1234567890123456789, + -1, + -12345678, + -1, + -1234567890123456789, + -1, + -12345678, + -1), +(10, + 1234567890, + 1234567890, + 1234567890, + 1, + 12345678, + 1, + 1234567890, + 1, + 12345678, + 1), +(11, + -1234567890, + -1234567890, + -1234567890, + -1, + -12345678, + -1, + -1234567890, + -1, + -12345678, + -1), +(12, + 12345, + 12345, + 12345, + 1, + 12345, + 1, + 12345, + 1, + 12345, + 1), +(13, + -12345, + -12345, + -12345, + -1, + -12345, + -1, + -12345, + -1, + -12345, + -1), +(14, + 123, + 123, + 123, + 1, + 123, + 1, + 123, + 1, + 123, + 1), +(15, + -123, + -123, + -123, + -1, + -123, + -1, + -123, + -1, + -123, + -1), +(16, + 123456789e-8, + 234567890e-8, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23), +(17, + -123456789e-8, + -234567890e-8, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23), +(18, + 123456789e-2, + 234567890e-2, + 12345678.90, + 1.23, + 34567890.12, + 2.34, + 12345678.90, + 1.23, + 34567890.12, + 2.34), +(19, + -123456789e-2, + -234567890e-2, + -12345678.90, + -1.23, + -34567890.12, + -2.34, + -12345678.90, + -1.23, + -34567890.12, + -2.34) +PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table +PREHOOK: Output: default@testaltcol_n3 +POSTHOOK: query: insert into testAltCol_n3 values +(1, + 1.234e5, + 2.345e67, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23, + 12345678901234567890.123456789012345678, + 1.2345678901234567890123456789012345678, + 12345678.90123456, + 1.23), +(2, + 1.4e-45, + 4.94e-324, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01, + 00000000000000000000.000000000000000001, + 0.0000000000000000000000000000000000001, + 00000000.00000001, + 0.01), +(3, + -1.4e-45, + -4.94e-324, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01, + -00000000000000000000.000000000000000001, + -0.0000000000000000000000000000000000001, + -00000000.00000001, + -0.01), +(4, + 3.4e+38, + 1.79e+308, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99, + 99999999999999999999.999999999999999999, + 9.9999999999999999999999999999999999999, + 99999999.99999999, + 9.99), +(5, + -3.4e+38, + -1.79e+308, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99, + -99999999999999999999.999999999999999999, + -9.9999999999999999999999999999999999999, + -99999999.99999999, + -9.99), +(6, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1), +(7, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1, + -1), +(8, + 1234567890123456789, + 1234567890123456789, + 1234567890123456789, + 1, + 12345678, + 1, + 1234567890123456789, + 1, + 12345678, + 1), +(9, + -1234567890123456789, + -1234567890123456789, + -1234567890123456789, + -1, + -12345678, + -1, + -1234567890123456789, + -1, + -12345678, + -1), +(10, + 1234567890, + 1234567890, + 1234567890, + 1, + 12345678, + 1, + 1234567890, + 1, + 12345678, + 1), +(11, + -1234567890, + -1234567890, + -1234567890, + -1, + -12345678, + -1, + -1234567890, + -1, + -12345678, + -1), +(12, + 12345, + 12345, + 12345, + 1, + 12345, + 1, + 12345, + 1, + 12345, + 1), +(13, + -12345, + -12345, + -12345, + -1, + -12345, + -1, + -12345, + -1, + -12345, + -1), +(14, + 123, + 123, + 123, + 1, + 123, + 1, + 123, + 1, + 123, + 1), +(15, + -123, + -123, + -123, + -1, + -123, + -1, + -123, + -1, + -123, + -1), +(16, + 123456789e-8, + 234567890e-8, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23, + 12345678.90123456, + 1.23456789, + 34567890.12345678, + 1.23), +(17, + -123456789e-8, + -234567890e-8, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23, + -12345678.90123456, + -1.23456789, + -34567890.12345678, + -1.23), +(18, + 123456789e-2, + 234567890e-2, + 12345678.90, + 1.23, + 34567890.12, + 2.34, + 12345678.90, + 1.23, + 34567890.12, + 2.34), +(19, + -123456789e-2, + -234567890e-2, + -12345678.90, + -1.23, + -34567890.12, + -2.34, + -12345678.90, + -1.23, + -34567890.12, + -2.34) +POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table +POSTHOOK: Output: default@testaltcol_n3 +POSTHOOK: Lineage: testaltcol_n3.cdecimal16_8 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cdecimal38_18 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cdecimal38_37 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cdecimal3_2 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cdouble SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cfloat SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cid SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cnumeric16_8 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cnumeric38_18 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cnumeric38_37 SCRIPT [] +POSTHOOK: Lineage: testaltcol_n3.cnumeric3_2 SCRIPT [] +PREHOOK: query: select cId, cFloat, cDouble from testAltCol_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcol_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltCol_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcol_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltCol_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcol_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltCol_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcol_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltCol_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcol_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltCol_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcol_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: drop table if exists testAltColT_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColT_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColT_n3 stored as textfile as select * from testAltCol_n3 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n3 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColT_n3 +POSTHOOK: query: create table testAltColT_n3 stored as textfile as select * from testAltCol_n3 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n3 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColT_n3 +POSTHOOK: Lineage: testaltcolt_n3.cdecimal16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cdecimal38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cdecimal38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cdecimal3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cdouble SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cfloat SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cid SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cnumeric16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cnumeric38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cnumeric38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolt_n3.cnumeric3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: alter table testAltColT_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColT_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColT_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolt_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColT_n3 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolt_n3 +PREHOOK: Output: default@testaltcolt_n3 +POSTHOOK: query: drop table if exists testAltColT_n3 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolt_n3 +POSTHOOK: Output: default@testaltcolt_n3 +PREHOOK: query: drop table if exists testAltColSF_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColSF_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColSF_n3 stored as sequencefile as select * from testAltCol_n3 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n3 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColSF_n3 +POSTHOOK: query: create table testAltColSF_n3 stored as sequencefile as select * from testAltCol_n3 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n3 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColSF_n3 +POSTHOOK: Lineage: testaltcolsf_n3.cdecimal16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cdecimal38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cdecimal38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cdecimal3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cdouble SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cfloat SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cid SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cnumeric16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cnumeric38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cnumeric38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolsf_n3.cnumeric3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: alter table testAltColSF_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColSF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColSF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolsf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColSF_n3 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolsf_n3 +PREHOOK: Output: default@testaltcolsf_n3 +POSTHOOK: query: drop table if exists testAltColSF_n3 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolsf_n3 +POSTHOOK: Output: default@testaltcolsf_n3 +PREHOOK: query: drop table if exists testAltColRCF_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColRCF_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColRCF_n3 stored as rcfile as select * from testAltCol_n3 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n3 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColRCF_n3 +POSTHOOK: query: create table testAltColRCF_n3 stored as rcfile as select * from testAltCol_n3 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n3 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColRCF_n3 +POSTHOOK: Lineage: testaltcolrcf_n3.cdecimal16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cdecimal38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cdecimal38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cdecimal3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cdouble SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cfloat SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cid SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cnumeric16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cnumeric38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cnumeric38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolrcf_n3.cnumeric3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456790 2.34567890 +17 -1.23456790 -2.34567890 +18 1234567.90000000 2345678.90000000 +19 -1234567.90000000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: alter table testAltColRCF_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColRCF_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColRCF_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolrcf_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColRCF_n3 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolrcf_n3 +PREHOOK: Output: default@testaltcolrcf_n3 +POSTHOOK: query: drop table if exists testAltColRCF_n3 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolrcf_n3 +POSTHOOK: Output: default@testaltcolrcf_n3 +PREHOOK: query: drop table if exists testAltColORC_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColORC_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColORC_n3 stored as orc as select * from testAltCol_n3 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n3 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColORC_n3 +POSTHOOK: query: create table testAltColORC_n3 stored as orc as select * from testAltCol_n3 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n3 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColORC_n3 +POSTHOOK: Lineage: testaltcolorc_n3.cdecimal16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cdecimal38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cdecimal38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cdecimal3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cdouble SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cfloat SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cid SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cnumeric16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cnumeric38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cnumeric38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolorc_n3.cnumeric3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400.0 Infinity +2 1.4E-45 0.0 +3 -1.4E-45 -0.0 +4 3.4E38 Infinity +5 -3.4E38 -Infinity +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567940000000000.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567940000000000.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567940.000000000000000000 1234567890.000000000000000000 +11 -1234567940.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567900000000000 2.345678900000000000 +17 -1.234567900000000000 -2.345678900000000000 +18 1234567.900000000000000000 2345678.900000000000000000 +19 -1234567.900000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345679000000000000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345679000000000000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400 NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 1234567939550609408 1234567890123456768 +9 -1234567939550609408 -1234567890123456768 +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456789 1 12345678 1 +9 -1234567890123456789 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 123400 NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 1234567 2345678 +19 -1234567 -2345678 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 12345678 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL 99999999 9 +5 NULL NULL -99999999 -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 12345678 1 34567890 1 +17 -12345678 -1 -34567890 -1 +18 12345678 1 34567890 2 +19 -12345678 -1 -34567890 -2 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: alter table testAltColORC_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColORC_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0 0 +3 0 0 +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 1 2 +17 -1 -2 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColORC_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolorc_n3 +#### A masked pattern was here #### +1 NULL 1 NULL 1 +2 0 0 0 0 +3 0 0 0 0 +4 NULL NULL NULL 9 +5 NULL NULL NULL -9 +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL 1 NULL 1 +17 NULL -1 NULL -1 +18 NULL 1 NULL 2 +19 NULL -1 NULL -2 +PREHOOK: query: drop table if exists testAltColORC_n3 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolorc_n3 +PREHOOK: Output: default@testaltcolorc_n3 +POSTHOOK: query: drop table if exists testAltColORC_n3 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolorc_n3 +POSTHOOK: Output: default@testaltcolorc_n3 +PREHOOK: query: drop table if exists testAltColPDE_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColPDE_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColPDE_n3 stored as parquet as select * from testAltCol_n3 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n3 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColPDE_n3 +POSTHOOK: query: create table testAltColPDE_n3 stored as parquet as select * from testAltCol_n3 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n3 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColPDE_n3 +POSTHOOK: Lineage: testaltcolpde_n3.cdecimal16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cdecimal38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cdecimal38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cdecimal3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cdouble SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cfloat SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cid SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cnumeric16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cnumeric38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cnumeric38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpde_n3.cnumeric3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.0 NULL +2 1.4E-45 NULL +3 -1.4E-45 NULL +4 3.4E38 NULL +5 -3.4E38 NULL +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.401298464324817E-45 4.9E-324 +3 -1.401298464324817E-45 -4.9E-324 +4 3.3999999521443642E38 1.79E308 +5 -3.3999999521443642E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456793955060941E18 1.23456789012345677E18 +9 -1.23456793955060941E18 -1.23456789012345677E18 +10 1.234567936E9 1.23456789E9 +11 -1.234567936E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345678806304932 2.3456789 +17 -1.2345678806304932 -2.3456789 +18 1234567.875 2345678.9 +19 -1234567.875 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 1234567939550609408 1234567890123456768 +9 -1234567939550609408 -1234567890123456768 +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456768 1 12345678 1 +9 -1234567890123456768 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456768 1 12345678 1 +9 -1234567890123456768 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: alter table testAltColPDE_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDE_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDE_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpde_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: drop table if exists testAltColPDE_n3 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolpde_n3 +PREHOOK: Output: default@testaltcolpde_n3 +POSTHOOK: query: drop table if exists testAltColPDE_n3 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolpde_n3 +POSTHOOK: Output: default@testaltcolpde_n3 +PREHOOK: query: drop table if exists testAltColPDD_n3 +PREHOOK: type: DROPTABLE +POSTHOOK: query: drop table if exists testAltColPDD_n3 +POSTHOOK: type: DROPTABLE +PREHOOK: query: create table testAltColPDD_n3 stored as parquet tblproperties ("parquet.enable.dictionary"="false") as +select * from testAltCol_n3 +PREHOOK: type: CREATETABLE_AS_SELECT +PREHOOK: Input: default@testaltcol_n3 +PREHOOK: Output: database:default +PREHOOK: Output: default@testAltColPDD_n3 +POSTHOOK: query: create table testAltColPDD_n3 stored as parquet tblproperties ("parquet.enable.dictionary"="false") as +select * from testAltCol_n3 +POSTHOOK: type: CREATETABLE_AS_SELECT +POSTHOOK: Input: default@testaltcol_n3 +POSTHOOK: Output: database:default +POSTHOOK: Output: default@testAltColPDD_n3 +POSTHOOK: Lineage: testaltcolpdd_n3.cdecimal16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cdecimal38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cdecimal38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cdecimal3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdecimal3_2, type:decimal(3,2), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cdouble SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cdouble, type:double, comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cfloat SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cfloat, type:float, comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cid SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cid, type:tinyint, comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cnumeric16_8 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric16_8, type:decimal(16,8), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cnumeric38_18 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_18, type:decimal(38,18), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cnumeric38_37 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric38_37, type:decimal(38,37), comment:null), ] +POSTHOOK: Lineage: testaltcolpdd_n3.cnumeric3_2 SIMPLE [(testaltcol_n3)testaltcol_n3.FieldSchema(name:cnumeric3_2, type:decimal(3,2), comment:null), ] +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.4E-45 4.9E-324 +3 -1.4E-45 -4.9E-324 +4 3.4E38 1.79E308 +5 -3.4E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456789012345677E18 +9 -1.23456794E18 -1.23456789012345677E18 +10 1.23456794E9 1.23456789E9 +11 -1.23456794E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456789 +17 -1.2345679 -2.3456789 +18 1234567.9 2345678.9 +19 -1234567.9 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.2345678901234567890123456789000000000 12345678.90123456 1.23 +2 0.000000000000000001 0.0000000000000000000000000000000000000 0.00000001 0.01 +3 -0.000000000000000001 0.0000000000000000000000000000000000000 -0.00000001 -0.01 +4 99999999999999999999.999999999999999999 NULL 99999999.99999999 9.99 +5 -99999999999999999999.999999999999999999 NULL -99999999.99999999 -9.99 +6 1.000000000000000000 1.0000000000000000000000000000000000000 1.00000000 1.00 +7 -1.000000000000000000 -1.0000000000000000000000000000000000000 -1.00000000 -1.00 +8 1234567890123456789.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +9 -1234567890123456789.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +10 1234567890.000000000000000000 1.0000000000000000000000000000000000000 12345678.00000000 1.00 +11 -1234567890.000000000000000000 -1.0000000000000000000000000000000000000 -12345678.00000000 -1.00 +12 12345.000000000000000000 1.0000000000000000000000000000000000000 12345.00000000 1.00 +13 -12345.000000000000000000 -1.0000000000000000000000000000000000000 -12345.00000000 -1.00 +14 123.000000000000000000 1.0000000000000000000000000000000000000 123.00000000 1.00 +15 -123.000000000000000000 -1.0000000000000000000000000000000000000 -123.00000000 -1.00 +16 12345678.901234560000000000 1.2345678900000000000000000000000000000 34567890.12345678 1.23 +17 -12345678.901234560000000000 -1.2345678900000000000000000000000000000 -34567890.12345678 -1.23 +18 12345678.900000000000000000 1.2300000000000000000000000000000000000 34567890.12000000 2.34 +19 -12345678.900000000000000000 -1.2300000000000000000000000000000000000 -34567890.12000000 -2.34 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat FLOAT, + cDouble FLOAT, + cDecimal38_18 FLOAT, + cDecimal38_37 FLOAT, + cDecimal16_8 FLOAT, + cDecimal3_2 FLOAT, + cNumeric38_18 FLOAT, + cNumeric38_37 FLOAT, + cNumeric16_8 FLOAT, + cNumeric3_2 FLOAT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.0 NULL +2 1.4E-45 NULL +3 -1.4E-45 NULL +4 3.4E38 NULL +5 -3.4E38 NULL +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456794E18 1.23456794E18 +9 -1.23456794E18 -1.23456794E18 +10 1.23456794E9 1.23456794E9 +11 -1.23456794E9 -1.23456794E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345679 2.3456788 +17 -1.2345679 -2.3456788 +18 1234567.9 2345679.0 +19 -1234567.9 -2345679.0 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 1.2345679E19 1.2345679 1.2345679E7 1.23 +2 1.0E-18 NULL 1.0E-8 0.01 +3 -1.0E-18 NULL -1.0E-8 -0.01 +4 1.0E20 NULL 1.0E8 9.99 +5 -1.0E20 NULL -1.0E8 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456794E18 1.0 1.2345678E7 1.0 +9 -1.23456794E18 -1.0 -1.2345678E7 -1.0 +10 1.23456794E9 1.0 1.2345678E7 1.0 +11 -1.23456794E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.2345679E7 1.2345679 3.4567892E7 1.23 +17 -1.2345679E7 -1.2345679 -3.4567892E7 -1.23 +18 1.2345679E7 1.23 3.4567892E7 2.34 +19 -1.2345679E7 -1.23 -3.4567892E7 -2.34 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DOUBLE, + cDouble DOUBLE, + cDecimal38_18 DOUBLE, + cDecimal38_37 DOUBLE, + cDecimal16_8 DOUBLE, + cDecimal3_2 DOUBLE, + cNumeric38_18 DOUBLE, + cNumeric38_37 DOUBLE, + cNumeric16_8 DOUBLE, + cNumeric3_2 DOUBLE) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.0 2.345E67 +2 1.401298464324817E-45 4.9E-324 +3 -1.401298464324817E-45 -4.9E-324 +4 3.3999999521443642E38 1.79E308 +5 -3.3999999521443642E38 -1.79E308 +6 1.0 1.0 +7 -1.0 -1.0 +8 1.23456793955060941E18 1.23456789012345677E18 +9 -1.23456793955060941E18 -1.23456789012345677E18 +10 1.234567936E9 1.23456789E9 +11 -1.234567936E9 -1.23456789E9 +12 12345.0 12345.0 +13 -12345.0 -12345.0 +14 123.0 123.0 +15 -123.0 -123.0 +16 1.2345678806304932 2.3456789 +17 -1.2345678806304932 -2.3456789 +18 1234567.875 2345678.9 +19 -1234567.875 -2345678.9 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 1.2345678901234567E19 1.2345678901234567 1.234567890123456E7 1.23 +2 1.0E-18 0.0 1.0E-8 0.01 +3 -1.0E-18 0.0 -1.0E-8 -0.01 +4 1.0E20 NULL 9.999999999999999E7 9.99 +5 -1.0E20 NULL -9.999999999999999E7 -9.99 +6 1.0 1.0 1.0 1.0 +7 -1.0 -1.0 -1.0 -1.0 +8 1.23456789012345677E18 1.0 1.2345678E7 1.0 +9 -1.23456789012345677E18 -1.0 -1.2345678E7 -1.0 +10 1.23456789E9 1.0 1.2345678E7 1.0 +11 -1.23456789E9 -1.0 -1.2345678E7 -1.0 +12 12345.0 1.0 12345.0 1.0 +13 -12345.0 -1.0 -12345.0 -1.0 +14 123.0 1.0 123.0 1.0 +15 -123.0 -1.0 -123.0 -1.0 +16 1.234567890123456E7 1.23456789 3.456789012345678E7 1.23 +17 -1.234567890123456E7 -1.23456789 -3.456789012345678E7 -1.23 +18 1.23456789E7 1.23 3.456789012E7 2.34 +19 -1.23456789E7 -1.23 -3.456789012E7 -2.34 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,18), + cDouble DECIMAL(38,18), + cDecimal38_18 DECIMAL(38,18), + cDecimal38_37 DECIMAL(38,18), + cDecimal16_8 DECIMAL(38,18), + cDecimal3_2 DECIMAL(38,18), + cNumeric38_18 DECIMAL(38,18), + cNumeric38_37 DECIMAL(38,18), + cNumeric16_8 DECIMAL(38,18), + cNumeric3_2 DECIMAL(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(38,37), + cDouble DECIMAL(38,37), + cDecimal38_18 DECIMAL(38,37), + cDecimal38_37 DECIMAL(38,37), + cDecimal16_8 DECIMAL(38,37), + cDecimal3_2 DECIMAL(38,37), + cNumeric38_18 DECIMAL(38,37), + cNumeric38_37 DECIMAL(38,37), + cNumeric16_8 DECIMAL(38,37), + cNumeric3_2 DECIMAL(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(16,8), + cDouble DECIMAL(16,8), + cDecimal38_18 DECIMAL(16,8), + cDecimal38_37 DECIMAL(16,8), + cDecimal16_8 DECIMAL(16,8), + cDecimal3_2 DECIMAL(16,8), + cNumeric38_18 DECIMAL(16,8), + cNumeric38_37 DECIMAL(16,8), + cNumeric16_8 DECIMAL(16,8), + cNumeric3_2 DECIMAL(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat DECIMAL(3,2), + cDouble DECIMAL(3,2), + cDecimal38_18 DECIMAL(3,2), + cDecimal38_37 DECIMAL(3,2), + cDecimal16_8 DECIMAL(3,2), + cDecimal3_2 DECIMAL(3,2), + cNumeric38_18 DECIMAL(3,2), + cNumeric38_37 DECIMAL(3,2), + cNumeric16_8 DECIMAL(3,2), + cNumeric3_2 DECIMAL(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,18), + cDouble NUMERIC(38,18), + cDecimal38_18 NUMERIC(38,18), + cDecimal38_37 NUMERIC(38,18), + cDecimal16_8 NUMERIC(38,18), + cDecimal3_2 NUMERIC(38,18), + cNumeric38_18 NUMERIC(38,18), + cNumeric38_37 NUMERIC(38,18), + cNumeric16_8 NUMERIC(38,18), + cNumeric3_2 NUMERIC(38,18)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.000000000000000000 NULL +2 0.000000000000000000 NULL +3 0.000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 +8 1234567939550609410.000000000000000000 1234567890123456770.000000000000000000 +9 -1234567939550609410.000000000000000000 -1234567890123456770.000000000000000000 +10 1234567936.000000000000000000 1234567890.000000000000000000 +11 -1234567936.000000000000000000 -1234567890.000000000000000000 +12 12345.000000000000000000 12345.000000000000000000 +13 -12345.000000000000000000 -12345.000000000000000000 +14 123.000000000000000000 123.000000000000000000 +15 -123.000000000000000000 -123.000000000000000000 +16 1.234567880630493200 2.345678900000000000 +17 -1.234567880630493200 -2.345678900000000000 +18 1234567.875000000000000000 2345678.900000000000000000 +19 -1234567.875000000000000000 -2345678.900000000000000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 12345678901234567890.123456789012345678 1.234567890123456789 12345678.901234560000000000 1.230000000000000000 +2 0.000000000000000001 0.000000000000000000 0.000000010000000000 0.010000000000000000 +3 -0.000000000000000001 0.000000000000000000 -0.000000010000000000 -0.010000000000000000 +4 99999999999999999999.999999999999999999 NULL 99999999.999999990000000000 9.990000000000000000 +5 -99999999999999999999.999999999999999999 NULL -99999999.999999990000000000 -9.990000000000000000 +6 1.000000000000000000 1.000000000000000000 1.000000000000000000 1.000000000000000000 +7 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 -1.000000000000000000 +8 1234567890123456789.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +9 -1234567890123456789.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +10 1234567890.000000000000000000 1.000000000000000000 12345678.000000000000000000 1.000000000000000000 +11 -1234567890.000000000000000000 -1.000000000000000000 -12345678.000000000000000000 -1.000000000000000000 +12 12345.000000000000000000 1.000000000000000000 12345.000000000000000000 1.000000000000000000 +13 -12345.000000000000000000 -1.000000000000000000 -12345.000000000000000000 -1.000000000000000000 +14 123.000000000000000000 1.000000000000000000 123.000000000000000000 1.000000000000000000 +15 -123.000000000000000000 -1.000000000000000000 -123.000000000000000000 -1.000000000000000000 +16 12345678.901234560000000000 1.234567890000000000 34567890.123456780000000000 1.230000000000000000 +17 -12345678.901234560000000000 -1.234567890000000000 -34567890.123456780000000000 -1.230000000000000000 +18 12345678.900000000000000000 1.230000000000000000 34567890.120000000000000000 2.340000000000000000 +19 -12345678.900000000000000000 -1.230000000000000000 -34567890.120000000000000000 -2.340000000000000000 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(38,37), + cDouble NUMERIC(38,37), + cDecimal38_18 NUMERIC(38,37), + cDecimal38_37 NUMERIC(38,37), + cDecimal16_8 NUMERIC(38,37), + cDecimal3_2 NUMERIC(38,37), + cNumeric38_18 NUMERIC(38,37), + cNumeric38_37 NUMERIC(38,37), + cNumeric16_8 NUMERIC(38,37), + cNumeric3_2 NUMERIC(38,37)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.0000000000000000000000000000000000000 NULL +3 0.0000000000000000000000000000000000000 NULL +4 NULL NULL +5 NULL NULL +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.2345678806304932000000000000000000000 2.3456789000000000000000000000000000000 +17 -1.2345678806304932000000000000000000000 -2.3456789000000000000000000000000000000 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.2345678901234567890123456789000000000 NULL 1.2300000000000000000000000000000000000 +2 0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 0.0000000100000000000000000000000000000 0.0100000000000000000000000000000000000 +3 -0.0000000000000000010000000000000000000 0.0000000000000000000000000000000000000 -0.0000000100000000000000000000000000000 -0.0100000000000000000000000000000000000 +4 NULL NULL NULL 9.9900000000000000000000000000000000000 +5 NULL NULL NULL -9.9900000000000000000000000000000000000 +6 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 1.0000000000000000000000000000000000000 +7 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 -1.0000000000000000000000000000000000000 +8 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +9 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +10 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +11 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +12 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +13 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +14 NULL 1.0000000000000000000000000000000000000 NULL 1.0000000000000000000000000000000000000 +15 NULL -1.0000000000000000000000000000000000000 NULL -1.0000000000000000000000000000000000000 +16 NULL 1.2345678900000000000000000000000000000 NULL 1.2300000000000000000000000000000000000 +17 NULL -1.2345678900000000000000000000000000000 NULL -1.2300000000000000000000000000000000000 +18 NULL 1.2300000000000000000000000000000000000 NULL 2.3400000000000000000000000000000000000 +19 NULL -1.2300000000000000000000000000000000000 NULL -2.3400000000000000000000000000000000000 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(16,8), + cDouble NUMERIC(16,8), + cDecimal38_18 NUMERIC(16,8), + cDecimal38_37 NUMERIC(16,8), + cDecimal16_8 NUMERIC(16,8), + cDecimal3_2 NUMERIC(16,8), + cNumeric38_18 NUMERIC(16,8), + cNumeric38_37 NUMERIC(16,8), + cNumeric16_8 NUMERIC(16,8), + cNumeric3_2 NUMERIC(16,8)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400.00000000 NULL +2 0.00000000 NULL +3 0.00000000 NULL +4 NULL NULL +5 NULL NULL +6 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345.00000000 12345.00000000 +13 -12345.00000000 -12345.00000000 +14 123.00000000 123.00000000 +15 -123.00000000 -123.00000000 +16 1.23456788 2.34567890 +17 -1.23456788 -2.34567890 +18 1234567.87500000 2345678.90000000 +19 -1234567.87500000 -2345678.90000000 +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23456789 12345678.90123456 1.23000000 +2 0.00000000 0.00000000 0.00000001 0.01000000 +3 0.00000000 0.00000000 -0.00000001 -0.01000000 +4 NULL NULL 99999999.99999999 9.99000000 +5 NULL NULL -99999999.99999999 -9.99000000 +6 1.00000000 1.00000000 1.00000000 1.00000000 +7 -1.00000000 -1.00000000 -1.00000000 -1.00000000 +8 NULL 1.00000000 12345678.00000000 1.00000000 +9 NULL -1.00000000 -12345678.00000000 -1.00000000 +10 NULL 1.00000000 12345678.00000000 1.00000000 +11 NULL -1.00000000 -12345678.00000000 -1.00000000 +12 12345.00000000 1.00000000 12345.00000000 1.00000000 +13 -12345.00000000 -1.00000000 -12345.00000000 -1.00000000 +14 123.00000000 1.00000000 123.00000000 1.00000000 +15 -123.00000000 -1.00000000 -123.00000000 -1.00000000 +16 12345678.90123456 1.23456789 34567890.12345678 1.23000000 +17 -12345678.90123456 -1.23456789 -34567890.12345678 -1.23000000 +18 12345678.90000000 1.23000000 34567890.12000000 2.34000000 +19 -12345678.90000000 -1.23000000 -34567890.12000000 -2.34000000 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat NUMERIC(3,2), + cDouble NUMERIC(3,2), + cDecimal38_18 NUMERIC(3,2), + cDecimal38_37 NUMERIC(3,2), + cDecimal16_8 NUMERIC(3,2), + cDecimal3_2 NUMERIC(3,2), + cNumeric38_18 NUMERIC(3,2), + cNumeric38_37 NUMERIC(3,2), + cNumeric16_8 NUMERIC(3,2), + cNumeric3_2 NUMERIC(3,2)) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL +2 0.00 NULL +3 0.00 NULL +4 NULL NULL +5 NULL NULL +6 1.00 1.00 +7 -1.00 -1.00 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 NULL NULL +15 NULL NULL +16 1.23 2.35 +17 -1.23 -2.35 +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL 1.23 NULL 1.23 +2 0.00 0.00 0.00 0.01 +3 0.00 0.00 0.00 -0.01 +4 NULL NULL NULL 9.99 +5 NULL NULL NULL -9.99 +6 1.00 1.00 1.00 1.00 +7 -1.00 -1.00 -1.00 -1.00 +8 NULL 1.00 NULL 1.00 +9 NULL -1.00 NULL -1.00 +10 NULL 1.00 NULL 1.00 +11 NULL -1.00 NULL -1.00 +12 NULL 1.00 NULL 1.00 +13 NULL -1.00 NULL -1.00 +14 NULL 1.00 NULL 1.00 +15 NULL -1.00 NULL -1.00 +16 NULL 1.23 NULL 1.23 +17 NULL -1.23 NULL -1.23 +18 NULL 1.23 NULL 2.34 +19 NULL -1.23 NULL -2.34 +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat BIGINT, + cDouble BIGINT, + cDecimal38_18 BIGINT, + cDecimal38_37 BIGINT, + cDecimal16_8 BIGINT, + cDecimal3_2 BIGINT, + cNumeric38_18 BIGINT, + cNumeric38_37 BIGINT, + cNumeric16_8 BIGINT, + cNumeric3_2 BIGINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 1234567939550609408 1234567890123456768 +9 -1234567939550609408 -1234567890123456768 +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456768 1 12345678 1 +9 -1234567890123456768 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 1234567890123456768 1 12345678 1 +9 -1234567890123456768 -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat INT, + cDouble INT, + cDecimal38_18 INT, + cDecimal38_37 INT, + cDecimal16_8 INT, + cDecimal3_2 INT, + cNumeric38_18 INT, + cNumeric38_37 INT, + cNumeric16_8 INT, + cNumeric3_2 INT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 123400 NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 1234567936 1234567890 +11 -1234567936 -1234567890 +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 12345678 1 +9 NULL -1 -12345678 -1 +10 1234567890 1 12345678 1 +11 -1234567890 -1 -12345678 -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat SMALLINT, + cDouble SMALLINT, + cDecimal38_18 SMALLINT, + cDecimal38_37 SMALLINT, + cDecimal16_8 SMALLINT, + cDecimal3_2 SMALLINT, + cNumeric38_18 SMALLINT, + cNumeric38_37 SMALLINT, + cNumeric16_8 SMALLINT, + cNumeric3_2 SMALLINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 12345 12345 +13 -12345 -12345 +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 12345 1 12345 1 +13 -12345 -1 -12345 -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +PREHOOK: type: ALTERTABLE_REPLACECOLS +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: alter table testAltColPDD_n3 replace columns +(cId TINYINT, + cFloat TINYINT, + cDouble TINYINT, + cDecimal38_18 TINYINT, + cDecimal38_37 TINYINT, + cDecimal16_8 TINYINT, + cDecimal3_2 TINYINT, + cNumeric38_18 TINYINT, + cNumeric38_37 TINYINT, + cNumeric16_8 TINYINT, + cNumeric3_2 TINYINT) +POSTHOOK: type: ALTERTABLE_REPLACECOLS +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3 +PREHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cFloat, cDouble from testAltColPDD_n3 order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL +2 NULL NULL +3 NULL NULL +4 NULL NULL +5 NULL NULL +6 1 1 +7 -1 -1 +8 NULL NULL +9 NULL NULL +10 NULL NULL +11 NULL NULL +12 NULL NULL +13 NULL NULL +14 123 123 +15 -123 -123 +16 NULL NULL +17 NULL NULL +18 NULL NULL +19 NULL NULL +PREHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cDecimal38_18, cDecimal38_37, cDecimal16_8, cDecimal3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +PREHOOK: type: QUERY +PREHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +POSTHOOK: query: select cId, cNumeric38_18, cNumeric38_37, cNumeric16_8, cNumeric3_2 from testAltColPDD_n3 +order by cId +POSTHOOK: type: QUERY +POSTHOOK: Input: default@testaltcolpdd_n3 +#### A masked pattern was here #### +1 NULL NULL NULL NULL +2 NULL 0 NULL NULL +3 NULL 0 NULL NULL +4 NULL NULL NULL NULL +5 NULL NULL NULL NULL +6 1 1 1 1 +7 -1 -1 -1 -1 +8 NULL 1 NULL 1 +9 NULL -1 NULL -1 +10 NULL 1 NULL 1 +11 NULL -1 NULL -1 +12 NULL 1 NULL 1 +13 NULL -1 NULL -1 +14 123 1 123 1 +15 -123 -1 -123 -1 +16 NULL NULL NULL NULL +17 NULL NULL NULL NULL +18 NULL NULL NULL NULL +19 NULL NULL NULL NULL +PREHOOK: query: drop table if exists testAltColPDD_n3 +PREHOOK: type: DROPTABLE +PREHOOK: Input: default@testaltcolpdd_n3 +PREHOOK: Output: default@testaltcolpdd_n3 +POSTHOOK: query: drop table if exists testAltColPDD_n3 +POSTHOOK: type: DROPTABLE +POSTHOOK: Input: default@testaltcolpdd_n3 +POSTHOOK: Output: default@testaltcolpdd_n3