@Override
    public Double visitDynamicParam(RexDynamicParam dynamicParam) {
      return 0d;
    }
The cost of a call expression e is computed as:
cost(e) = functionCost + sum_1..n(byteSize(o_i) + cost(o_i))
with the call having operands i in 1..n.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveFilterSortPredicates.java