[ https://issues.apache.org/jira/browse/PHOENIX-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16462735#comment-16462735 ]
James Taylor commented on PHOENIX-3828: --------------------------------------- [~rajeshbabu]? > Local Index - WrongRegionException when selecting column from base table and > filtering on indexed column > -------------------------------------------------------------------------------------------------------- > > Key: PHOENIX-3828 > URL: https://issues.apache.org/jira/browse/PHOENIX-3828 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.10.0 > Reporter: Mujtaba Chohan > Assignee: Rajeshbabu Chintaguntla > Priority: Major > Fix For: 4.14.0 > > > {noformat} > Caused by: org.apache.hadoop.hbase.regionserver.WrongRegionException: > Requested row out of range for Get on HRegion > T,00Dxx0000001gES005001xx000003DGQX\x7F\xFF\xFE\xB6\xE7(\x91\xDF017526052jdM > ,1493854066165.f1f58ac91adc762ad3e22e7f0ae1d85e., > startKey='00Dxx0000001gES005001xx000003DGQX\x7F\xFF\xFE\xB6\xE7(\x91\xDF017526052jdM > ', getEndKey()='', > row='\x00\x02a05001xx000003DGQX\x7F\xFF\xFE\xB6\xE30\xFD\x970171318362Rz ' > at > org.apache.hadoop.hbase.regionserver.HRegion.checkRow(HRegion.java:5246) > at org.apache.hadoop.hbase.regionserver.HRegion.get(HRegion.java:6990) > at > org.apache.phoenix.util.IndexUtil.wrapResultUsingOffset(IndexUtil.java:529) > at > org.apache.phoenix.coprocessor.BaseScannerRegionObserver$1.nextRaw(BaseScannerRegionObserver.java:500) > at > org.apache.phoenix.coprocessor.DelegateRegionScanner.nextRaw(DelegateRegionScanner.java:77) > at > org.apache.phoenix.coprocessor.DelegateRegionScanner.nextRaw(DelegateRegionScanner.java:77) > at > org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.nextRaw(BaseScannerRegionObserver.java:283) > {noformat} > This is caused when a non-index column is part of select statement while > filtering on an indexed column: {{SELECT STD_COL FROM T WHERE INDEXED_COL < > 1}}. > Schema > {noformat} > CREATE TABLE IF NOT EXISTS T (PKA CHAR(15) NOT NULL, PKF CHAR(3) NOT NULL, > PKP CHAR(15) NOT NULL, CRD DATE NOT NULL, EHI CHAR(15) NOT NULL, STD_COL > VARCHAR, INDEXED_COL INTEGER, > CONSTRAINT PK PRIMARY KEY ( PKA, PKF, PKP, CRD DESC, EHI)) > VERSIONS=1,MULTI_TENANT=true,IMMUTABLE_ROWS=true; > CREATE LOCAL INDEX IF NOT EXISTS TIDX ON T (INDEXED_COL); > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)