*/
public void buildPartialIndexFromTimeStamp(PTable index, TableRef dataTableRef) throws SQLException {
boolean needRestoreIndexState = false;
// Need to change index state from Disable to InActive when build index partially so that
// new changes will be indexed during index rebuilding
AlterIndexStatement indexStatement = FACTORY.alterIndex(FACTORY.namedTable(null,
TableName.create(index.getSchemaName().getString(), index.getTableName().getString())),
dataTableRef.getTable().getTableName().getString(), false, PIndexState.INACTIVE);
alterIndex(indexStatement);
needRestoreIndexState = true;
try {