Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Test for metadatascan with table name containing underscore#334

Merged
jtaylor-sfdc merged 1 commit intoforcedotcom:masterfrom
mujtabachohan:master
Jul 13, 2013
Merged

Test for metadatascan with table name containing underscore#334
jtaylor-sfdc merged 1 commit intoforcedotcom:masterfrom
mujtabachohan:master

Conversation

@mujtabachohan
Copy link
Copy Markdown
Contributor

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

jtaylor-sfdc added a commit that referenced this pull request Jul 13, 2013
Test for metadatascan with table name containing underscore
@jtaylor-sfdc jtaylor-sfdc merged commit 10900ec into forcedotcom:master Jul 13, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants