return null;
}
@Override
public Symbol visitReference(Reference reference, Context context) {
ColumnIdent columnIdent = reference.info().ident().columnIdent();
if (!reference.info().ident().tableIdent().equals(context.table.ident())) {
invalidate(context);
return reference;
}
// where booleanCol; can be handled like: where booleanCol = true;
if (reference.valueType().equals(DataTypes.BOOLEAN)) {
if (columnIdent.equals(context.table.clusteredBy())) {
setClusterBy(context, Literal.newLiteral(true));
}
int idx = context.table.primaryKey().indexOf(columnIdent);
if (idx >= 0) {
setPrimaryKey(context, Literal.newLiteral(true), idx);