@Override
  public String getName() {
    return FUNCTION_NAME;
  }
@Test
  public void testTruncateNullColumn() {
    ExpressionContext expression =
        RequestContextUtils.getExpression(String.format("truncate(%s, 0)", INT_SV_NULL_COLUMN));
    TransformFunction transformFunction = TransformFunctionFactory.get(expression, _dataSourceMap);
    Assert.assertTrue(transformFunction instanceof TruncateDecimalTransformFunction);
    Assert.assertEquals(transformFunction.getName(), TransformFunctionType.TRUNCATE.getName());
    double[] expectedValues = new double[NUM_ROWS];
    RoaringBitmap roaringBitmap = new RoaringBitmap();
    for (int i = 0; i < NUM_ROWS; i++) {
      if (isNullRow(i)) {
        roaringBitmap.add(i);
      } else {
        expectedValues[i] = _intSVValues[i];
      }
    }
    testTransformFunctionWithNull(transformFunction, expectedValues, roaringBitmap);
  }