Daniel Vaz Gaspar
931e1b2139
fix: dataset safe URL for explore_url ( #24686 )
...
(cherry picked from commit a9efd4b2e3 )
2023-08-23 09:55:50 -03:00
Ville Brofeldt
387549f69c
fix(snowflake): opt-in denormalization of column names ( #24982 )
2023-08-16 11:29:03 -03:00
John Bodley
49605e763c
chore(command): Condense delete/bulk-delete operations ( #24607 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
(cherry picked from commit a156816064 )
2023-07-13 13:36:20 -03:00
John Bodley
71eff954ba
chore(dao): Condense delete/bulk-delete operations ( #24466 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
(cherry picked from commit 7409289762 )
2023-07-12 11:17:04 -03:00
Hugh A. Miles II
846d3c03aa
fix: fix extra insert for count on dataset creation ( #24625 )
...
(cherry picked from commit e6e8276a20 )
2023-07-12 11:03:46 -03:00
Hugh A. Miles II
9a96d8cf8b
fix: change naming convention for count metric on Dataset creation ( #24609 )
...
(cherry picked from commit c573cfcd12 )
2023-07-10 10:27:25 -03:00
John Bodley
75543af550
chore(dao): Add explicit ON DELETE CASCADE when deleting datasets ( #24488 )
2023-06-28 16:03:25 -07:00
Hugh A. Miles II
a846e8a58d
feat(tags): move tags from navbar to settings ( #24518 )
...
Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com >
2023-06-28 02:53:49 -04:00
Hugh A. Miles II
93e1db4bd9
fix: save columns reference from sqllab save datasets flow ( #24248 )
2023-06-20 13:54:19 -04:00
Jack Fragassi
5af298e1f6
chore: Migrate warm up cache endpoint to api v1 ( #23853 )
2023-06-20 12:08:29 +01:00
John Bodley
3e76736874
chore(dao): Organize DAOs according to SIP-92 ( #24331 )
...
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com >
2023-06-18 18:32:32 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
John Bodley
8b4222ff9e
chore: Refactor command exceptions ( #24117 )
2023-05-19 09:08:12 -07:00
John Bodley
d583ca9ef5
chore: Embrace the walrus operator ( #24127 )
2023-05-19 00:37:13 -07:00
Jack Fragassi
44557f5a23
chore(api v1): Deprecate datasource/save and datasource/get endpoints ( #23678 )
2023-04-18 17:51:24 -07:00
Beto Dealmeida
f78798149a
fix: load examples as anon user ( #23600 )
2023-04-06 08:23:00 -07:00
Beto Dealmeida
45f045def2
fix: prevent ForeignKeyViolation error on delete ( #23414 )
2023-03-21 15:48:55 -07:00
Beto Dealmeida
ec6318b379
fix: permission checks on import ( #23200 )
2023-03-15 08:31:09 -07:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06:00
Antonio Rivero
3484e8ea7b
feat(ssh_tunnel): Import/Export Databases with SSHTunnel credentials ( #23099 )
2023-02-24 09:36:21 -08:00
Daniel Vaz Gaspar
7bb9b810ee
fix: dataset import error message ( #23025 )
2023-02-07 18:21:32 -08:00
Daniel Vaz Gaspar
7a0f350028
fix: add new config to allow for specific import data urls ( #22942 )
2023-02-06 08:17:08 -08:00
Cody Leff
4b05a1eddd
fix(datasets): Include expression and description in duplicated dataset columns ( #22943 )
2023-02-02 15:49:30 -08:00
Josh Soref
78ede590ee
chore(frontend): Spelling ( #19676 )
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2023-02-02 11:23:11 -07:00
EugeneTorap
394fb2f2d0
fix: slug is empty if filename is non-ASCII ( #22118 )
2022-11-16 10:53:30 -08:00
Hugh A. Miles II
e23efefc46
feat: refactor all get_sqla_engine to use contextmanager in codebase ( #21943 )
2022-11-15 13:45:14 -05:00
John Bodley
4a330a3630
chore: Refactor ownership ( #21938 )
2022-11-02 01:05:31 -07:00
Shubham Sinha
decb2fb591
feat(datasets): Change in API to create virtual datasets ( #21840 )
2022-10-19 15:05:21 +01: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
Reese
16032ed3e2
feat: Virtual dataset duplication ( #20309 )
...
* Inital duplicate functionality
* Fix formatting
* Create dedicated duplicate API
* Make use of new API
* Make use of new api permissions
* Add integration tests for duplicating datasets
* Add licenses
* Fix linting errors
* Change confirm button to 'Duplicate'
* Fix HTTP status code and response
* Add missing import
* Use user id instead of user object
* Remove stray debug print
* Fix sqlite tests
* Specify type of extra
* Add frontend tests
* Add match statement to test
2022-08-26 16:07:56 -06:00
Hugh A. Miles II
bc435e08d0
fix: overwrite update override columns on PUT /dataset ( #20862 )
...
* update override columns
* save
* fix overwrite with session.flush
* write test
* write test
* layup
* address concerns
* address concerns
2022-07-29 21:51:35 -04:00
Yongjie Zhao
f011abae2b
feat: the samples endpoint supports filters and pagination ( #20683 )
2022-07-22 20:14:42 +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
1530c34792
fix: failed samples should throw exception ( #20228 )
2022-06-01 18:24:01 +08:00
Yongjie Zhao
40abb44ba1
feat: add samples endpoint ( #20170 )
2022-05-25 18:18:58 +08:00
Elizabeth Thompson
060b5c0e17
chore: remove druid datasource from the config ( #19770 )
...
* remove druid datasource from the config
* remove config related references to DruidDatasource
* Update __init__.py
* Update __init__.py
* Update manager.py
* remove config related references to DruidDatasource
* raise if instance type is not valid
2022-05-04 12:48:48 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Beto Dealmeida
d01fdad1d8
feat: add export_related flag ( #19215 )
...
* feat: add export_related flag
* Fix lint
2022-03-16 16:03:06 -07:00
Michael S. Molina
959b15eeca
feat: Adds a key-value endpoint to store charts form data ( #17882 )
...
* feat: Adds a key-value endpoint to store charts form data
* Fixes linting problems
* Removes the query_params from the endpoints
* Refactors the commands
* Removes unused imports
* Changes the parameters to use dataclass
* Adds more access tests
* Gets the first dataset while testing
* Adds unit tests for the check_access function
* Changes the can_access check
* Always check for dataset access
2022-01-20 16:27:57 -03:00
Beto Dealmeida
c49545aec1
fix: dataset extra import/export ( #17740 )
...
* fix: dataset extra import/export
* Update superset/datasets/commands/importers/v1/utils.py
2021-12-22 09:41:31 -08:00
Beto Dealmeida
37cc2c4d15
fix: column extra in import/export ( #17738 )
2021-12-14 18:33:52 -08:00
Beto Dealmeida
1fbce88a46
fix: set correct schema on config import ( #16041 )
...
* fix: set correct schema on config import
* Fix lint
* Fix test
* Fix tests
* Fix another test
* Fix another test
* Fix base test
* Add helper function
* Fix examples
* Fix test
* Fix test
* Fixing more tests
2021-11-04 11:09:08 -07:00
Hugh A. Miles II
331de0c4ae
fix: Fix Uniqueness check before update for Sqllab Overwrites ( #16859 )
...
* add condition to make sure columns are available before throwing
* fix
* remove database_id from history changed
* refactor update call to datasets
* cleanup
* oops
* prettier
2021-09-29 13:38:29 -04:00
Beto Dealmeida
493e804320
chore: log URI before downloading data on import ( #16762 )
2021-09-21 14:22:37 -07:00
Beto Dealmeida
092ef5bdfc
fix: set importer as owner ( #16656 )
...
* fix: set importer as owner
* Fix tests
2021-09-15 12:27:02 -07:00
Ville Brofeldt
ac1d779a30
chore(ci): bump pylint to 2.10.2 ( #16463 )
2021-08-26 20:30:41 +03:00
John Bodley
7e4c940314
chore(pylint): Enable useless-suppression check ( #16388 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-24 03:58:41 +12:00
John Bodley
be7065faf8
chore(pylint): Reenable raise-missing-from check ( #16266 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-17 10:26:10 +12:00
John Bodley
24b43beff9
chore(pylint): Bump Pylint to 2.9.6 ( #16146 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-14 10:32:28 +12:00
Ville Brofeldt
d6f9c48aa1
feat(dao): admin can remove self from object owners ( #15149 )
2021-08-13 12:42:48 +03:00