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

[explore] add "View samples" modal to action buttons #5770

Merged
merged 3 commits into from
Sep 20, 2018

Conversation

mistercrunch
Copy link
Member

Also broke down the View query and View results as different
request so that viewing the query does not require fetching the results
anymore.
screen shot 2018-08-28 at 11 33 14 am
screen shot 2018-08-28 at 11 33 01 am

@codecov-io
Copy link

codecov-io commented Aug 30, 2018

Codecov Report

Merging #5770 into master will increase coverage by <.01%.
The diff coverage is 49.12%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5770      +/-   ##
==========================================
+ Coverage   48.17%   48.17%   +<.01%     
==========================================
  Files         393      393              
  Lines       23591    23626      +35     
  Branches     2630     2636       +6     
==========================================
+ Hits        11365    11382      +17     
- Misses      12226    12244      +18
Impacted Files Coverage Δ
superset/assets/src/explore/exploreUtils.js 8.75% <0%> (-0.47%) ⬇️
superset/views/base.py 68% <100%> (ø) ⬆️
...et/assets/src/explore/components/RowCountLabel.jsx 64.7% <100%> (ø) ⬆️
...sets/src/explore/components/DisplayQueryButton.jsx 46.34% <33.33%> (-5.9%) ⬇️
superset/viz.py 80.99% <60%> (-0.19%) ⬇️
superset/views/core.py 73.84% <75%> (-0.11%) ⬇️
superset/utils.py 89.26% <0%> (+0.17%) ⬆️
superset/db_engine_specs.py 55.45% <0%> (+0.72%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e5a02a...74df0fa. Read the comment docs.

@mistercrunch
Copy link
Member Author

@betodealmeida ping

Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

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

LGTM, just a comment on generating the samples.

@@ -185,6 +185,17 @@ def get_fillna_for_columns(self, columns=None):
}
return fillna

def get_samples(self):
Copy link
Member

Choose a reason for hiding this comment

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

Should we add a sort by random here? I guess it would be hard since it's database dependent...

Copy link
Member Author

@mistercrunch mistercrunch Sep 20, 2018

Choose a reason for hiding this comment

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

Yup that would be database dependent and could be very expensive...

Also broke down the `View query` and `View results` as different
request so that viewing the query does not require fetching the results
anymore
@mistercrunch mistercrunch merged commit 73d1e45 into apache:master Sep 20, 2018
@mistercrunch mistercrunch deleted the decouple_query_results branch September 20, 2018 20:51
@kristw kristw mentioned this pull request Sep 21, 2018
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Sep 21, 2018
* [explore] add "View samples" modal to action buttons

Also broke down the `View query` and `View results` as different
request so that viewing the query does not require fetching the results
anymore

* fix js tests

* lint

(cherry picked from commit 73d1e45)
betodealmeida pushed a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* [explore] add "View samples" modal to action buttons

Also broke down the `View query` and `View results` as different
request so that viewing the query does not require fetching the results
anymore

* fix js tests

* lint
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants