Support null values in DimExtractionFn in topN and groupBy