priyankporwal commented on a change in pull request #889:
URL: https://github.com/apache/phoenix/pull/889#discussion_r492924434



##########
File path: 
phoenix-tools/src/main/java/org/apache/phoenix/schema/SchemaExtractionProcessor.java
##########
@@ -202,12 +202,20 @@ protected String extractCreateViewDDL(PTable table) 
throws SQLException {
 
     private String generateCreateViewDDL(String columnInfoString, String 
baseTableFullName,
             String whereClause, String pSchemaName, String pTableName) {
-        String viewFullName = SchemaUtil.getQualifiedTableName(pSchemaName, 
pTableName);
+        String viewFullName = getPTableFullName(pSchemaName, pTableName);
         StringBuilder outputBuilder = new 
StringBuilder(String.format(CREATE_VIEW, viewFullName,
                 columnInfoString, baseTableFullName, whereClause));
         return outputBuilder.toString();
     }
 
+    private String getPTableFullName(String pSchemaName, String pTableName) {

Review comment:
       Why not add this function to SchemaUtil class itself?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to