Filed a jira: https://issues.apache.org/jira/browse/PHOENIX-5322

Thank you.

On Wed, Jun 5, 2019 at 10:01 PM swaroopa kadam <swaroopa.kada...@gmail.com>
wrote:

> Hi,
>
> I am trying to upsert a row in a view created on a base table which has
> indexes, also the view has index too. I am getting ArrayIndexOutOfBound
> exception from IndexMaintainer class. Without looking at the code -- my
> hypothesis is code might be trying to update indexes on the base table as
> well for the new row?
>
> java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.ArrayList.elementData(ArrayList.java:422)
> at java.util.ArrayList.get(ArrayList.java:435)
> at
> org.apache.phoenix.index.IndexMaintainer.initCachedState(IndexMaintainer.java:1619)
> at
> org.apache.phoenix.index.IndexMaintainer.<init>(IndexMaintainer.java:558)
>
> Do we not allow this?
> I am on Phoenix version 4.13 .
>
> Thank you for the help.
>
> --
>
>
> Swaroopa Kadam
> [image: https://]about.me/swaroopa_kadam
> <https://about.me/swaroopa_kadam?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>
>


-- 


Swaroopa Kadam
[image: https://]about.me/swaroopa_kadam
<https://about.me/swaroopa_kadam?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api>

Reply via email to