forcedotcom/phoenix — pull request #334 by mujtabachohan (2013-07-13 01:21:25+00:00)
Title: Test for metadatascan with table name containing underscore

For table name containing underscore, PhoenixDatabaseMetaData.getTables throws the following exception. If table name contains underscore then skipscan is used otherwise range scan. To fix this should range scan hint be used in getTables method?

Caused by: java.lang.ArrayIndexOutOfBoundsException: 11
at com.salesforce.phoenix.schema.RowKeySchema.next(RowKeySchema.java:97)
at com.salesforce.phoenix.filter.SkipScanFilter.navigate(SkipScanFilter.java:366)
at com.salesforce.phoenix.filter.SkipScanFilter.intersect(SkipScanFilter.java:188)
at com.salesforce.phoenix.filter.SkipScanFilter.intersect(SkipScanFilter.java:147)
at com.salesforce.phoenix.util.ScanUtil.intersectScanRange(ScanUtil.java:132)
at com.salesforce.phoenix.iterate.ParallelIterators.getIterators(ParallelIterators.java:114)
... 33 more