phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <>
Subject [jira] [Created] (PHOENIX-3908) Ensure MetaDataEntityNotFound handled for CREATE VIEW
Date Fri, 02 Jun 2017 19:20:04 GMT
James Taylor created PHOENIX-3908:

             Summary: Ensure MetaDataEntityNotFound handled for CREATE VIEW
                 Key: PHOENIX-3908
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor
            Assignee: Maddineni Sukumar

We may already handle this (if so please close), but it's possible that a CREATE VIEW statement
could reference a table that was created in a different connection. We should add a test for
this in UpdateCacheAcrossDifferentClientsIT and a similar retry loop as was done in PhoenixStatement
within CreateTableCompiler here:
        return new BaseMutationPlan(context, operation) {

            public MutationState execute() throws SQLException {
                try {
                    return client.createTable(finalCreate, splits, parent, viewStatement,
viewType, viewColumnConstants, isViewColumnReferenced);
                } finally {
                    if (client.getConnection() != connection) {

This message was sent by Atlassian JIRA

View raw message