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

java.lang.ClassCastException #2667

Merged
merged 3 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import java.util.Map;

public class CreateIndexClause extends AlterClause {
public class CreateIndexClause extends AlterTableClause {
songenjie marked this conversation as resolved.
Show resolved Hide resolved
// in which table the index on, only used when alter = false
private TableName tableName;
// index definition class
Expand All @@ -39,6 +39,7 @@ public CreateIndexClause(TableName tableName, IndexDef indexDef, boolean alter)
this.tableName = tableName;
this.indexDef = indexDef;
this.alter = alter;
this.needTableStable = true;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import java.util.Map;

public class DropIndexClause extends AlterClause {
public class DropIndexClause extends AlterTableClause {
private final String indexName;
private final TableName tableName;
private boolean alter;
Expand All @@ -33,6 +33,7 @@ public DropIndexClause(String indexName, TableName tableName, boolean alter) {
this.indexName = indexName;
this.tableName = tableName;
this.alter = alter;
this.needTableStable = true;
}

public String getIndexName() {
Expand Down