Ville Brofeldt
aad8209922
chore: Bump PyArrow to latest stable version ( #9696 )
2020-04-30 22:34:27 +03:00
Daniel Vaz Gaspar
2b59075d57
tests(engine_specs): full bigquery engine coverage ( #9702 )
2020-04-30 18:31:15 +01:00
John Bodley
a908813f89
fix(security) Fixing regression in #9689 ( #9705 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-30 10:22:03 -07:00
Daniel Vaz Gaspar
48ef619618
perf(charts): improve performance on GET list ( #9619 )
2020-04-30 17:15:48 +01:00
Erik Ritter
e95af7f783
fix: migrate all slices off the old time grain format ( #9684 )
2020-04-30 08:38:13 -07:00
John Bodley
3b0f8e9c8a
[sql] Adding lighweight Table class ( #9649 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-30 08:38:02 -07:00
ʈᵃᵢ
f7f60cc75d
[Chart & Dashboard] improve listview filter ui and add expandable list support ( #9651 )
...
* better styling for select filters and search input
* add emotion babel plugin
* add spec for search input
* fix async select, add beeter error messages
* add error boundary around views
* cleanup and lint
* add expandable list to dashboards
* fix emotion babel config
* fix specs
* remove commented out code
* add selected style
* DRY up styles
* add icons
* fix type
* add apache license
* fix svgs
* fix ExpandableList type
* reduce custom css
* lint
2020-04-29 21:54:07 -07:00
Bogdan
62a15f027d
Make cache work again for annotations ( #9688 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-04-29 23:57:31 +03:00
Bogdan
283504479e
Fix ENABLE_ROW_LEVEL_SECURITY flag usage ( #9689 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-04-29 23:57:06 +03:00
John Bodley
7f89f12c4a
[debug] Debugging caching issue ( #9665 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-29 12:16:47 -07:00
Grace Guo
52a0afe241
[fix] reduce table metadata fetch for latest_partition check ( #9685 )
...
* [fix] reduce table metadata fetch for latest_partition check
* fix review comment
2020-04-29 11:40:29 -07:00
Daniel Vaz Gaspar
527bee5051
tests(engine_specs): full postgres engine coverage ( #9682 )
2020-04-29 18:20:25 +01:00
Ville Brofeldt
8d2165d96d
fix: catch viz exceptions ( #9669 )
2020-04-29 05:14:27 +03:00
Lily Kuang
b27a81e0da
[logging] deprecation notices for SQLite ( #9662 )
...
* [logging] deprecation notices for SQLite
* [logging] use warning for SQLite notice
* [logging] update grammar
2020-04-28 14:28:09 -07:00
Evan Rusackas
13aa889796
gotta catch 'em all ( #9676 )
2020-04-28 14:10:04 -07:00
Natalie Ruhe
9d755bc1ad
[fix] Support APP_ICON_WIDTH configuration parameter in SPA menu ( #9666 )
...
* Expose additional APP_ICON_WIDTH python config variable to ui via app bootstrap for use in Menu
* Update base.py to inclue APP_ICON_WIDTH via bracket notation instead of .get and adjust Menu proptypes to be required.
Co-authored-by: Natalie Ruhe <nruhe@nruhe.attlocal.net >
Co-authored-by: Natalie Ruhe <natalie@preset.io >
2020-04-28 12:59:03 -07:00
Ville Brofeldt
a52cfcd234
feat: Add geospatial post processing operations ( #9661 )
...
* feat: Add geospatial post processing operations
* Linting
* Refactor
* Add tests
* Improve docs
* Address comments
* fix latitude/longitude mixup
* fix: bad refactor by pycharm
2020-04-28 20:15:16 +03:00
Daniel Vaz Gaspar
f07ca7d836
fix(database): test connection error message for module not found ( #9634 )
2020-04-27 09:24:41 +01:00
Daniel Vaz Gaspar
516bdf6db1
fix(mssql): apply limit and set alias for functions ( #9644 )
2020-04-27 09:23:08 +01:00
John Bodley
1c656feb95
[mypy] Enforcing typing for a number of modules ( #9586 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-24 10:07:35 -07:00
Lily Kuang
b2720074bd
[datesets] feat: add statsd to datasets api ( #9577 )
...
* add statsd to tables api
* [datasets] update export endpoint
* [datasets] update charts api test
2020-04-24 16:38:29 +01:00
John Bodley
955a4fe792
[fix] Automatically add relevant Jinja methods to cache key if present ( #9572 )
...
* [fix] Adding URL params to cache key if present
* [cache] Wrapping Jinja methods
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-24 08:18:22 -07:00
V
7386b017ab
Cast raw 'fetch_values_predicate' to Sqlalchemy Text ( #9643 )
...
Issue https://github.com/apache/incubator-superset/issues/9642
2020-04-24 12:04:18 +03:00
Ville Brofeldt
a6cedaaa87
chore: Improve chart data API + schemas + tests ( #9599 )
...
* Make all fields optional in QueryObject and fix having_druid schema
* fix: datasource type sql to table
* lint
* Add missing fields
* Refactor tests
* Linting
* Refactor query context fixtures
* Add typing to test func
2020-04-23 14:30:48 +03:00
Daniel Vaz Gaspar
76764acfc1
[sql_lab] Improve performance, only use slow func when needed ( #9612 )
2020-04-23 09:35:57 +01:00
Ville Brofeldt
85778f5bec
fix: broken IS NULL and IS NOT NULL operator ( #9613 )
...
* fix: broken is null and is not null operator
* add unit tests
* Rename filter operator enum
2020-04-22 19:11:45 +03:00
Daniel Vaz Gaspar
cba82cfd03
[statsd] Send time metrics in ms not seconds ( #9614 )
2020-04-22 16:46:38 +01:00
ʈᵃᵢ
0b999e3b91
[charts] adds new filters ui ( #9530 )
...
* [charts] adds new filters ui
* move null check to be more visible
* better filter lists and async filter functionality
2020-04-21 12:04:11 -07:00
Lily Kuang
7cefc89c64
[charts] feat: add statsd to charts api ( #9571 )
...
* add statsd to charts api
* update test for charts api
* [charts] add statsd asserts wrapper
* [charts] update api test
* removed white space
2020-04-21 19:57:42 +01:00
John Bodley
237ac59474
[fix] Fixing issue with Jinja filter_value ( #9582 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-20 09:44:45 -07:00
Erik Ritter
083dd6ae1a
[config] Enable dashboard bootstrap payload reduction by default ( #9585 )
2020-04-19 15:41:36 -07:00
Erik Ritter
06471f5877
Re-enable the AnnotationLayerModelView read API ( #9443 )
...
* Re-enable the AnnotationLayerModelView read API
* Fix CI
2020-04-19 10:19:50 -07:00
John Bodley
636ee5d19a
[mypy] Enforcing typing for superset.migrations ( #9583 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-18 23:24:32 -07:00
Ville Brofeldt
0472c11157
fix: Add deprecated fields to QueryObject schema ( #9579 )
...
* fix: Add deprecated fields to QueryObject schema
* linting
2020-04-18 20:28:57 +03:00
Ville Brofeldt
8e439b1115
chore: Add OpenAPI docs to /api/v1/chart/data EP ( #9556 )
...
* Add OpenAPI docs to /api/v1/chart/data EP
* Add missing fields to QueryObject, fix linting and unit test errors
* Fix unit test errors
* abc
* Fix errors uncovered by schema validation and add unit test for invalid payload
* Add schema for response
* Remove unnecessary pylint disable
2020-04-17 16:44:16 +03:00
John Bodley
074e3653e2
[fix] warm up cache error handling ( #9560 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-04-16 15:19:32 -07:00
Daniel Vaz Gaspar
7b11b44abe
[dashboard] New, add statsd metrics to the API ( #9519 )
2020-04-16 10:54:45 +01:00
Bogdan
3574a3a4fb
Make email parsing more robust ( #9523 )
...
* Make email parsing more robust
* Address comment
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-04-15 16:58:03 +03:00
Aliaksei Kushniarevich
ef5e11f45b
[copy] fix: Row Level Security get_rls_filters func SELECT statement ( #9541 )
...
* fix: Row Level Security get_rls_filters func SELECT statement
* More general RowLevelSecurityTests case to avoid improper ids matching
2020-04-15 16:41:54 +03:00
Daniel Vaz Gaspar
d81f720502
[thumbnails] API and celery task for dashboards and charts ( #8947 )
2020-04-15 09:40:14 +01:00
Will Barrett
aef06ded6b
Fix typo in viz.py ( #9533 )
2020-04-14 13:17:36 -07:00
Daniel Vaz Gaspar
c343c2ff1d
[api] refactor, remove unnecessary code, using command pattern now ( #9520 )
2020-04-14 10:11:11 +01:00
Ville Brofeldt
9447381549
deprecate groupby controls in query_obj ( #9366 )
...
* Deprecate groupby from query_obj
* Fix query_object bug
* Fix histogram
* Remove groupby from legacy druid connector and fix first batch of unit tests
* Deprecate some unnecessary tests + fix a few others
* Address comments
* hide SIP-38 changes behind feature flag
* Break out further SIP-38 related tests
* Reslove test errors
* Add feature flag to QueryContext
* Resolve tests and bad rebase
* Backport recent changes from viz.py and fix broken DeckGL charts
* Fix bad rebase
* backport #9522 and address comments
2020-04-14 12:06:10 +03:00
Will Barrett
c1f8c9e397
Another attempt to fix a viz.py bug ( #9522 )
...
* Another attempt to fix a viz.py bug
* Add types to new ddtm attributes
2020-04-14 09:10:04 +03:00
ʈᵃᵢ
f90824fa17
[Dashboard] new listview filters & emotion infra ( #9462 )
...
* [Dashboard] listview filters to match new design
* use title_or_slug filter
* use ?. operator
* move components to components folder
2020-04-13 13:39:55 -07:00
Daniel Vaz Gaspar
622561f756
[charts] New, custom filter for name OR description ( #9492 )
...
* [charts] New, custom filter for name OR description
* Improve test
2020-04-11 07:25:54 +01:00
Bogdan
02b3fb1d63
Add visualization flow to the CTA queries ( #9370 )
...
* Visualize after running Ctas query (#4 )
* Visualize after running Ctas query.
Stub for table viz
Work on the viz
Add JS functionality for Ctas viz
Add test for the table viz flow
Fix test
Add js test for the ctas viz
* Fix tests
* Resolve comments
* Leverate tmpSchema in the query object
* Fix i18n string
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-04-11 00:46:46 +03:00
Ville Brofeldt
a8ce3bccdf
feat: Add post processing to QueryObject ( #9427 )
...
* Add post processing to QueryObject
* Simplify sort signature and require explicit sort order
* Add new operations and unit tests
* linting
* Address comments
* Simplify test method names
* Address comments
* Linting
* remove unnecessary logic
* Apply strict whitelisting to all getattr calls
* Add checking of rolling_type_options and add/improve docs
2020-04-10 20:50:11 +03:00
Daniel Vaz Gaspar
b39e78fca5
[dashboards] New, tittle and slug OR filter ( #9435 )
...
* [dashboards] New, tittle and slug OR filter
* Update requirements, because of prison bump
* Tests
* Fix tests
* Avoid like filter on empty string value
* merge master brings strict typing to the table
2020-04-09 11:14:28 +01:00
Daniel Vaz Gaspar
bb80ceaccc
[dashboards] Fix, update dashboard owners not propagating to charts o… ( #9484 )
...
* [dashboards] Fix, update dashboard owners not propagating to charts owners
* Add tests
* Fix tests
* better naming
2020-04-09 09:37:37 +01:00