Michael S. Molina
3d645fd8e9
refactor: Updates some database columns to MediumText ( #27119 )
2024-02-15 11:22:57 -05:00
Beto Dealmeida
c0b57bd1c3
feat(sqlparse): improve table parsing ( #26476 )
2024-01-22 11:16:50 -05:00
John Bodley
aafb54d042
chore: Ensure Mixins are ordered according to the MRO ( #26288 )
2023-12-16 14:11:58 +13:00
JUST.in DO IT
5ab1e7eae4
feat(sqllab): SPA migration ( #25151 )
2023-10-04 15:21:41 -04: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
JUST.in DO IT
e20b69587f
chore(sqllab): add extra_json on tabstate ( #24489 )
2023-06-23 14:31:31 -07:00
Hugh A. Miles II
93e1db4bd9
fix: save columns reference from sqllab save datasets flow ( #24248 )
2023-06-20 13:54:19 -04:00
Maxime Beauchemin
b70808d071
chore: cleanup sqlalchemy warnings ( #24403 )
2023-06-16 15:30:47 -07:00
Ville Brofeldt
20e0036336
fix(sql-lab): remove redundant onChange schema property ( #24422 )
2023-06-16 17:38:26 +03:00
John Bodley
2b364898a5
fix: Address regression introduced in #22853 ( #24121 )
2023-06-12 15:32:40 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Hugh A. Miles II
669e1802a6
fix: [chart power query] error show when user input column with x-axis ( #23776 )
2023-04-22 18:57:20 -04:00
Akshay Kumar Sharma
e8f32c4bc4
fix(saved_queries): wrong enum for object_type of saved_query ( #23611 )
2023-04-10 16:37:16 -04:00
Hugh A. Miles II
d581d698b6
chore: Refactor ExploreMixin to power both Datasets (SqlaTable) and Query models ( #22853 )
2023-04-10 16:32:52 -04:00
John Bodley
83df609782
fix: Ensure verbose mapping exists for SQL Lab Query model ( #23597 )
2023-04-07 06:34:00 +12:00
Hugh A. Miles II
a4d4084d08
fix: tags features flag on base models ( #23548 )
2023-04-04 10:32:24 -04:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06:00
cccs-RyanK
a40c12d63e
feat: Frontend tagging ( #20876 )
...
Co-authored-by: cccs-nik <68961854+cccs-nik@users.noreply.github.com >
Co-authored-by: GITHUB_USERNAME <EMAIL>
2023-02-21 13:38:23 -08:00
Artem Shumeiko
c839d0daf5
chore: Localization of superset pt. 2 ( #22772 )
2023-01-30 09:20:43 -07:00
Hugh A. Miles II
88a5d987da
fix(cpq): Add schema to Query.data() payload ( #22791 )
2023-01-25 20:17:39 +02:00
Mayur
61319fd759
feat(sqllab): save query parameters in database ( #21682 )
2022-10-07 12:49:14 +05:30
Hugh A. Miles II
51c54b3c9b
fix: add get_column function for Query obj ( #21691 )
2022-10-05 18:25:44 -04:00
cccs-Dustin
2e564897f8
feat: Add dataset tagging to the back-end ( #20892 )
...
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2022-09-23 11:01:17 +03:00
Hugh A. Miles II
c61a507e14
fix: add back custom sql filtering with Query as source ( #21190 )
2022-08-26 19:12:21 -07:00
Hugh A. Miles II
6e5036d87f
fix: add timegrains to data payload ( #20938 )
...
* add timegrains to data payload
* fix
* opps
* save
* integrate type casting for engiines
* add perm object
* change how wwe raise_for_access
* fix orderby on column types
* linting
2022-08-04 13:26:49 -04:00
Yongjie Zhao
718bc3062e
fix: invalid metric should raise an exception ( #20882 )
2022-07-28 08:15:43 +08:00
Jesse Yang
77db0651d8
feat(sql lab): display presto and trino tracking url ( #20799 )
2022-07-26 20:20:08 -07:00
Hugh A. Miles II
35184b2994
fix: create property for schema_perm for Query ( #20871 )
...
* create property for schema_perm
* update references
2022-07-26 21:18:59 -04:00
Hugh A. Miles II
81bd4968d0
fix: set allow filter_select for Query objects in Explore ( #20754 )
...
* set allow filter select
* add small comment
* add better logic
* remove condition and reference it in backend
2022-07-20 09:08:02 -04:00
Hugh A. Miles II
e5e8867394
feat: Visualize SqlLab.Query model data in Explore 📈 ( #20281 )
2022-07-15 19:34:02 -04:00
Hugh A. Miles II
9432c62ec1
fix: move columns to datasource object for bootstrap data ( #20203 )
...
* move columns to datasource
* address concerns
2022-05-31 23:37:49 +02:00
Diego Medina
350f21d9d3
fix: cannot delete a database if team member has SQL editor tab that uses that db ( #19243 )
...
* fix: update sql lab models constraints to support db deletion
* update with master
* solve db migration conflict
* fix tests
2022-04-06 08:46:21 -07:00
Ville Brofeldt
2d81c4c79f
fix(sqllab): null database with backend persistence ( #19548 )
2022-04-06 12:32:41 +03:00
Diego Medina
aa5c80bda6
fix(sql lab): deleting the last saved query or the last executed from history ( #19225 )
...
* fix: fix issue when deleting the last saved query or the last executed query
* merge migration
2022-03-17 15:01:18 -06:00
AAfghahi
88db2cc0ab
refactor(sql_lab): SQL Lab Persistent Saved State ( #17771 )
...
* a lot of console logs
* testing
* test
* added saved_query to remoteId
* created useEffect so that title properly changes in modal
* Update superset-frontend/src/SqlLab/actions/sqlLab.js
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com >
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com >
2022-01-18 13:10:31 -05: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
AAfghahi
e507508b48
feat: Logic added to limiting factor column in Query model ( #13521 )
...
* Sqllab limit
* Add migration script
* Set default values
* initial push
* revisions
* Update superset/views/core.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* moving migration to separate PR
* with migration
* revisions
* Fix apply_limit_to_sql
* all but tests
* added unit tests
* revisions
* Update superset/sql_lab.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset/sql_parse.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* fixed black issue
* Update superset/views/core.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* updated logic
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2021-04-30 15:15:18 -07:00
Beto Dealmeida
8d48d2e37b
fix(sqllab): per-tab hide left bar ( #13288 )
...
* fix (sqllab): per-tab hide left bar
* Load state when switching tabs
2021-03-05 11:16:11 -08:00
Daniel Vaz Gaspar
34ae29e59b
feat: query REST API more fields and tests ( #11482 )
...
* feat: query REST API more fields and tests
* fix missing field
2020-10-31 10:18:34 +00:00
Beto Dealmeida
f2b8d6aef8
chore: rename ImportMixin to ImportExportMixin ( #11460 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
* Rename ImportMixin to ImportExportMixin
2020-10-30 09:11:56 -07:00
Beto Dealmeida
21f722c9bc
feat: add endpoint to export saved queries using new format ( #11447 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
2020-10-30 08:32:16 -07:00
Beto Dealmeida
98daf0a435
feat: add UUID column to saved_query for export/import ( #11397 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
2020-10-27 08:49:09 -07:00
Daniel Vaz Gaspar
144b279aa2
feat: saved queries with execution info ( #11391 )
...
* feat: add rows and last_run info to saved queries
* feat: add rows to saved query
* refactor and tests
* lint
* fix tests
2020-10-26 11:20:07 -07:00
Daniel Vaz Gaspar
4c85d33109
feat: custom favorite filter for dashboards, charts and saved queries ( #11083 )
...
* feat: custom favorite filter for dashboards
* lint and sort
* add favored for charts
* fix tests and lint
* more tests and saved query filter
* fix tests
* fix tests
* lint
* lint and fix conflict
* remove unnecessary prop
* separate tests
2020-10-01 15:08:40 -07:00
Daniel Vaz Gaspar
136f90f87c
feat: SavedQuery REST API for bulk delete and new API fields ( #10793 )
...
* feat: SavedQuery REST API for bulk delete
* fix, singular msg and test
* remove 403 from OpenAPI spec
* filter by current user using created_by add sql_tables field
* fixes for new filter, add user field on pre_update, pre_add
* add lru cache to property
* Revert "add lru cache to property"
This reverts commit ad0d9428
2020-09-11 09:36:47 +01:00
Maxime Beauchemin
1781ebbaa4
fix: [search query view] edit link is broken ( #10128 )
...
* fix: [search query view] edit link is broken
* eslint + mypy
* rever app.py changes
* addressing comments
* use api/v1/query
* fix test
2020-06-25 12:20:10 -07:00
Bogdan
3db76c6fdc
Implement create view as functionality ( #9794 )
...
Implement create view as button in sqllab
Make CVAS configurable
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-06-24 09:50:41 -07:00
John Bodley
aefef9ca55
chore(security): Updating assert logic ( #10034 )
...
* chore(security): Updating assert logic
* Deprecating rejected_tables
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-06-23 20:49:39 -07:00
John Bodley
e789a35558
[mypy] Enforcing typing for superset.models ( #9883 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-05-22 20:31:21 -07: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