/** * INTERNAL: * Normalize the expression into a printable structure. * Any joins must be added to form a new root. */ public Expression normalize(ExpressionNormalizer normalizer) { //Bug4736461 Only setTableQualifier if getDatasourceLogin().getTableQualifier() is an empty string to make the window much smaller when //DatabaseTable.qualifiedName is reset if (getTable().getTableQualifier().length() == 0 && (normalizer.getSession().getDatasourceLogin().getTableQualifier().length() != 0)) { getTable().setTableQualifier(normalizer.getSession().getDatasourceLogin().getTableQualifier()); } return super.normalize(normalizer); }
/** * INTERNAL: * Normalize the expression into a printable structure. * Any joins must be added to form a new root. */ @Override public Expression normalize(ExpressionNormalizer normalizer) { if (this.hasBeenNormalized) { return this; } // Bug4736461 Only setTableQualifier if getDatasourceLogin().getTableQualifier() is an empty string to make the window much smaller when // DatabaseTable.qualifiedName is reset if (getTable().getTableQualifier().length() == 0 && (normalizer.getSession().getDatasourceLogin().getTableQualifier().length() != 0)) { getTable().setTableQualifier(normalizer.getSession().getDatasourceLogin().getTableQualifier()); } return super.normalize(normalizer); }
/** * INTERNAL: * Normalize the expression into a printable structure. * Any joins must be added to form a new root. */ @Override public Expression normalize(ExpressionNormalizer normalizer) { if (this.hasBeenNormalized) { return this; } // Bug4736461 Only setTableQualifier if getDatasourceLogin().getTableQualifier() is an empty string to make the window much smaller when // DatabaseTable.qualifiedName is reset if (getTable().getTableQualifier().length() == 0 && (normalizer.getSession().getDatasourceLogin().getTableQualifier().length() != 0)) { getTable().setTableQualifier(normalizer.getSession().getDatasourceLogin().getTableQualifier()); } return super.normalize(normalizer); }