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
Antonio Rivero Martinez
b36bd3f083
fix(databases): GSheets and Clickhouse DBs are not allowed to upload files ( #21065 )
2022-09-26 10:08:11 -07:00
Yongjie Zhao
737d4dcf0c
refactor: refine timestamp expr function ( #21510 )
2022-09-20 18:51:01 +08:00
forestlzj
fdb4702332
fix: can't show duckdb table names in the "SEE TABLE SCHEMA" dropdown list ( #21495 )
2022-09-19 11:28:49 +08:00
John Bodley
eac6fdcd29
chore(sqllab): Cleanup /tables/... endpoint ( #21284 )
2022-09-13 08:22:12 -07:00
LF
9fdd75b923
feat: add snowflake keypair authentication ( #21322 )
2022-09-09 10:49:04 +02:00
Beto Dealmeida
34a79add04
feat: filter parameters from DB API ( #21248 )
2022-09-02 11:50:04 -07: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
Hugh A. Miles II
c61a507e14
fix: add back custom sql filtering with Query as source ( #21190 )
2022-08-26 19:12:21 -07: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
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
77db0651d8
feat(sql lab): display presto and trino tracking url ( #20799 )
2022-07-26 20:20:08 -07:00
Beto Dealmeida
672266ca58
fix: add complex type to pydruid ( #20834 )
...
* fix: add complex type to pydruid
* Kick jobs
2022-07-25 14:49:44 -07:00
Beto Dealmeida
2c5201fa4b
fix: Databricks views showing up as tables ( #20674 )
2022-07-20 09:31:42 -07:00
Beto Dealmeida
2a4c7cfb2a
chore: add user agent to Databricks requests ( #20660 )
2022-07-20 08:17:52 -07:00
John Bodley
8c0ac9017f
fix: Presto _show_columns return type ( #20757 )
2022-07-19 09:52:22 -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
Hugh A. Miles II
e5e8867394
feat: Visualize SqlLab.Query model data in Explore 📈 ( #20281 )
2022-07-15 19:34:02 -04:00
Beto Dealmeida
c70d102b73
fix: logger message ( #20714 )
2022-07-15 07:51:59 -07:00
yourssvk
90d486a643
fix: SQL Lab cancel query in Redshift database connection does not wo… ( #16326 )
...
* fix: SQL Lab cancel query in Redshift database connection does not work #16325
Co-authored-by: Venkata Krishnan Somasundaram <venkata_cred@Venkatas-MacBook-Pro.local >
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2022-06-29 11:12:59 -07:00
Michael S. Molina
cb3cd41dcd
fix: Removes psycopg2 as a required dependency ( #20543 )
...
* fix: Removes psycopg2 as a required dependency
* Disables lint warning
2022-06-29 09:22:13 -03:00
Susur
c4d2238a16
feat: add Spark Sql DB engine spec and support Spark 3.x ( #20462 )
...
* add apache spark3
* add Spark DB engine spec
* rebase secret key
* modify License error
* rebase databricks
* modify code style
* black code style
Co-authored-by: kai.he01 <kai.he01@idiaoyan.com >
2022-06-27 15:50:35 -07:00
Diego Medina
5afeba34bd
fix(viz): BigQuery time grain 'minute'/'second' throws an error ( #20350 )
2022-06-21 10:06:52 -03:00
Samira El Aabidi
68af5980ea
feat(chart): Enable caching per user when user impersonation is enabled ( #20114 )
...
* add username to extra cache keys when impersonation is enabled.
* don't put effective_user in extra_cache_key
* get_impersonation_key method in engine_spec class to construct an impersonation key
* pass datasource when creating query objects
* adding an impersonation key when construction cache key
* add feature flag to control caching per user
* revert changes
* make precommit and pylint happy
* pass a User instance
* remove unnecessary import
2022-06-20 18:14:08 -07:00
Simon Thelin
8b7262fa90
fix(20428): Address-Presto/Trino-Poll-Issue-Refactor ( #20434 )
...
* fix(20428)-Address-Presto/Trino-Poll-Issue-Refacto
r
Update linter
* Update to only use BaseEngineSpec handle_cursor
* Fix CI
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2022-06-19 16:28:59 -07:00
mohittt8
41bbf62e58
fix(presto): use correct timespec for presto ( #20333 )
2022-06-16 16:43:17 -07:00
Beto Dealmeida
ec331e683e
feat: Databricks native driver ( #20320 )
2022-06-09 15:34:49 -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
Smart-Codi
74c5479926
fix: datatype tracking issue on virtual dataset ( #20088 )
...
* Fix datatype tracking issue on virtual dataset
* fix pytest issue on postgresql
2022-06-01 13:43:11 -06:00
Ramunas Balukonis
694f75d376
fix: "Week Staring Monday" time grain for BigQuery ( #20091 )
...
* Week Staring From Monday added for BQ
* lint fix
2022-05-26 12:31:32 +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
thinhnd2104
85315460cb
fix: Athena timestamp literal format ( #19970 )
...
* Fix Athena timestamp literal format
related: [#19969 ]
* Update test_athena.py
Update test
* Update athena.py
* Resolving CI/CD
* lint
Co-authored-by: Thinh Nguyen Duc <thinhnd.it@tripi.vn >
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
2022-05-16 09:50:20 +03: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
John Bodley
fdf48c63f1
fix(hive): Workaround for Python 3.9 s3 transfer issue ( #19887 )
...
* fix(hive): Workaround for Python 3.9 s3 transfer issue
* Update hive.py
2022-05-04 08:14:40 -07:00
Daniel Vaz Gaspar
4fdf230a56
feat: deprecate /superset/extra_table_metadata migrate to api v1 ( #19921 )
...
* feat: deprecate /superset/extra_table_metadata migrate to api v1
* use can_read to table_extra_metadata
* troubleshoot sqlite
* fix test
* fix test
* fix test
* fix frontend test on sqllab
2022-05-04 14:55:52 +01:00
Beto Dealmeida
90130e4b4f
feat: simplify SQLite time grain ( #19745 )
2022-05-03 07:13:33 -07:00
Ville Brofeldt
99f1f9ec61
fix(sqla): replace custom dttm type with literal_column ( #19917 )
2022-05-03 07:19:36 +03:00
Beto Dealmeida
1ebdaac487
fix: memoize primitives ( #19930 )
2022-05-02 14:50:56 -07:00
code-review-doctor
50dc7af583
Fix issue probably-meant-fstring found at https://codereview.doctor ( #19826 )
2022-05-02 09:24:48 -07:00
Phillip Kelley-Dotson
ad715429f9
chore: simplify error messaging in database modal ( #19165 )
...
* testing for dbconn modal error message
* remove consoles and error alert mapping
* lint fix
* update url message
* add modal fix
* update comments
* fix err msg bugs
* fix pylint
* fix line
* fix tests
* fix assertions
2022-04-21 12:44:21 -07:00
Kenny Kwan
1b55778427
fix(sql_lab): Add custom timestamp type for literal casting for presto timestamps ( #13082 )
...
* Add custom timestamp type for literal casting for presto timestamps
* Remove typo in comment
* Use process_bind_params as in sqla docs
* Uncommit local superset config
* Add DATE literal casting
* Fix lint errors and change var name
* Get rid of col_type and whitespace
* Fix linting
* Fix arg type
* Fix isort lint error
* ran black and isort locally..
* accidentally removed EOF
* Dont need eof
* Use newer string formatting style from comments
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
* Trigger notification
* Trigger notification
Co-authored-by: Kenny Kwan <kennykwan@salesforce.com >
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2022-04-21 10:01:24 +12:00
Hugh A. Miles II
a6f46013d9
feat: 10/15/30 min grain to Pinot ( #19724 )
...
* add new grains to pinot
* update test
2022-04-19 11:16:48 -07:00
Ville Brofeldt
0d331f5bd8
chore: remove redundant adodbapi warning ( #19557 )
2022-04-07 14:30:36 +03:00
Craig Rueda
f64d654de3
chore(database): Creating helper make_url_safe to wrap potential errors ( #19526 )
...
* Creating helper make_url_safe to wrap potential errors
* Fixing imports
* Fixing imports again
* Adding comment
* Linting
* Fixing test
* Fixing test again...
* Fixing import
2022-04-05 11:17:30 -07:00