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
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
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
Michael S. Molina
e5b7f7c9b5
fix: Time shifts with different granularity for ECharts ( #24176 )
2023-06-08 16:03:37 -03:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Sebastian Liebscher
c963416c09
chore: remove deprecated distutils ( #24001 )
2023-05-11 19:00:04 +03:00
Hugh A. Miles II
b820eb8235
chore: Update pre-commit packages ( #23173 )
2023-03-13 17:05:13 -06: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
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
0df15bf207
chore(pylint): Reenable import-outside-toplevel check ( #16263 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-17 05:20:13 +12:00
Hugh A. Miles II
d4480f5c9a
feat: Database Connection UI ( #14881 )
2021-07-01 14:40:27 -07:00
Daniel Vaz Gaspar
9568985b7b
fix: engines that don't support comments ( #13153 )
...
* fix: engines that don't support comments
* fix: engines that don't support comments
* add quick inexpensive test
* add test
2021-02-17 18:01:34 +00:00
Daniel Vaz Gaspar
b3a814fa27
feat(db engines): add support for Opendistro Elasticsearch (AWS ES) ( #12602 )
...
* feat(db engines): add support for Opendistro Elasticsearch (AWS ES)
* add time grains
* lint
* bump elasticsearch-dbapi version
* add tests
* fix test
2021-02-10 08:17:27 +00:00
Daniel Vaz Gaspar
6c018c0a28
refactor: dbapi exception mapping for dbapi's ( #12869 )
...
* refactor: dbapi exception mapping for dbapi's
* fix test
* fix lint
* fix grammar on comment
2021-02-02 15:07:46 +00: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
Ville Brofeldt
b205ce32b0
feat: Add new timegrains and convert_dttm to Druid engine spec ( #10160 )
...
* feat: Add new timegrains and convert_dttm to Druid engine spec
* Add TemporalType enum and fix test case
* Remove DATETIME for athena (original spec)
2020-06-25 12:18:37 +03:00
Ville Brofeldt
ef2ebbd570
Add option to specify type specific date truncation functions ( #9238 )
2020-03-05 07:25:50 +02:00
Will Barrett
cc49aae245
re-enable pylint for database compatibility layer ( #8772 )
...
* Re-enable pylint for superset/db_engines/hive.py
* re-enable pylint for superset/db_engine_specs/elasticsearch.py
* Re-enable superset/db_engine_specs/__init__.py
* Re-enable pylint for superset/db_engine_specs/exasol.py
2019-12-07 16:15:12 -08:00
John Bodley
0a3b121244
[sql] Fixing datetime SQL literal ( #8464 )
2019-10-29 23:24:48 -07:00
Daniel Vaz Gaspar
a757b43164
[db engine] Add support for Elasticsearch ( #8441 )
...
* [db engine] Add support for Elasticsearch
2019-10-28 16:04:14 +00:00