Beto Dealmeida
f96189421b
fix: improve pivot post-processing ( #16289 )
...
* fix: improve pivot post-processing
* Add tests
* Trim space from column name
(cherry picked from commit ac8e54d909 )
2021-09-22 13:12:28 +03:00
Beto Dealmeida
b932e5e458
fix: pivot col names in post_process ( #16262 )
...
(cherry picked from commit 542b864e61 )
2021-09-22 13:12:28 +03:00
Rob DiCiuccio
3097f86bf8
fix: Support Jinja template functions in global async queries ( #16412 )
...
* Support Jinja template functions in async queries
* Pylint
* Add tests for async tasks
* Remove redundant has_request_context check
(cherry picked from commit 4e380db3fd )
2021-09-06 14:51:51 +03:00
grumpy-miner
97ef416381
fix: ensure setting operator to None ( #16371 ) ( #16372 )
...
(cherry picked from commit 1f1e2dd29a )
2021-09-06 14:51:51 +03:00
Ville Brofeldt
ad9b0f973b
fix(native-filters): handle null values in value filter ( #16460 )
...
* fix(native-filters): handle null values in value filter
* lint
(cherry picked from commit 1c71eda70f )
2021-09-06 14:51:50 +03:00
Beto Dealmeida
e9ac57e3c2
feat: add Shillelagh DB engine spec ( #16416 )
...
(cherry picked from commit 5e472980a6 )
2021-09-06 14:51:50 +03:00
AAfghahi
97f86ffe1e
fix: copy to Clipboard order ( #16299 )
...
* copy to Clipboard order
* centralized copyToClipboard
* fixed table order
* fixed tests
* added colnames to all viz types
* added colnames to all viz types
* added colnames to all viz types
(cherry picked from commit 631ad02a76 )
2021-09-06 14:51:49 +03:00
Srini Kadamati
745325beb2
feat: Adding Rockset db engine spec ( #16167 )
...
* rockset prototype
* rockset
* t
* removed print / logging
* set a more specific version range for Rockset library
(cherry picked from commit 5f060a2227 )
2021-09-06 14:51:49 +03:00
Ville Brofeldt
c92c6761b6
fix(sqlite): week grain refer to day of week ( #16293 )
...
(cherry picked from commit 5e75baf0cc )
2021-09-06 14:51:49 +03:00
Yongjie Zhao
7f799ed00a
refactor: external metadata fetch API ( #16193 )
...
* refactor: external metadata api
* fix comments
* fix ut
* fix fe lint
* fix UT
* fix UT
(cherry picked from commit 6cd15d54a0 )
2021-09-06 14:51:49 +03:00
Beto Dealmeida
3bfb4d689a
fix: pivot columns with ints for name ( #16259 )
...
(cherry picked from commit 9b2dffeb1d )
2021-08-16 08:45:36 +03:00
Elizabeth Thompson
f36a7f0d2c
fix: remove encryption from db params ( #16214 )
...
* remove encryption from db params
* Update superset/db_engine_specs/base.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
(cherry picked from commit 67c4c0116e )
2021-08-16 08:45:34 +03:00
AAfghahi
185eaf7636
feat: Changing Dataset names ( #16199 )
...
* added google alert
* changing Dataset Names
(cherry picked from commit 6c304b83a9 )
2021-08-16 08:45:33 +03:00
Elizabeth Thompson
52ae86de05
update covid dashboard ( #16183 )
...
(cherry picked from commit 3aefa6925b )
2021-08-16 08:45:33 +03:00
AAfghahi
61a6795961
feat: CLI cleanup ( #16178 )
...
* added google alert
* removing datasets from cli
(cherry picked from commit 6df16c4b1f )
2021-08-16 08:45:32 +03:00
Elizabeth Thompson
93de225f19
feat: change query predicate to text ( #16160 )
...
* change query predicate to text
* make input multiline
* remove value that is too long for the downgrade
* keep logging lint rule
(cherry picked from commit 628169a171 )
2021-08-16 08:45:32 +03:00
Beto Dealmeida
77415685ce
fix: revert data endpoint name ( #16162 )
...
(cherry picked from commit 7b3fce7e81 )
2021-08-16 08:45:31 +03:00
Phillip Kelley-Dotson
cf922e1dcf
fix: ensure that users viewing chart does not automatically save edit data ( #16077 )
...
* add last_change_at migration
* add last_saved_by db migration
* finish rest of api migration
* run precommit
* fix name
* run precommitt
* remove unused mods
* merge migrations
* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset/migrations/versions/f6196627326f_update_chart_permissions.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* fix test
* precommit
* remove print
* fix test
* change test
* test commit
* test 2
* test 3
* third time the charm
* fix put req
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
(cherry picked from commit f0e3b68cc2 )
2021-08-16 08:45:31 +03:00
Ville Brofeldt
630b49f4a3
feat(cross-filters): add support for temporal filters ( #16139 )
...
* feat(cross-filters): add support for temporal filters
* fix test
* make filter optional
* remove mocks
* fix more tests
* remove unnecessary optionality
* fix even more tests
* bump superset-ui
* add isExtra to schema
* address comments
* fix presto test
(cherry picked from commit 63ace7b288 )
2021-08-16 08:45:30 +03:00
Elizabeth Thompson
a38115d517
add config to hide some user menu items ( #16156 )
...
(cherry picked from commit 5488a8a948 )
2021-08-16 08:45:30 +03:00
Yongjie Zhao
33b56bb31d
fix: boolean type into SQL 'in' operator ( #16107 )
...
* fix: boolean type into SQL 'in' operator
* fix ut
* fix ut again
* update url
* remove blank line
(cherry picked from commit bb1d8fe4ef )
2021-08-16 08:45:29 +03:00
Jesse Yang
8146a5cad3
fix(dashboard): 500 error caused by data_for_slices API ( #16053 )
...
(cherry picked from commit 490890de23 )
2021-08-16 08:45:29 +03:00
Maxime Beauchemin
3e98e9cd79
chore: add stats logging to thumbnail api ( #16133 )
...
(cherry picked from commit df50a47777 )
2021-08-10 07:53:23 +03:00
Beto Dealmeida
eb2d8882cf
fix: migrate_roles ( #16098 )
...
(cherry picked from commit 28c383af68 )
2021-08-10 07:53:22 +03:00
David Aaron Suddjian
0771475383
fix(explore): drag & drop column select component triggering onChange unnecessarily ( #16073 )
...
* fix(explore): avoid sync until after first render
* fix example
(cherry picked from commit e6292a89bb )
2021-08-10 07:53:22 +03:00
Beto Dealmeida
0bacb2780b
fix: load tabbed dash only for tests ( #16091 )
...
(cherry picked from commit b72fd7b9f4 )
2021-08-10 07:53:21 +03:00
Beto Dealmeida
8506e4f555
chore: simplify chart permissions ( #16078 )
...
(cherry picked from commit 1dbd1e9f02 )
2021-08-10 07:53:20 +03:00
Ville Brofeldt
7cfa0e7b8c
feat(explore): add automatic conditional formatter to pivot table v2 ( #16045 )
...
(cherry picked from commit 7ef97a54e2 )
2021-08-10 07:53:20 +03:00
Beto Dealmeida
69c5cd7922
feat: handle subtle bug with load-examples ( #16052 )
2021-08-03 12:44:44 -07:00
Beto Dealmeida
ec22acb786
fix: handle schemas_allowed_for_csv_upload serde ( #16038 )
...
* fix: handle schemas_allowed_for_csv_upload serde
* Add migration
2021-08-03 09:10:32 -07:00
Erik Ritter
7c059cda39
fix: make dataset update methods static instead of global ( #16044 )
2021-08-03 08:47:52 -07:00
Beto Dealmeida
7b15b7690d
fix: DB exported with incorrect type ( #16037 )
...
* fix: DB exported with incorrect type
* Fix export as well
2021-08-03 08:35:48 -07:00
Hugh A. Miles II
4cb79e5017
fix: Fix long dashboards screenshot emails ( #15954 )
...
* create serialize json function
* create new setting for reports
* cleanup
* address comments
* up the attributes
2021-08-02 16:37:34 -04:00
John Bodley
41e8190575
chore: Use datetime.timedelta for defining durations in config ( #16029 )
...
* chore: use datetime.timedelta for defining durations
* Update config.py
2021-08-03 08:22:30 +12:00
John Bodley
c0615c55df
fix: Ensure table uniqueness on update ( #15909 )
...
* fix: Ensure table uniqueness on update
* Update models.py
* Update slice.py
* Update datasource_tests.py
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-03 07:45:55 +12:00
Yongjie Zhao
3f57ea76db
fix: missing mulitiple metrics on pivot operator ( #16026 )
...
* fix: missing mulitiple metrics on pivot operator
* code smell
2021-08-02 11:37:10 -07:00
Elizabeth Thompson
5031a67597
feat: Self subscribe reports ( #16027 )
...
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com >
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com >
2021-08-02 09:12:09 -07:00
Ville Brofeldt
c77bf264d1
fix(native-filters): add support for versioned import/export ( #16017 )
...
* fix(native-filters): add support for versioned import/export
* fix lint
* address CR
* make query_context nullable
2021-08-02 16:10:57 +03:00
Yongjie Zhao
a786373fff
feat: auto sync table columns when change dataset ( #15887 )
...
* feat: auto sync dataset metadata when change dataset
* diablo sync button when edit mode
* handle undefine schema
* fix py UT
* fix FE UT
* improve test coverage
* fix UT
2021-08-02 16:55:31 +08:00
Yongjie Zhao
c01d42fd98
fix: eliminate cartesian product columns in pivot operator ( #15975 )
...
* fix: eliminate cartesian product columns in pivot operator
* wip
* wip
* minor tip
2021-07-31 16:02:04 +08:00
Jesse Yang
b73d7baedf
fix(dashboard): FilterBox JS error when datasets API is slow ( #15993 )
2021-07-30 22:06:29 -07:00
Beto Dealmeida
2d61f15153
feat: send post-processed data in reports ( #15953 )
...
* feat: send post-processed data in reports
* Fix tests and lint
* Use enums
* Limit Slack message to 4k chars
2021-07-30 09:37:16 -07:00
Beto Dealmeida
f4739f427e
feat: post-processing for pivot table v2 ( #15879 )
...
* feat: add pivot v2 post-processing
* Fix lint
2021-07-29 11:05:56 -07:00
Beto Dealmeida
6afa840659
feat: send report data to Slack ( #15806 )
...
* feat: send data embedded in report email
* Change post-processing to use new endpoint
* Show TEXT option only to text-based vizs
* Fix test
* feat: send data embedded in report email
* feat: send report data to Slack
* Add unit test
* trigger tests
2021-07-29 10:13:28 -07:00
Michael S. Molina
7b0acc45de
chore: Changes the main menu order as defined in SIP-34 ( #15929 )
2021-07-28 16:47:07 -03:00
Hugh A. Miles II
bfe7eb9a7b
feat(dbc ui): Adding Google Sheets Dynamic Form ( #15801 )
...
* feat: Make Google Sheets Dyanmic (#15576 )
* first draft
* second draft
* added tests
* first draft
* added table_catalog
* remove console.log
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* revisions
* save this for now
* working form
* save disable on public sheets
* refactor somethings
* saving this for now
* working edit
* add back query to schema
* working add
* fix styling
* fixing x
* fix linting
* prettier
* fix some type issues
* more lint fixes
* remove unused dependency
* fix linint
* fix validation
* pylint bypass
* pylint bypass
* fix this
* fix mypy
* yerp
* fix test
* fix test
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* wrap add sheets
* fix linting issues
* fix unit test
* ignore typing
* fix editting and paste issues
* remove query
* fix this
* fix test
* add test back
* fix error messaging
* update url messaging on error
* change error type
* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* add errors for sheets with no name
* fix
* fix messaging for gsheets
* stop pylint
* update line
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com >
Co-authored-by: Arash <arash.afghahi@gmail.com >
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2021-07-28 15:00:27 -04:00
John Bodley
671b8f2544
chore: Mypy fix **kwargs type ( #15823 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-07-29 04:59:20 +12:00
Beto Dealmeida
3adf8e85cd
feat: send data embedded in report email ( #15805 )
...
* feat: send data embedded in report email
* Prettify table
* Change post-processing to use new endpoint
* Show text option only for text viz
* Show TEXT option only to text-based vizs
* Fix test
* Add email test
* Add unit test
2021-07-28 09:43:04 -07:00
Yongjie Zhao
32d2aa0c40
feat: run extra query on QueryObject and add compare operator for post_processing ( #15279 )
...
* rebase master and resolve conflicts
* pylint to makefile
* fix crash when pivot operator
* fix comments
* add precision argument
* query test
* wip
* fix ut
* rename
* set time_offsets to cache key
wip
* refactor get_df_payload
wip
* extra query cache
* cache ut
* normalize df
* fix timeoffset
* fix ut
* make cache key logging sense
* resolve conflicts
* backend follow up iteration 1
wip
* rolling window type
* rebase master
* py lint and minor follow ups
* pylintrc
2021-07-28 22:34:39 +08:00
Yongjie Zhao
11b0249803
fix: remove unused time column when update dataset ( #14969 )
...
* fix: remove unused time column when update dataset
* fix lint
* set dttm to first datatime column
2021-07-28 21:40:16 +08:00