NABoolean isSpecialObject(const QualifiedName& qualifiedName) { if ( isSpecialObject(ToAnsiIdentifier(qualifiedName.getObjectName())) ) return TRUE; return isHBaseMeta(qualifiedName); }
////////////////////////////////////////////////////////////////////////////// // Given a table qualified name, returns the table's name as an Ansi string NAString MVJoinGraph::fixName(const QualifiedName& tableName) const { // If the name already has double-quotes mark, that means it is already // in an Ansi format. if we return it ...AsAnsiString, another set of // double-quotes will be added, and we don't want to do that. if(tableName.getObjectName().contains('"')) { return tableName.getQualifiedNameAsString(); } return tableName.getQualifiedNameAsAnsiString(); }