@Test
public void testDoubleValueTypeVariance() throws HiveException {
testKeyTypeAggregate(
"variance",
new FakeVectorRowBatchFromObjectIterables(
2,
new String[] {"tinyint", "double"},
Arrays.asList(new Object[]{ 1,null, 1, null}),
Arrays.asList(new Object[]{13.0,null,7.0, 19.0})),
buildHashMap((byte)1, 9.0, null, 0.0));