Commit Graph

446 Commits

Author SHA1 Message Date
Igor Khrol
80a6e25a98 fix: Avoid 500 if end users write bad SQL (#26638) 2024-01-18 06:48:50 +13:00
John Bodley
7af82ae87d refactor: Ensure Celery leverages the Flask-SQLAlchemy session (#26186) 2024-01-17 17:06:22 +13:00
Igor Khrol
3daa038f5f fix: Trino - handle table not found in SQLLab (#26355)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2024-01-11 13:37:18 +13:00
Jeremy
3a0391bbb9 fix(databend): databend time grain expression (#26378) 2023-12-29 09:00:05 -03: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
Guen Prawiroatmodjo
9d3796828c fix(sql lab): Use quote_schema instead of quote method to format schema name (#26281) 2023-12-21 06:52:39 +13:00
John Bodley
aafb54d042 chore: Ensure Mixins are ordered according to the MRO (#26288) 2023-12-16 14:11:58 +13:00
Tim Eckley
b287ca7f5b feat: Create db_engine_spec ibmi.py (#26161) 2023-12-04 13:49:38 -08:00
Rob Moore
6359086779 fix: move driver import to method (#26066) 2023-11-22 10:49:01 -05:00
Jiwen liu
97121465dd feat: Add Apache Doris support (#24714)
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-11-21 12:42:10 -07:00
Rob Moore
8d73ab9955 feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs (#25809) 2023-11-20 10:59:10 -07:00
Gnought
b0da5cef70 chore: remove deprecated functions in SQLAlchemy (#25911) 2023-11-08 11:56:38 -08:00
Beto Dealmeida
cdb18e04ff fix: trino cursor (#25897) 2023-11-08 07:38:38 -05:00
Beto Dealmeida
80caba3fd1 feat: method for dynamic allows_alias_in_select (#25882) 2023-11-07 14:28:28 -05:00
Jeremy
5690946b1a feat: support databend for superset (#23308) 2023-11-02 12:00:11 -07:00
Mikel Vuka
9972ac6908 refactor: use DATE_TRUNC for Elasticsearch time grain (#25717)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-20 10:05:05 -07:00
Rob Moore
4e94fc4cff fix(sqllab): reinstate "Force trino client async execution" (#25680) 2023-10-19 16:38:13 +03:00
Mikel Vuka
e7cdfeeb2c feat: Add week time grain for Elasticsearch datasets (#25683)
Co-authored-by: Mikel Vuka <mikel.vuka@zalando.de>
2023-10-18 19:39:16 -07:00
OskarNS
be82657940 fix(dremio): Fixes issue with Dremio SQL generation for Charts with Series Limit (#25657) 2023-10-18 15:54:27 -04:00
Ville Brofeldt
e56e0de458 fix: revert fix(sqllab): Force trino client async execution (#24859) (#25541) 2023-10-13 11:58:20 +00:00
Rui Zhao
be3714e131 fix(Presto): catch DatabaseError when testing Presto views (#25559)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2023-10-11 11:31:07 -06:00
Beto Dealmeida
89b05993a3 fix(test-db): removed attribute (#25525) 2023-10-05 10:47:30 -07:00
Ville Brofeldt
7eab59af51 fix(mysql): handle string typed decimal results (#24241) 2023-09-29 10:48:08 -07:00
Josh Soref
0735680674 chore(backend): Spelling (#25457)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-09-29 09:36:50 -07:00
Stepan
14c324950a feat(datasource): Checkbox for always filtering main dttm in datasource (#25204)
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-09-14 15:57:08 -07:00
John Bodley
83fc553841 refactor: Remove obsolete HiveEngineSpec.fetch_logs method (#20631) 2023-09-11 08:31:18 -07:00
Ville Brofeldt
0668d12e3b chore(trino): remove unnecessary index checks (#25211) 2023-09-08 18:15:45 -07:00
yousoph
33624289fe fix(docs): Fixing a typo in README.md (#25216) 2023-09-08 12:23:19 -04:00
Rob Moore
cfda30c81a fix(sqllab): Force trino client async execution (#24859) 2023-09-06 14:20:26 -07:00
Ethan M Lewis
321d968504 fix: add format for timestamp in crdb to correctly use times values (#24711)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-31 10:23:32 -07:00
Sebastian Liebscher
067bfbf950 chore: move TypedDict from typing_extensions to typing (#25121) 2023-08-30 09:49:45 -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
Erich
c2a21d2da0 refactor(pinot): The python_date_format for a temporal column was not being passed to get_timestamp_expr (#24942) 2023-08-27 18:46:39 +02:00
Yuval Moshe
66eabc253f fix(mssql): avoid trying to return a resultset for DML queries with not resultset (#24999) 2023-08-21 08:33:26 -03:00
Beto Dealmeida
6b660c86a4 feat: a native SQLAlchemy dialect for Superset (#14225) 2023-08-18 12:21:36 -07:00
Beto Dealmeida
a3d72e0ec7 fix(gsheets): add column names on file upload (#24963) 2023-08-11 12:51:21 -07:00
Beto Dealmeida
a1e32dbfa6 feat: command to test DB engine specs (#24918) 2023-08-11 10:10:49 -07:00
Beto Dealmeida
f5ed4072e4 feat(gsheets): file upload (#24921) 2023-08-11 06:35:00 -07:00
Beto Dealmeida
6f24a4e7a8 fix: calls to _get_sqla_engine (#24953) 2023-08-11 12:54:01 +02:00
Beto Dealmeida
9c54280d85 feat: add MotherDuck DB engine spec (#24934) 2023-08-09 16:42:14 -07:00
Beto Dealmeida
85a7d5cb3e feat: improve SQLite DB engine spec (#24909) 2023-08-07 15:59:56 -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
Beto Dealmeida
7675e0db10 fix: search_path in RDS (#24739) 2023-07-20 12:57:48 -07:00
Gyuil Han
a6e749da87 chore: remove underscore from builtin_time_grains label (#24567) 2023-07-07 10:43:49 -03:00
Hugh A. Miles II
226c7f807d fix: SSH Tunnel creation with dynamic form (#24196) 2023-07-02 23:48:48 -04:00
cwegener
f1b003f109 refactor: pkg_resources -> importlib.metadata (#24514) 2023-06-28 15:25:50 -07:00
Kamil Gabryjelski
83ff4cd86a feat: Implement currencies formatter for saved metrics (#24517) 2023-06-28 20:51:40 +02:00
Ville Brofeldt
ea89949118 fix(oracle): denormalize column names where applicable (#24471) 2023-06-21 22:35:46 +03:00
Hugh A. Miles II
93e1db4bd9 fix: save columns reference from sqllab save datasets flow (#24248) 2023-06-20 13:54:19 -04:00
Michael S. Molina
e5b7f7c9b5 fix: Time shifts with different granularity for ECharts (#24176) 2023-06-08 16:03:37 -03:00