Beto Dealmeida
a26e1d822a
chore: remove sqlparse ( #33564 )
2025-06-04 19:31:41 -04:00
Maxime Beauchemin
274aa143d3
chore: python version to 3.11 (while supporting 3.10) ( #31503 )
2025-01-13 18:22:49 -08:00
Maxime Beauchemin
e51b95ffa8
chore: enforce more ruff rules ( #31447 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2024-12-18 17:41:34 -08:00
gaurav7261
60abf7e2af
fix(redshift): convert_dttm method for redshift dataset and tests ( #26283 )
...
Co-authored-by: GauravM <gaurav@ip-192-168-0-100.ap-south-1.compute.internal >
2023-12-21 09:55:34 +13:00
John Bodley
aafb54d042
chore: Ensure Mixins are ordered according to the MRO ( #26288 )
2023-12-16 14:11:58 +13:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Elizabeth Thompson
71106cfd97
feat: create dtype option for csv upload ( #23716 )
2023-04-24 12:53:53 -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
Hugh A. Miles II
8f81fc0ad7
fix: Redshift parameters not rendering ( #14888 )
...
* Update redshift.py
* Update api_tests.py
* fixed test
* add file back
2021-05-28 12:57:15 -04:00
AAfghahi
904b60e420
chore: added BasicParametersMixin to Redshift ( #14752 )
...
* redshift basic mixin and tests
* rebased
* forgot prefix
2021-05-24 17:32:53 -04:00
Beto Dealmeida
31f406a526
feat: API endpoint to validate databases using separate parameters ( #14420 )
...
* feat: new endpoint for validating database parameters
* Rebase
* Remove broken tests
2021-05-12 18:32:10 -07:00
Beto Dealmeida
21c6efea67
chore: rename connection errors ( #14169 )
2021-04-15 10:57:02 -07:00
AAfghahi
eadff5f41e
feat: invalid DB name error messages (MySQL/Postgres/Redshift) ( #14146 )
...
* initial DB custom errors for mysql
* added redshift and postgres
2021-04-15 08:02:47 -07:00
AAfghahi
321db4674d
feat: invalid hostname and password error messages (Redshift) ( #14111 )
...
* custom errors for redshift
* added unit tests and custom errors
2021-04-13 21:20:47 -07:00
Erik Ritter
2055ecc1ba
feat: refactor error components and add database issue code ( #10473 )
...
* feat: refactor error components and add database issue code
* Apply suggestions from code review
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2020-08-06 13:22:24 -07:00
Will Barrett
ec86d9de17
Fix lint in superset/db_engine_spec ( #8338 )
...
* Enable lint checking for files in db_engine_spec that have few to no
lint issues
* Enable lint and fix issue in db_engine_spec/mysql.py
* Enable pylint and fix lint for db_engine_spec/pinot.py
* Enable lint and fix issues for db_engine_specs/hive.py
* Enable lint and fix for db_engine_spec/presto.py
* Re-enable lint on base.py, fix/disable specific failures, including one
bad method signature
* Make flake8 happy after a number of pylint fixes
* Update db_engine_spec_test test cases related to Presto to support
different method naming
* automated reformatting
* One more pylint disable for druid.py
* Find the magic invocation that makes all the lint tools happy
2019-10-04 09:19:21 -07:00
Ville Brofeldt
fb51632e18
Add docstrings and typing to db_engine_specs and sql_parse ( #8058 )
...
* Add typing to db_engine_specs
* Add more type annotations and docstrings
* Add docstrings and typing to sql_parse and db_engine_specs
* Refine select_star
* Fix execute and add more docstrings
* Revert kwargs change from execute
* Remove redundant or
* Align view and table getter schema types
* Fix return type of latest_partition
* Remove some typing from presto
* Improve docstring for __extract_from_token
2019-08-22 06:29:32 +03:00
John Bodley
5c58fd1802
[format] Using Black ( #7769 )
2019-06-25 13:34:48 -07:00
Ville Brofeldt
95291facff
Break up db_engine_specs ( #7676 )
...
* Refactor db_engine_specs into package
* Rename bigquery class and add epoch funcs
* Fix flake8 errors
* Dynamically load all engine specs
* Fix linting errors and unit tests
* Implement Snowflake epoch time funcs
* Implement Teradata epoch time func
* Fix presto datasource query and remove unused import
* Fix broken datasource query
* Add mypy ignore for false positive
* Add missing license files
* Make create_time_grains_tuple public
* Fix flake8 quote
* Fix incorrect licence header
2019-06-08 11:27:13 -07:00