fix old usage of dimension as string instead of dimensionSchema in DataSchema (#3365)

This commit is contained in:
kaijianding 2016-08-17 00:58:04 +08:00 committed by Fangjin Yang
parent ed924bf214
commit eafafce1aa
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class DataSchema
// exclude timestamp from dimensions by default, unless explicitly included in the list of dimensions
if (timestampSpec != null) {
final String timestampColumn = timestampSpec.getTimestampColumn();
if (!(dimensionsSpec.hasCustomDimensions() && dimensionsSpec.getDimensions().contains(timestampColumn))) {
if (!(dimensionsSpec.hasCustomDimensions() && dimensionsSpec.getDimensionNames().contains(timestampColumn))) {
dimensionExclusions.add(timestampColumn);
}
}