Elizabeth Thompson
f58227a912
feat: add denylist for db engines ( #21486 )
2022-10-08 19:45:21 -07:00
Hugh A. Miles II
882bfb67ae
fix: gsheets editing with dynamic forms ( #21710 )
2022-10-06 19:57:12 -07:00
Elizabeth Thompson
e98943e580
refactor: pass all properties to validate_parameters ( #21487 )
2022-10-03 17:48:54 -07:00
Elizabeth Thompson
ef78ec6b30
fix: catch error when masking encrypted extra is none ( #21570 )
2022-10-02 19:49:01 -07:00
Erik Cederstrand
82bd5a31b8
chore(deps): Unpin sqlparse dependency ( #21581 )
...
Co-authored-by: Erik Cederstrand <erik@adamatics.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-09-26 17:41:04 +03:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint ( #21284 )
2022-09-13 08:22:12 -07:00
Ville Brofeldt
e1e9fda72b
fix: remove extras from all adhoc_filters controls ( #21450 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-13 15:52:21 +03:00
Hugh A. Miles II
14cd8a2160
chore: add test for SPA explore endpoints around missing datasets ( #21303 )
2022-09-09 10:54:39 -07:00
Yongjie Zhao
ce3d38d2e7
feat: apply Time Grain to X-Axis column ( #21163 )
2022-09-07 16:24:15 +08:00
Beto Dealmeida
34a79add04
feat: filter parameters from DB API ( #21248 )
2022-09-02 11:50:04 -07:00
Daniel Vaz Gaspar
3f2e894af3
fix: dataset name change and permission change ( #21161 )
...
* fix: dataset name change and permission change
2022-08-31 18:11:03 +01:00
Beto Dealmeida
8772e2cdb3
fix: improve get_db_engine_spec_for_backend ( #21171 )
...
* fix: improve get_db_engine_spec_for_backend
* Fix tests
* Fix docs
* fix lint
* fix fallback
* Fix engine validation
* Fix test
2022-08-29 11:42:42 -07:00
Đặng Minh Dũng
ccb293a083
fix(Trino): create PrestoBaseEngineSpec
base class to share common code between Trino and Presto ( #21066 )
...
* chore: create `PrestoBaseEngineSpec` class that share common functions between Presto and Trino
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* feat(Trino): support CertificateAuthentication
* chore(Presto): move `get_function_names` to `PrestoBaseEngineSpec`
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* chores(Presto): remove `is_readonly_query`
* feat(Trino): implement `extra_table_metadata`
* feat(Trino): specify `User-Agent`
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* fix: pylint
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* chores(Presto): move `PrestoBaseEngineSpec` to `presto.py`
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
* fix(Presto): typing annotations
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-08-29 10:21:28 +03:00
Yongjie Zhao
11bf7b9125
feat: generate label map on the backend ( #21124 )
2022-08-22 21:00:02 +08:00
AAfghahi
dda1dcf8ee
feat: add header_data into emails ( #20903 )
...
* test sparkpost
* added logging info
* header function implementation
* added test
* daniel revisions
* daniel revision
* elizabeth review
2022-08-18 10:32:25 -04:00
Yongjie Zhao
1afcdfb9fa
fix: datetime value should be seconds in sqlite ( #21113 )
2022-08-18 11:42:58 +08:00
Ville Brofeldt
5113b01031
feat(trino): add query cancellation ( #21035 )
2022-08-12 07:48:29 +03:00
Hugh A. Miles II
e13c5b2b7b
fix: take form_data reference for metrics for pivot_v2 table reports ( #21029 )
...
* take form_data reference for form_data
* better
* remove comments
* remove comments
* Update superset/charts/post_processing.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* add test
* test
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-08-11 12:08:40 -04:00
Bogdan
17b58037f8
perf: Implement model specific lookups by id to improve performance ( #20974 )
...
* Implement model specific lookups by id to improve performance
* Address comments e.g. better variable names and test cleanup
* commit after cleanup
* even better name and test cleanup via rollback
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2022-08-09 09:59:31 -07:00
Beto Dealmeida
bb3871ddaf
feat: per-db add metrics ( #20990 )
...
* feat: per-db add metrics
* Add unit tests
2022-08-08 12:07:16 -07:00
Beto Dealmeida
7e501cd816
fix: BigQuery get_parameters_from_uri ( #20966 )
2022-08-03 17:27:40 -07:00
Jesse Yang
7e836e9b04
test: autouse app_context in unit tests ( #20911 )
2022-08-02 15:42:50 -07:00
Jesse Yang
e739ff5076
feat: allow more HTML tags in report description ( #20908 )
2022-07-29 08:27:39 -07:00
Yongjie Zhao
718bc3062e
fix: invalid metric should raise an exception ( #20882 )
2022-07-28 08:15:43 +08:00
Cody Leff
84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation ( #20673 )
...
* Update explore URLs.
* More URL fixes.
* Make frontend accept true/false query params case-insensitively.
* Fix URL mistake.
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
Jesse Yang
e2d3ea831a
fix(db): use paginated_update for area chart migration ( #20761 )
2022-07-19 07:20:46 -07:00
Beto Dealmeida
e60083b45b
chore: upgrade SQLAlchemy to 1.4 ( #19890 )
...
* chore: upgrade SQLAlchemy
* Convert integration test to unit test
* Fix SQLite
* Update method names/docstrings
* Skip test
* Fix SQLite
2022-07-18 15:21:38 -07:00
Elizabeth Thompson
bbaa4cc65d
use existing row when id is found ( #20661 )
2022-07-16 00:00:39 -07:00
Elizabeth Thompson
c2be54c335
fix: pandas bug when data is blank on post-processing ( #20629 )
...
* fix pandas bug when data is blank on post-processing
* account for multiple queries when data is blank
2022-07-08 16:33:53 -07:00
Yongjie Zhao
4e6e87f62e
feat: Area viz migration ( #20359 )
2022-07-08 19:56:03 +08:00
John Bodley
f0ca158989
fix: Refactor ownership checks and ensure consistency ( #20499 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-07 11:04:27 -07:00
Yongjie Zhao
7626c31372
feat: TreeMap migration ( #20346 )
2022-07-07 19:37:18 +08:00
Yongjie Zhao
414cc99ca2
fix: datetime.data in series ( #20618 )
2022-07-07 09:33:44 +08:00
Reese
f9109583ce
fix: Allow dataset owners to explore their datasets ( #20382 )
...
* fix: Allow dataset owners to explore their datasets
* Re-order imports
* Give owners security manager permissions to their datasets
* Update test suite
* Add SqlaTable to is_owner types
* Add owners to datasource mock
* Fix VSCode import error
* Fix merge error
2022-07-06 11:27:50 -03:00
John Bodley
ad308fbde2
chore(rls): Remove passing global username ( #20344 )
...
* chore(rls): Remove passing global username
* Update manager.py
* Update manager.py
* Update manager.py
* Update manager.py
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:51:24 -07:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function ( #20582 )
2022-07-01 19:17:55 +08:00
Elizabeth Thompson
44f0b511dd
remove autoflush for queries during dual write ( #20460 )
2022-06-23 14:50:30 -07:00
Beto Dealmeida
f3b289d3c3
fix: ensure column name in description is string ( #20340 )
...
* fix: ensure column name in description is string
* Add unit test
2022-06-21 10:10:46 -03:00
Hugh A. Miles II
e3e37cb68f
chore: switching out ConnectorRegistry references for DatasourceDAO ( #20380 )
...
* rename and move dao file
* Update dao.py
* add cachekey
* Update __init__.py
* change reference in query context test
* add utils ref
* more ref changes
* add helpers
* add todo in dashboard.py
* add cachekey
* circular import error in dar.py
* push rest of refs
* fix linting
* fix more linting
* update enum
* remove references for connector registry
* big reafctor
* take value
* fix
* test to see if removing value works
* delete connectregistry
* address concerns
* address comments
* fix merge conflicts
* address concern II
* address concern II
* fix test
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-06-21 13:22:39 +02:00
Daniel Vaz Gaspar
60eb1094a4
feat: add name, description and non null tables to RLS ( #20432 )
...
* feat: add name, description and non null tables to RLS
* add validation
* add and fix tests
* fix sqlite migration
* improve default value for name
2022-06-20 13:52:05 +01:00
John Bodley
8b0bee5e8b
[fbprophet] Fix frequencies ( #20326 )
2022-06-19 21:53:09 -07:00
mohittt8
41bbf62e58
fix(presto): use correct timespec for presto ( #20333 )
2022-06-16 16:43:17 -07:00
Beto Dealmeida
998624b1a5
feat: allow setting db UUID ( #20412 )
...
* WIP
* feat: allow passing UUID when creating a DB
* Test
* Fix field
2022-06-16 15:53:59 -07:00
John Bodley
b08e21efd9
[requirements] Resolve rebase conflicts ( #20152 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-03 15:27:35 -07:00
Elizabeth Thompson
32bb1ce3ff
feat!: pass datasource_type and datasource_id to form_data ( #19981 )
...
* pass datasource_type and datasource_id to form_data
* add datasource_type to delete command
* add datasource_type to delete command
* fix old keys implementation
* add more tests
2022-06-02 16:48:16 -07:00
Diego Medina
8638f59b4c
fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics ( #20235 )
...
* fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics
* add test
2022-06-02 10:00:04 +08:00
Beto Dealmeida
05a138a191
feat: query datasets from SQL Lab ( #15241 )
...
* feat: Jinja2 macro for querying datasets
* Add docs
* Address comments
2022-06-01 15:18:40 -07:00
Ville Brofeldt
64c4226817
fix(temporary-cache): when user is anonymous ( #20181 )
...
* fix(temporary-cache): fail on anonymous user
* make exceptions generic
* fix test
* remove redundant bool return
* fix unit tests
2022-05-26 14:45:20 +03:00
Phillip Kelley-Dotson
0501ad25e8
fix: always create parameter json field ( #19899 )
...
* fix: always create parameter json field
* ensure validation for empty catalog
* check engine instead of name
* put validation in be
* fix test
* fix test
* remove test
2022-05-25 14:23:25 -07:00
Ville Brofeldt
e2f11d3680
fix(presto,trino): use correct literal dttm separator ( #20123 )
...
* fix(presto,trino): use correct literal dttm separator
* remove redundant tests
2022-05-19 20:42:31 +03:00