@Override
  public TransformResultMetadata getResultMetadata() {
    return _resultMetadata;
  }
@Test
  public void testArrayIndexOfAllDouble() {
    ExpressionContext expression = RequestContextUtils.getExpression(
        String.format("array_indexes_of_double(%s, 1.0)", DOUBLE_MV_COLUMN_2));
    TransformFunction transformFunction = TransformFunctionFactory.get(expression, _dataSourceMap);
    assertTrue(transformFunction instanceof ScalarTransformFunctionWrapper);
    assertEquals(transformFunction.getResultMetadata().getDataType(), DataType.INT);
    assertFalse(transformFunction.getResultMetadata().isSingleValue());
    int[][] expectedValues = new int[NUM_ROWS][];
    for (int i = 0; i < NUM_ROWS; i++) {
      int len = _doubleMV2Values[i].length;
      int[] expectedValue = new int[len];
      for (int j = 0; j < len; j++) {
        expectedValue[j] = j;
      }
      expectedValues[i] = expectedValue;
    }
    testTransformFunctionMV(transformFunction, expectedValues);
  }