-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[explore] add "View samples" modal to action buttons #5770
Conversation
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
985844d
to
09e00f5
Compare
@betodealmeida ping |
There was a problem hiding this 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): |
There was a problem hiding this comment.
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...
There was a problem hiding this comment.
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
09e00f5
to
74df0fa
Compare
* [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)
* [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
Also broke down the


View query
andView results
as differentrequest so that viewing the query does not require fetching the results
anymore.