Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHOENIX-7067 View indexes should be created only on non overlapping updatable views #1709

Merged
merged 15 commits into from
Nov 10, 2023

Conversation

virajjasani
Copy link
Contributor

@virajjasani virajjasani commented Oct 16, 2023

Jira: PHOENIX-7067

// for view indexes
if (dataTable.getType() == PTableType.VIEW) {
String physicalName = dataTable.getPhysicalName().getString();
physicalSchemaName = SchemaUtil.getSchemaNameFromFullName(physicalName);
physicalTableName = SchemaUtil.getTableNameFromFullName(physicalName);
List<ColumnName> requiredCols = Lists.newArrayList(indexedColumnNames);
verifyIfDescViewsExtendPk(dataTable, config);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: method name, can get confused with Descending order. Maybe use full verb verifyIfDescendantViewsExtendsPk?

Copy link
Contributor

@jpisaac jpisaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1, one nit

@virajjasani
Copy link
Contributor Author

MutableIndexFailureIT and MutableIndexFailureWithNamespaceIT are flaky tests.

@virajjasani virajjasani merged commit 62ccb3b into apache:master Nov 10, 2023
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants