Skip to content

Conversation

@ajbozarth
Copy link
Member

What changes were proposed in this pull request?

When I added a visibility check for the logs column on the executors page in #14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same.

How was this patch tested?

Tested Manually

No visible UI changes to screenshot.

@ajbozarth
Copy link
Member Author

@srowen and @tgravescs could you take a quick look at this fix for a bug @yhuai found

@ajbozarth
Copy link
Member Author

Also in case the others are on vacation, @vanzin want to take a look too?

@SparkQA
Copy link

SparkQA commented Dec 13, 2016

Test build #70039 has finished for PR 16256 at commit 0f5e470.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

};

$(selector).DataTable(conf);
var dt = $(selector).DataTable(conf);
Copy link
Member

Choose a reason for hiding this comment

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

You know better than I how to implement this. Does the same logic apply to column 16's init above?

Copy link
Member Author

@ajbozarth ajbozarth Dec 13, 2016

Choose a reason for hiding this comment

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

No, the column 16 logic is based on a conf flag, 15 is based on a function using the current page data

@srowen
Copy link
Member

srowen commented Dec 13, 2016

Merged to master (and 2.1 because original change is in 2.1)

asfgit pushed a commit that referenced this pull request Dec 13, 2016
… on initial table load

## What changes were proposed in this pull request?

When I added a visibility check for the logs column on the executors page in #14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same.

## How was this patch tested?

Tested Manually

No visible UI changes to screenshot.

Author: Alex Bozarth <[email protected]>

Closes #16256 from ajbozarth/spark18816.

(cherry picked from commit aebf44e)
Signed-off-by: Sean Owen <[email protected]>
@asfgit asfgit closed this in aebf44e Dec 13, 2016
@ajbozarth ajbozarth deleted the spark18816 branch December 13, 2016 22:08
robert3005 pushed a commit to palantir/spark that referenced this pull request Dec 15, 2016
… on initial table load

## What changes were proposed in this pull request?

When I added a visibility check for the logs column on the executors page in apache#14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same.

## How was this patch tested?

Tested Manually

No visible UI changes to screenshot.

Author: Alex Bozarth <[email protected]>

Closes apache#16256 from ajbozarth/spark18816.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
… on initial table load

## What changes were proposed in this pull request?

When I added a visibility check for the logs column on the executors page in apache#14382 the method I used only ran the check on the initial DataTable creation and not subsequent page loads. I moved the check out of the table definition and instead it runs on each page load. The jQuery DataTable functionality used is the same.

## How was this patch tested?

Tested Manually

No visible UI changes to screenshot.

Author: Alex Bozarth <[email protected]>

Closes apache#16256 from ajbozarth/spark18816.
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.

3 participants