Daniel Vaz Gaspar
8dc6cbe206
fix(ci): mypy pre-commit issues ( #27161 )
2024-02-19 16:29:20 +00:00
John Bodley
847ed3f5b0
refactor: Ensure Flask framework leverages the Flask-SQLAlchemy session (Phase II) ( #26909 )
2024-02-14 06:20:15 +13:00
Beto Dealmeida
c0b57bd1c3
feat(sqlparse): improve table parsing ( #26476 )
2024-01-22 11:16:50 -05:00
John Bodley
07bcfa9b5f
chore(command): Organize Commands according to SIP-92 ( #25850 )
2023-11-22 16:55:54 -03:00
JUST.in DO IT
24a2213445
feat(sqllab): Format sql ( #25344 )
2023-11-03 09:38:11 -07:00
JUST.in DO IT
b370c66308
fix(sqllab): template validation error within comments ( #25626 )
2023-10-13 11:07:54 -06:00
JUST.in DO IT
5ab1e7eae4
feat(sqllab): SPA migration ( #25151 )
2023-10-04 15:21:41 -04:00
JUST.in DO IT
7aaae06c9d
fix(sqllab): invalid persisted tab state ( #25308 )
2023-09-19 15:58:34 -07:00
Sebastian Liebscher
e585db85b6
chore: use contextlib.surpress instead of passing on error ( #24896 )
...
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-29 10:09:01 -06:00
JUST.in DO IT
10abb68288
feat(sqllab): Add /sqllab endpoint to the v1 api ( #24983 )
2023-08-16 16:09:10 -07:00
JUST.in DO IT
a44c99899a
chore(sqllab): Relocate get bootstrap data logic ( #24936 )
2023-08-11 13:23:07 -07:00
John Bodley
ed0d288ccd
chore(dao): Replace save/overwrite with create/update respectively ( #24467 )
2023-08-11 12:55:39 -07:00
Sebastian Liebscher
14a27b1ba3
chore(api): clean up API spec ( #24838 )
2023-07-31 20:03:58 +03:00
EugeneTorap
5f103072b0
fix: Python3.11 (str, Enum) issue ( #24803 )
2023-07-31 09:04:09 -07:00
EugeneTorap
fc89718d48
chore: Update pylint to 2.17.4 ( #24700 )
...
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-24 17:13:49 -07: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
Ville Brofeldt
20e0036336
fix(sql-lab): remove redundant onChange schema property ( #24422 )
2023-06-16 17:38:26 +03:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Sebastian Liebscher
1583090623
chore(sqllab): remove deprecated PyArrow API ( #24135 )
2023-05-20 21:57:18 +03:00
EugeneTorap
4a828f57f4
chore: Update mypy and fix stubs issue ( #24033 )
2023-05-12 08:47:14 +01:00
Daniel Vaz Gaspar
694f93326d
fix: methods incorrect type and update deprecated targets ( #23935 )
2023-05-05 18:57:27 +01:00
Sebastian Liebscher
b31efbae7c
chore: remove RemovedInMarshmallow4 warnings ( #23704 )
2023-04-21 09:11:46 +03:00
Hugh A. Miles II
8fa77adf9a
chore: Hugh/migrate estimate query cost to v1 ( #23226 )
...
Co-authored-by: Diego Medina <diegomedina24@gmail.com>
2023-03-17 18:02:25 -06:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06:00
Daniel Vaz Gaspar
d4362a3676
fix: reorganize role permissions ( #23096 )
2023-02-21 10:19:42 +00:00
Geido
c7823e32ff
fix: Validate jinja rendered query ( #22851 )
2023-02-21 11:01:12 +01:00
Daniel Vaz Gaspar
4b03d2553c
fix: missing __init__ on module sqllab commands ( #23107 )
2023-02-17 11:08:14 +00:00
Diego Medina
e5a4c78dc7
chore: Migrate /superset/csv/<client_id> to API v1 ( #22913 )
2023-02-15 10:48:24 +00:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 ( #22772 )
2023-01-30 09:20:43 -07:00
Diego Medina
b94052e438
chore: migrate /sql_json and /results to apiv1 ( #22809 )
2023-01-30 11:02:34 -05:00
Artem Shumeiko
f3696ceef3
chore: Localization of several charts and elements ( #22150 )
...
Co-authored-by: ashumeiko <ashumeiko@ashumeiko.com>
2023-01-11 09:42:54 -07:00
Hugh A. Miles II
7f78778792
refactor: return initial exception and check if it's user error ( #21836 )
2022-10-31 12:33:01 -04:00
Hugh A. Miles II
6f2e76bc09
chore: Add `USER_CLIENT_ERRORS` to stop logging exceptions that are user driven ( #21818 )
2022-10-15 11:31:31 -04:00
Hugh A. Miles II
e6c44e02cb
chore: stop logging "SyntaxError" as exceptions ( #21787 )
2022-10-13 11:58:02 -04:00
Diego Medina
383313b105
fix(sql lab): Syntax errors should return with 422 status ( #20491 )
...
* fix(sql lab): Syntax errors should return with 422 status
* refactor
2022-07-27 12:41:17 -06:00
Jesse Yang
77db0651d8
feat(sql lab): display presto and trino tracking url ( #20799 )
2022-07-26 20:20:08 -07:00
John Bodley
3483446c28
refactor: Cleanup user get_id/get_user_id ( #20492 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-24 17:57:04 -07:00
AAfghahi
2c16be42e1
async queries limit bug ( #20468 )
2022-06-22 16:21:34 -04:00
Hugh A. Miles II
660af409a4
feat: Save column data into json_metadata for all Query executions ( #20059 )
...
* add save_metadata function to QueryDAO
* use set_extra_json_key
* added test
* Update queries_test.py
* fix pylint
* add to session
* add to session
* refactor
* forgot the return
2022-05-18 13:11:14 -04:00
AAfghahi
e69f6292c2
chore: Set limit for a query in execute_sql_statement ( #20066 )
...
* test for query limit
* fixed tests
2022-05-16 17:56:46 -04:00
John Bodley
449d08b25e
fix: Refactor SQL username logic ( #19914 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-12 21:03:05 -07:00
David Aaron Suddjian
8e29ec5a66
feat: Embedded dashboard configuration ( #19364 )
...
* embedded dashboard model
* embedded dashboard endpoints
* DRY up using the with_dashboard decorator elsewhere
* wip
* check feature flags and permissions
* wip
* sdk
* urls
* dao option for id column
* got it working
* Update superset/embedded/view.py
* use the curator check
* put back old endpoint, for now
* allow access by either embedded.uuid or dashboard.id
* keep the old endpoint around, for the time being
* openapi
* lint
* lint
* lint
* test stuff
* lint, test
* typo
* Update superset-frontend/src/embedded/index.tsx
* Update superset-frontend/src/embedded/index.tsx
* fix tests
* bump sdk
2022-03-30 12:34:05 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Yongjie Zhao
4f1d202430
chore: use official isort in pre-commmit ( #17215 )
2021-10-25 17:57:38 +08:00
serenajiang
cde4cdcd0c
fix(sqllab): SqlJsonExecutionContext.query null pointer ( #16997 )
2021-10-06 15:40:54 -07:00
ofekisr
0d0c759cfe
refactor: sql lab command: separate concerns into different modules ( #16917 )
...
* chore move sql_execution_context to sqllab package
* add new helper methods into base Dao
* refactor separate get existing query concern from command
* refactor separate query access validation concern
* refactor separate get query's database concern from command
* refactor separate get query rendering concern from command
* refactor sqllab_execution_context
* refactor separate creating payload for view
* chore decouple command from superset app
* fix pylint issues
* fix failed tests
* fix pylint issues
* fix failed test
* fix failed black
* fix failed black
* fix failed test
2021-10-03 11:15:46 +03:00
ofekisr
3f784cc1c7
refactor: sql lab: handling command exceptions ( #16852 )
...
* chore: support error_type in SupersetException and method to convert the exception to dictionary
* chore: support error_type in SupersetException and method to convert the exception to dictionary
* refactor handling command exceptions fix update query status when query was not created
2021-09-29 16:20:42 +03:00
ofekisr
c520eb79b0
refactor: sqllab: move sqllab ralated enumns and utils to more logical place ( #16843 )
...
* refactor move QueryStatus to common
* refactor move apply_display_max_row_limit to sqllab package
* refactor move limiting_factor to sqllab package
* fix pylint issues
2021-09-26 21:15:57 +03:00
John Bodley
fb4650a6eb
chore(pylint): Remove top-level disable ( #16589 )
...
* chore(pylint): Remove top-level disable
* Update examples.py
* Update command.py
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-09-15 09:30:23 -07:00
Yongjie Zhao
ad60c0c4ad
fix: remove useless-suppression for pylint ( #16696 )
2021-09-14 13:27:21 +08:00