Commit Graph

403 Commits

Author SHA1 Message Date
Đặng Minh Dũng 58e65ad5bb
feat: switch from `sqlalchemy-trino` to `trino` python client (#19957) 2022-05-05 09:43:31 -07:00
Hugh A. Miles II 3e3a4be6b5
Update setup.py (#19874) 2022-04-27 14:58:08 -07:00
AAfghahi 158852d074
bumping shillelagh (#19726) 2022-04-14 16:02:02 -04:00
Beto Dealmeida 8e326af3e6
chore: upgrade Pillow (#19674) 2022-04-13 09:47:20 -07:00
Beto Dealmeida 6136942759
fix: sqloxide optional (#19570) 2022-04-06 16:11:38 -07:00
Srini Kadamati a8e7624eb5
chore: attempt to force docs deploy (#19424) 2022-03-30 10:13:09 +03:00
Beto Dealmeida 63b5e2e4fa
perf: improve perf in SIP-68 migration (#19416)
* chore: improve perf in SIP-68 migration

* Small fixes

* Create tables referenced in SQL

* Update logic in SqlaTable as well

* Fix unit tests
2022-03-29 22:33:15 -07:00
Ville Brofeldt f4b71abb22
feat: introduce hashids permalink keys (#19324)
* feat: introduce hashids permalink keys

* implement dashboard permalinks

* remove shorturl notice from UPDATING.md

* lint

* fix test

* introduce KeyValueResource

* make filterState optional

* fix test

* fix resource names
2022-03-24 21:53:09 +02:00
Daniel Vaz Gaspar f37fc1a7f0
chore: bump majors on celery and Flask (#19168)
* chore: bump celery, Flask, flask-jwt-extended, pyJWT

* fix pyJWT breaking change

* fix pyJWT breaking change 2

* test

* fixed test

* fixed test

* fixed test

* revert since mypy won't pick the correct signature

* lint 1

* fix test

* fix test

* docs and celery config migration

* bump FAB to 4.0.0rc3, remove AUTH_STRICT_RESPONSE_CODES

* update docs for new celery config keys

* downgrade celery to 5.2.2

* ref FAB to final 4.0.0 release

* remove conflict left over
2022-03-24 09:16:53 +00:00
Daniel Vaz Gaspar 87e36d6abb
chore: bump FAB to 3.4.5 (#19323) 2022-03-23 10:13:16 +00:00
John Bodley e3e03d202d
chore: Deprecate Python 3.7 (#19017)
* chore: Deprecate Python 3.7 and add support for Python 3.10

* Update local-backend.mdx

* Update UPDATING.md

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-03-15 06:29:18 +13:00
Beto Dealmeida 40ab26d4f1
fix: unambiguous trino driver (#18683) 2022-02-11 17:40:20 -08:00
Dave McNulla 8c376548e3
fix(teradata): LIMIT syntax (#18240)
Co-authored-by: Mccush, Jack <jack.mccush@teradata.com>
Co-authored-by: Jack McCush <33156805+mccushjack@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: David McNulla <david.mcnulla@teradata.com>
2022-01-31 19:15:42 -08:00
Elizabeth Thompson 60db35cb4d
chore: bump pillow to major version (#18134)
* bump pillow to major version

* make a wider range for pillow dependency versions
2022-01-25 09:51:14 -08:00
Beto Dealmeida 9e2bc72fb9
chore: split CLI into multiple files (#18082)
* chore: split CLI into multiple files

* Update tests

* Who fixes the fixtures?

* Add subcommands dynamically

* Rebase
2022-01-19 11:27:16 -08:00
Beto Dealmeida 51090c3f1b
feat: shorter timeout on test_connection (#18001)
* feat: shorter timeout on test_connection

* pip-compile-multi --no-upgrade

* Fix for SQLite

* Return 408

* Add test
2022-01-12 13:01:34 -08:00
Ville Brofeldt cdcdf11d07
fix(helm): pin correct psycopg2 version (#17999) 2022-01-11 11:23:38 +02:00
Mikhail Kumachev d2d4f8eb44
feat: Add support for Azure Data Explorer (Kusto) db engine spec (#17898)
* Add two Kusto engine specs: KQL and SQL. Some minor changes in core code to support Kusto engine specs.

* Remove redundant imports and logging.

* docs: Kusto sqlalchemy docs

* fix: Fix mypy and linting errors

* fix: Handle Black vs Pylint checks

* fix: isort problem

* refactor: Merge kustosql and kustokql in the single kusto module

* test: Add tests for Kusto db spec

* feat: Schema override does not require in KQL anymore

* Removed redundant imports.

* Added ".show" queries to readonly query determination.

* Fixed some bugs.
Added tests for convert_dttm.

* Fixed major sqlalchemy-kusto version.

* Fixed by isort.

Co-authored-by: Eugene Bikkinin <xnegxneg@gmail.com>
Co-authored-by: k.tomak <k.tomak@dodopizza.com>
Co-authored-by: Eugene Bikkinin <e.bikkinin@dodopizza.com>
2022-01-10 14:42:20 +02:00
Daniel Vaz Gaspar ea3a5836b5
chore: bump FAB to 3.4.3 (#17964) 2022-01-07 14:27:04 +00:00
Ville Brofeldt eeaa57372e
chore: unbreak pip-compile-multi (#17963)
* chore: unbreak pip-compile-multi

* add docs
2022-01-07 15:29:13 +02:00
Marco Porracin 6e59a515b8
bump gunicorn 20.1.0 (#17894) 2022-01-03 12:09:31 -08:00
Daniel Vaz Gaspar e2e79923d3
chore: bump FAB to 3.4.1 (#17723)
* chore: bump FAB to 3.4.1

* test
2021-12-14 14:19:52 +00:00
Geido 46cdc77ae6
fix: Redirect on 401 (#17597)
* Redirect on 401

* Bump FAB

* Format

* Update Cypress save test

* Revert Cypress change

* Bump FAB 3.4.1rc2

* Update test

* Update return statement

* Update api test

* Update datasets api test

* Update datasets api 401s to 403s

* Add typeguard

* Use Promise.resolve

* Update callApiAndParseWithhTimeout test

* Disable parseResponse test

* Try catch

* Handle npm 8 issues
2021-12-08 13:14:30 -07:00
Gnought 94e787eca8
chore: bump mysqlclient version (#17556)
* Bump mysqlclient version

* Update SHA hash

* Update UPDATING.md

* Update setup.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-11-29 10:38:41 +02:00
Daniel Vaz Gaspar 035cc34b44
chore: bump major on Pillow, optional dependency (#17521)
* chore: bump major on Pillow, optional dependency

* bump to 8.3.2

* Revert "bump to 8.3.2"

This reverts commit ce640acec8.

* bump to 8.3.2 now the right way
2021-11-23 13:51:29 +00:00
Ville Brofeldt 261e4185ab
chore(deps): bump cachelib from 0.1.1 to 0.4.1 (#17482) 2021-11-21 10:13:28 +02:00
kamalkeshavani-aiinside 02a9b84b14
chore: Bump FAB to 3.4.0 (#17420)
Bumping FAB to latest 3.4.0
2021-11-19 14:59:03 +00:00
PApostol a898883f38
Remove redundant parentheses from setup.py (#17284) 2021-11-01 09:04:25 -07:00
Craig Rueda 6a63a21e06
chore: Bumping pyarrow / pandas (#17290)
* Bumping pyarrow / pandas

* Appeasing the pylint gods

* Adjusting UPDATING.md

* Buping testing requirements
2021-10-31 10:47:02 -07:00
Hugh A. Miles II 792efefcb4
Update setup.py (#17220) 2021-10-26 15:00:42 -04:00
Daniel Vaz Gaspar d944503873
fix: Bump FAB to 3.3.4 (#17113) 2021-10-14 12:08:48 +01:00
Ville Brofeldt 82601abe17
feat: upgrade docker image to py38 and add support for py39 (#16889)
* feat: upgrade docker image to py38 and add support for py39

* update required tests
2021-10-05 11:35:14 +03:00
apurva-sigmoid 420eff42b8
feat: add Firebolt DB engine spec (#16903)
* New branch from superset for integration with firebolt sqlalchemy adapter

* Added db_engine_spec file for Firebolt

* Removed firebolt code from superset repo

* Deleted virtual env commit

* Adding time grain changes to firebolt.py

* Updated README.md

Added steps to install and run Superset with Firebolt SQLAlchemy Adapter

* Update README.md

Reduced installation steps. Using PyPi installation for adapter now

* Revert "Update README.md"

This reverts commit 5ed17c7a45.

* Revert "Updated README.md"

This reverts commit 45c5072649.

* added epoch methods, added test cases for firebolt db engine spec and edited setup.py

* Added license to files

* Added documentation for Firebolt-SQLAlchemy

* Removed trailing whitespace

Co-authored-by: raghavsharma <raghavs@sigmoidanalytics.com>
Co-authored-by: raghavSharmaSigmoid <88667094+raghavSharmaSigmoid@users.noreply.github.com>
2021-10-01 19:43:15 +03:00
Beto Dealmeida 4af5ae08f9
fix: encode rison characters when searching (#16768) 2021-09-22 10:06:24 -07:00
Daniel Vaz Gaspar 7e09b7241e
chore: Bump FAB to 3.3.2 (#16615) 2021-09-08 12:15:04 +01:00
Beto Dealmeida 359383b578
feat: Add Aurora Data API engine spec (#16535)
* feat: Add Aurora Data API engine spec

* Fix lint
2021-09-04 08:40:14 -07:00
Daniel Wood e024f8c7d6
fix: Set correct comparison operator for snowflake-sqlalchemy pinning (#16526) 2021-08-31 16:18:55 -06:00
Daniel Wood ad8336a5b4
fix: Pin snowflake-sqlalchemy to 1.2.4 (#16515)
* Pin snowflake-sqlalchemy to 1.2.4

* lint files
2021-08-31 07:48:51 +03:00
Beto Dealmeida 5e472980a6
feat: add Shillelagh DB engine spec (#16416) 2021-08-24 17:07:29 -07:00
Srini Kadamati 5f060a2227
feat: Adding Rockset db engine spec (#16167)
* rockset prototype

* rockset

* t

* removed print / logging

* set a more specific version range for Rockset library
2021-08-18 13:04:59 +03:00
Ville Brofeldt d46dc9aa45
chore: upgrade mypy and add type guards (#16227) 2021-08-14 06:31:45 +03:00
Rob DiCiuccio 04622529df
Revert a7f247b472 (#16039) 2021-08-03 09:27:45 -07:00
John Bodley a7f247b472
chore: Bump Celery (#15927)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-03 05:28:20 +12:00
Beto Dealmeida 6afa840659
feat: send report data to Slack (#15806)
* feat: send data embedded in report email

* Change post-processing to use new endpoint

* Show TEXT option only to text-based vizs

* Fix test

* feat: send data embedded in report email

* feat: send report data to Slack

* Add unit test

* trigger tests
2021-07-29 10:13:28 -07:00
Beto Dealmeida 3441182630
chore: remove unnecessary deps (#15787)
* chore: remove unneeded deps

* fix lint

* Run compile
2021-07-21 16:53:45 -07:00
John Bodley ab4e3b9bf9
chore: Enforce Mypy for non-tests (#15757)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-07-22 06:46:43 +12:00
Beto Dealmeida c9dad05f2b
chore: remove `retry` dependency in favor of `backoff` (#15788)
* chore: remove retry dep in favor of backoff

* Fix lint
2021-07-20 10:33:37 -07:00
Beto Dealmeida 83be06d2cc
Revert #15405 #15435 #15444 (#15558) 2021-07-06 14:56:08 -07:00
Daniel Vaz Gaspar dd16468d44
fix: base requirements missing deprecation pkg (#15527) 2021-07-04 10:27:02 +03:00
Beto Dealmeida cbc4aa8dc1
feat: extra table metadata for Google Sheets (#14775)
* feat: GSheets extra table metadata

* Bump version
2021-07-01 19:27:26 -07:00
Abhishek Jog 7ad8fd5c98
feat(add Netezza database): Add IBM Netezza support (#15450)
* Add netezza to superset

* update netezza logo

* change in logo filename

* fixing linter error

* removing stray code
2021-06-30 08:27:54 -04:00
Beto Dealmeida ed6d10e283
Remove pydash merge (#15435) 2021-06-28 15:40:44 -07:00
ofekisr d8a1acffde
chore(refactor): load configuration and merge recursively (#15405)
* refactor load configuration

* refactor init configuration to enable recursive merge

* Update config.py

* Update app.py

* fix lint and black issue
2021-06-28 13:53:26 +03:00
Ke Zhu 2ebc0a078a
chore: upgrade Flask-Caching>=1.10.0 2021-06-28 08:58:56 +08:00
ofekisr 73e2c09af0
fix(regression): removed flask_app property can break derived class (#15407)
* fix removed flask_app property can break derived class

* Update __init__.py
2021-06-27 17:52:13 +03:00
Daniel Wood 5e543e3b9e
fix(aarch64): Bump pyarrow version to 4.0.1 (#14891)
* Bump pyarrow to v4 for aarch64 compatibility.

* Update base.txt

* Bump to 4.0.1
2021-06-16 14:19:32 -07:00
Will Barrett 1d78c43e27
Upgrade cryptography package (#14906) 2021-05-28 14:59:15 -07:00
Beto Dealmeida 9e13476714
feat: enable user impersonation in GSheets (#14767) 2021-05-22 13:46:36 -07:00
John Bodley 2bd0b62902
fix: Use simplejson for Flask JSON encoding (#14627)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-05-14 15:13:29 +12:00
Ben Reinhart 0fe2bf1150
chore: Update FAB to 3.3.0 (#14556) 2021-05-11 10:00:07 +01:00
Daniel Vaz Gaspar b4e527a8c4
fix: bootstrap data permissions (#14348) 2021-04-30 12:02:01 -06:00
Ville Brofeldt 55bf72aead
chore(prophet): bump prophet to 1.0.1 (#14228) 2021-04-20 15:55:55 +03:00
Erik Ritter a3e302374b
fix: Add extra requires for shillelagh (#14180)
* fix: Add extra requires for shillelagh

* Update google-sheets.mdx

* Update index.mdx
2021-04-16 09:16:35 -07:00
Beto Dealmeida c1cb3619ab
feat: script to benchmark DB migrations (#13561) 2021-04-15 10:55:35 -07:00
Étienne Boisseau-Sierra 73a2cc322a
fix: Pin Prophet dependency after breaking changes (#13852)
Prophet is heavily dependent on Pystan:
https://facebook.github.io/prophet/docs/installation.html

Pystan has recently (2021-03-25) release its v3.0.0.

This release is not backward compatible and breaks fbprophet:
https://github.com/facebook/prophet/issues/1856

(Indeed, fbprophet 0.6 specifies `pystan>=2.14` — but doesn't restrict
upgrading to next major release:
https://github.com/facebook/prophet/blob/0.6/python/requirements.txt#L3)

So we need to pin pystan to the lastest non 3.x release, while fbprophet
fixes the dependency on their side.

We have taken this opportunity to bump fbprophet too to its next minor
version.

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
2021-04-02 00:42:29 +08:00
Beto Dealmeida adc247b7e4
feat: add Databricks DB engine spec (#13682) 2021-03-18 09:19:15 +00:00
Rob DiCiuccio 697cdf26b3
Bump pyyaml to latest (#13658) 2021-03-17 14:41:02 -07:00
Daniel Vaz Gaspar 0819beaedc
fix: bump FAB to 3.2.1, SQLAlchemy fix (#13642) 2021-03-16 23:10:34 +00:00
Srini Kadamati bebac5921b
feat: add connector for CrateDB (#13152)
* feat: add connector for CrateDB

* added crate

* fix PyPI reference

* add tests

* added more clarity on installing crate

* fix test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-03-11 23:03:22 +02:00
Ville Brofeldt 70e12ed27d
chore: bump pyarrow and pandas (#12882)
* bump pyarrow and pandas

* remove df copy
2021-03-02 19:44:53 +02:00
Beto Dealmeida 892eef1af6
feat: add Firebird DB engine spec (#13353)
* feat: add Firebird DB engine spec

* Add dep to setup.py

* Fix lint

* Add tests

* Remove uneeded code

* Fix old bug
2021-02-26 12:07:27 -08:00
Beto Dealmeida 3d23adec5e
chore: use shillelagh instead of gsheetsdb (#13185)
* chore: use shillelagh instead of gsheetsdb

* Fix tests

* Clean up code and remove duplication

* Fix test

* Tighten dep
2021-02-18 09:48:18 -08:00
Đặng Minh Dũng 2dbe92ba2f
feat: first step native support Trino (#13105)
* feat: add TrinoEngineSpec

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* feat: add trino into extras_require

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* test: add trino_tests.py

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2021-02-15 14:30:13 +02: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
Ville Brofeldt bab86abd92
fix(release): pin pyjwt to version <2 (#12804) 2021-01-29 12:01:58 +02:00
Ville Brofeldt b8a93fdaf2
fix(release): add typing-extensions as dependency (#12648) 2021-01-22 15:13:44 -08:00
Ahmed Adel e6a76a58d3
feat(db-engine): Add support for Apache Solr (#12403)
* [db engine] Add support for Apache Solr

* Fixing typo
2021-01-15 15:11:56 +02:00
Amit Miran b221417e19
chore: remove harmless incubator refs (#12289)
* chore: migrate all harmless incubator refs like comments and documentation files

* chore: migrate all superset.incubator.apache.org to superset.apache.org to

* chore: migrate dist.apache.org refs

* chore: removing incubating and Disclaimer

* fix: linting issues
2021-01-06 13:45:19 +02:00
Jagadish 732d1ed40b
updated SQLAlchemy=1.3.21 is incompatible in setup.py file. (#12191) 2020-12-23 13:23:29 +02:00
Yongjie Zhao b592cc7e73
feat(explore): time picker enhancement (#11418) 2020-12-17 18:27:21 -08:00
John Bodley c306368f3c
fix: Python dependencies in #11499 (#12079)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-12-17 11:52:21 +13:00
ʈᵃᵢ 6fcda5dac1
feat: add cron picker to AlertReportModal (#12032)
* humanize cron display in list view
2020-12-14 22:29:31 -08:00
Beto Dealmeida 66cd565bff
feat: add Postgres SQL validator (#11538)
* Add Postgres SQL validator

* Strip line number from message

* Add unit tests

* Run tests only with postgres backend

* Add dep

* Add dep to bashlib
2020-12-04 19:17:23 -08:00
Beto Dealmeida 54bf70733f
feat: run BQ queries as single statement (#11904)
* feat: run BQ queries as single statement

* Update deps

* Fix lint

* Update superset/sql_lab.py

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-12-03 13:20:23 -08:00
Daniel Vaz Gaspar 1591d75d2f
fix(setup): disallow python 3.6 for pip install (#11825)
* fix(setup): disallow python 3.6 for pip install

* remove old py constraint
2020-11-26 11:49:12 +00:00
Maxime Beauchemin 9a1fcc70bc
chore: bump pypi cryptography from 2.4.2 to 3.2.1 (#11511) 2020-10-31 13:28:19 -07:00
Daniel Vaz Gaspar 427058b4dc
fix: bump FAB to 3.1.1 (#11444) 2020-10-27 14:54:29 +00:00
Ville Brofeldt 6181994084
chore: bump pandas to latest stable version (#11018)
* chore: bump pandas to latest stable version

* fix nest_values
2020-09-24 13:11:10 +03:00
Ville Brofeldt 9a6697141d
chore: deprecate python 3.6 support (#10803) 2020-09-09 08:51:55 +03:00
Ville Brofeldt 4392c4608f
chore: bump pyarrow (#10733)
* chore: bump pandas an pyarrow

* remove unsupported kwargs

* fix types

* move pandas back to 1.0 branch due to possible MultiIndex regression
2020-08-31 19:55:53 +03:00
Hossein Torabi 8190dcb61f
fix drill installation (#10558) 2020-08-10 11:39:46 -07:00
Ville Brofeldt 3983fff084
ci: bump tests to 3.7 and add support for 3.8 (#10110) 2020-08-05 13:29:07 +03:00
Hossein Torabi 514b29f6df
fix db installaion (#10425) 2020-08-04 21:51:32 -07:00
John Bodley cda764fd4b
chore: Adding pip-compile-multi et al. (#10499)
* chore: Adding pip-compile-multi et al

* Specify requirements.txt path for fossa

* [ci] Fixing CI

Co-authored-by: John Bodley <john.bodley@airbnb.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2020-08-04 19:31:52 -07:00
Bogdan 7075c2ff69
Pin slack client, breaking change (#10345)
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-07-20 09:20:05 -07:00
Ville Brofeldt 7af8b2b3f8
feat: add optional prophet forecasting functionality to chart data api (#10324)
* feat: add prophet post processing operation

* add tests

* lint

* whitespace

* remove whitespace

* address comments

* add note to UPDATING.md
2020-07-20 18:46:51 +03:00
Daniel Vaz Gaspar 266238caab
fix: Bump FAB to 3.0.1 fix superset init (#10310) 2020-07-14 15:16:45 +01:00
Daniel Vaz Gaspar 878dbcda3f
feat(api): bump marshmallow and FAB to version 3 (#9964)
* feat(api): bump marshmallow and FAB to version 3

* revert query context tests changes

* obey mypy

* fix tests

* ignore types that collide with marshmallow

* preparing for RC2

* fix tests for marshmallow 3

* typing fixes for marshmallow

* fix tests and black

* fix tests

* bump to RC3 and lint

* Test RC4

* Final 3.0.0

* Address comments, fix tests, better naming, docs

* fix test

* couple of fixes, addressing comments

* bumping marshmallow
2020-07-07 13:26:54 +01:00
Bogdan b7c45fed80
fix: downgrade sqlparse and add unit test (#10165)
* Downgrade sqlparse and add unit test

* Explain why sqlparse is pinned

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-07-06 11:10:46 -07:00
Hossein Torabi fdd28c1a5e
Upload excel (#9825) 2020-07-03 08:28:30 +03:00