Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
John Bodley
bc65c245fe
chore(tests): Remove unnecessary/problematic app contexts ( #28159 )
2024-04-24 13:46:35 -07:00
Beto Dealmeida
99a1601aea
refactor: rename get_sqla_engine_with_context ( #28012 )
2024-04-12 13:31:05 -04:00
Vitor Avila
d87422527b
feat(jinja): metric macro ( #27582 )
2024-03-25 15:07:17 +00:00
Beto Dealmeida
26d8077e97
chore: improve SQL parsing ( #26767 )
2024-03-13 18:27:01 -04:00
Vitor Avila
1d571ec9e6
feat(jinja): current_user_email macro ( #27197 )
2024-02-23 15:28:30 -08:00
John Bodley
75543af550
chore(dao): Add explicit ON DELETE CASCADE when deleting datasets ( #24488 )
2023-06-28 16:03:25 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Ville Brofeldt
cd6fc35f60
chore(db_engine_specs): clean up column spec logic and add tests ( #22871 )
2023-01-31 15:54:07 +02:00
Ville Brofeldt
1ad5147016
fix(sqla): use same template processor in all methods ( #22280 )
2022-12-03 06:19:25 +02:00
Yongjie Zhao
a9b229dd1d
feat: support mulitple temporal filters in AdhocFilter and move the Time Section away ( #21767 )
2022-11-02 08:21:17 +08:00
Ville Brofeldt
52d33b05fd
chore(sqla): refactor query utils ( #21811 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-17 10:40:42 +01:00
Yongjie Zhao
05648eb489
feat: support None operand in EQUAL operator ( #21713 )
2022-10-06 16:45:59 +08:00
Yongjie Zhao
f71ee2e7bc
fix: flaky test when sync metadata ( #21306 )
2022-09-02 17:22:49 +08: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
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
Jesse Yang
231716cb50
perf: refactor SIP-68 db migrations with INSERT SELECT FROM ( #19421 )
2022-04-19 18:58:18 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Lily Kuang
50902d51f5
fix: allow subquery in ad-hoc SQL (WIP) ( #19242 )
...
* allow adhoc subquery
* add config for allow ad hoc subquery
* default to true allow adhoc subquery
* fix test
* Update superset/errors.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* Update superset/connectors/sqla/utils.py
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
* rename and add doc string
* fix for big query test
* Update superset/connectors/sqla/utils.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* Apply suggestions from code review
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* add test
* update validate adhoc subquery
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-03-18 10:04:55 -07:00
Yongjie Zhao
e4c9a0d8ae
fix: time filter should be [start, end) ( #19166 )
2022-03-17 10:02:50 +08:00
Stephen Liu
9671384efe
fix(sql): unable to filter text with quotes ( #17881 )
2022-01-28 21:49:22 +08:00
Yongjie Zhao
20b4ae1ef9
fix: null value and empty string in filter ( #18171 )
2022-01-27 22:58:06 +08:00
ofekisr
e53a50a155
chore(supeset.utils.core): move all database utils to database utils module ( #18058 )
2022-01-16 08:32:50 +02:00
Bogdan
afd2e9f2ca
chore: update fixtures scope that are loading data into the analytical db ( #17780 )
...
* Update db setup fixture scope
* Load data into db only once
* Update fixture scopes for data loading
* cleanup imports
* try import
* Update scope
* fix cleanup
* Import all fixtures
* Separate data log and metadata creation
* Retain table description
* fix dtype
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 16:11:47 -08:00
aniaan
5a1c68177e
fix(elasticsearch): time_zone setting does not work for cast datetime expressions ( #17048 )
...
* fix(elasticsearch): cast does not take effect for time zone settings
* test(elasticsearch): add test
* fix(test): fix typo
* docs(elasticsearch): add annotation
* docs(elasticsearch): add time_zone desc
* docs(elasticsearch): fix typo
* refactor(db_engine): change convert_dttm signature
* fix(test): fix test
* fix(es): add try catch
* fix(test): fix caplog
* fix(test): fix typo
2021-11-25 11:58:44 +02:00
John Bodley
36f489eea0
fix: Normalize prequery result type ( #17312 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-11-03 13:58:40 -07:00
Yongjie Zhao
4f1d202430
chore: use official isort in pre-commmit ( #17215 )
2021-10-25 17:57:38 +08:00
Yongjie Zhao
4c708af710
fix: avoid filters containing null value ( #17168 )
2021-10-21 18:20:38 +08:00
Yongjie Zhao
bb1d8fe4ef
fix: boolean type into SQL 'in' operator ( #16107 )
...
* fix: boolean type into SQL 'in' operator
* fix ut
* fix ut again
* update url
* remove blank line
2021-08-10 19:21:46 +08:00
John Bodley
c0615c55df
fix: Ensure table uniqueness on update ( #15909 )
...
* fix: Ensure table uniqueness on update
* Update models.py
* Update slice.py
* Update datasource_tests.py
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-03 07:45:55 +12:00
ofekisr
b5119b8dff
refactor(tests): decouple unittests from integration tests ( #15473 )
...
* refactor move all tests to be under integration_tests package
* refactor decouple unittests from integration tests - commands
* add unit_tests package
* fix celery_tests.py
* fix wrong FIXTURES_DIR value
2021-07-01 18:03:07 +03:00