defaultFilterTypeFromFieldDef = field => {
  const {type} = field;
  switch (type) {
    case FEATURE_TYPE.NUMERICAL:
      return FILTER_TYPE.RANGE;
    case FEATURE_TYPE.CATEGORICAL:
      return FILTER_TYPE.INCLUDE;
    default:
      return FEATURE_TYPE.FUNC;
  }
}
@param {Object} field - contains {name, type, tableFieldIndex, role, dataType, domain}
@returns {String} filterType - one of FILTER_TYPE