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

added grammar to support multi-table refresh #2209

Merged
merged 1 commit into from
Jul 6, 2015

Conversation

mikethebeer
Copy link

No description provided.

public class RefreshStatement extends Statement {

private final Table table;
private final List<Table> tableList;
Copy link
Contributor

Choose a reason for hiding this comment

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

I would name it just tables

@mikethebeer mikethebeer force-pushed the m/refresh-multi-table-grammar branch from 55687db to ae1ed7b Compare July 6, 2015 08:45
if (tableInfo.schemaInfo().systemSchema() || indexNames.length == 0) {
// shortcut when refreshing on system tables
// or empty partitioned tables
if (operations.decrementAndGet() == 0) { resultFuture.set(null); }
Copy link

Choose a reason for hiding this comment

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

add newlines

@memcmp
Copy link

memcmp commented Jul 6, 2015

otherwise ack

@mikethebeer mikethebeer force-pushed the m/refresh-multi-table-grammar branch from 6030e95 to 9be759d Compare July 6, 2015 09:00
mikethebeer pushed a commit that referenced this pull request Jul 6, 2015
added grammar to support multi-table refresh
@mikethebeer mikethebeer merged commit bd238c9 into refresh-multi-table Jul 6, 2015
@mikethebeer mikethebeer deleted the m/refresh-multi-table-grammar branch July 6, 2015 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants