You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Aman Poonia (JIRA)" <ji...@apache.org> on 2018/11/23 10:36:00 UTC

[jira] [Created] (PHOENIX-5042) Improve the exception message for local index to make it

Aman Poonia created PHOENIX-5042:
------------------------------------

             Summary: Improve the exception message for local index to make it 
                 Key: PHOENIX-5042
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5042
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Aman Poonia


In one of the test we found that LOCAL INDEX Table doesn't support HTableDescriptor as option in create statement. For instance if we do
{code:java}
CREATE local INDEX IDX_AAA_ORDERS ON AAA_ORDERS (o_custkey) INCLUDE (o_orderkey, o_totalprice) DEFERRED_LOG_FLUSH=true;{code}
It throws an error message saying 
{code:java}
Error: ERROR 1009 (42L02): Properties may not be defined for a view. (state=42L02,code=1009){code}
This message doesn't tell how it is related to my local index!!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)