public RelDataType getRowType(RelDataTypeFactory typeFactory) {
return typeFactory.builder()
.add("s", stringType)
.add("i", integerType).build();
}
@Override public Statistic getStatistic() {
return Statistics.of(100d, ImmutableList.<ImmutableBitSet>of(),
ImmutableList.of(COLLATION));
}
};
final RelOptAbstractTable t1 = new RelOptAbstractTable(relOptSchema,
"t1", table.getRowType(typeFactory)) {
|