phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swaroopa kadam <swaroopa.kada...@gmail.com>
Subject ArrayIndexOutOfBound while upserting in a view with index on a base table with index
Date Thu, 06 Jun 2019 05:01:51 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message