getSegmentFiltersFromValues = (filterVals, featureMeta) => {
  const {name, tableFieldIndex, type} = featureMeta;
  const filterType =
    type === FEATURE_TYPE.CATEGORICAL ? FILTER_TYPE.INCLUDE : FILTER_TYPE.RANGE;
  return filterVals.map(filterVal => [
    {name, key: tableFieldIndex - 1, type: filterType, value: filterVal},
  ]);
}
determin whether segment filters values are valid
@param  {array} filterVals - `value` field of each segmentFilter
@param  {[array]} featureMeta - feature to segment on, attributes: {name, type, tableFieldIndex, domain}]
@return {[[object]]} - array of array of filters, attributes: {name, key, type, value}]