Github user prasadns14 commented on a diff in the pull request: https://github.com/apache/drill/pull/1033#discussion_r152900950 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/ViewHandler.java --- @@ -78,47 +78,58 @@ public PhysicalPlan getPlan(SqlNode sqlNode) throws ValidationException, RelConv final View view = new View(newViewName, viewSql, newViewRelNode.getRowType(), SchemaUtilites.getSchemaPathAsList(defaultSchema)); - validateViewCreationPossibility(drillSchema, createView, context); + final String schemaPath = drillSchema.getFullSchemaName(); --- End diff -- Separated the logic as before
---