-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
Fix regression around low row limit for CSV exports #5866
Conversation
superset/views/core.py
Outdated
return json_success( | ||
json.dumps( | ||
payload_json, default=utils.json_iso_dttm_ser, ignore_nan=True)) | ||
|
||
return json_success(utils.zlib_decompress_to_string(blob)) |
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.
Remove this line?
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.
oopsy
e8385a1
to
a5ae642
Compare
tests/core_tests.py
Outdated
@@ -634,6 +633,7 @@ def test_import_csv(self): | |||
os.remove(filename) | |||
|
|||
def test_dataframe_timezone(self): | |||
import psycopg2 |
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.
nit: import tz from psycopg2
0831330
to
efbff0a
Compare
bae6e8f
to
af0d47d
Compare
af0d47d
to
ca046d3
Compare
Codecov Report
@@ Coverage Diff @@
## master #5866 +/- ##
==========================================
+ Coverage 48.16% 54.26% +6.09%
==========================================
Files 393 328 -65
Lines 23596 14013 -9583
Branches 2630 2607 -23
==========================================
- Hits 11366 7604 -3762
+ Misses 12230 6396 -5834
- Partials 0 13 +13
Continue to review full report at Codecov.
|
Addressed comments, merging. |
* Fix regression around low row limit for CSV exports * fix tests * Still trying to fix tests (cherry picked from commit b9e3159)
* Fix regression around low row limit for CSV exports * fix tests * Still trying to fix tests
Related: #5413 & #5392
@timifasubaa @villebro @john-bodley @betodealmeida