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

2018-11-23 Thread Aman Poonia (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aman Poonia updated PHOENIX-5042:
-
Attachment: PHOENIX-5042.patch

> 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
>Priority: Minor
> Attachments: PHOENIX-5042.patch
>
>
> 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)


[jira] [Updated] (PHOENIX-5042) Improve the exception message for local index to make it easy for user to understand

2018-11-23 Thread Aman Poonia (JIRA)


 [ 
https://issues.apache.org/jira/browse/PHOENIX-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aman Poonia updated PHOENIX-5042:
-
Summary: Improve the exception message for local index to make it easy for 
user to understand   (was: Improve the exception message for local index to 
make it )

> Improve the exception message for local index to make it easy for user to 
> understand 
> -
>
> Key: PHOENIX-5042
> URL: https://issues.apache.org/jira/browse/PHOENIX-5042
> Project: Phoenix
>  Issue Type: Improvement
>Reporter: Aman Poonia
>Assignee: Aman Poonia
>Priority: Minor
> Attachments: PHOENIX-5042.patch
>
>
> 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)