Alter Table throws java.lang.NullPointerException

2019-07-23 Thread Alexander Batyrshin
Hello all, Got this: alter table TEST_TABLE SET APPEND_ONLY_SCHEMA=true; java.lang.NullPointerException at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:3240) at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:3221) at

Inconsistent Results on Table Join when Index and TIMESTAMP type involved

2019-07-23 Thread Jack Steenkamp
Hi All, I have a use case where I need to join a table with an index on itself in order to find the latest entry. In doing so, I've come a case in Phoenix (4.14.1) where I appear to get incorrect results if I do a join with TIMESTAMPs where indexes are involved. I have a suspicion that this is