Commit Graph

477 Commits

Author SHA1 Message Date
EugeneTorap 7401f15add
chore: Bump sqlalchemy-utils to 0.38.3 (#21413) 2022-09-10 11:39:23 +03:00
Eugene Bikkinin ac7dcc3a8d
chore(database): raised version of sqlalchemy-kusto (#21370) 2022-09-09 10:55:36 +02:00
Daniel Vaz Gaspar 29c233fc92
chore: bump FAB to 4.1.4 (#21329) 2022-09-06 10:56:57 +01:00
EugeneTorap 60db0bb47e
chore: Bump pandas to 1.4.4 (#21285) 2022-09-02 13:05:22 +03:00
nisheldo 6d65f806d8
chore: updating thrift (#20776)
Co-authored-by: Nick Sheldon <Nick_Sheldon@cargill.com>
2022-09-01 06:26:00 +03:00
AAfghahi 9c4ae2ab7e
fix: bump min version of elastic search (#21274)
* dataset exists error

* change min version of elasticsearch
2022-08-31 12:42:48 -07:00
EugeneTorap 994e1f6bdc
chore: bump clickhouse-sqlalchemy 0.2.2 (#21195) 2022-08-25 15:35:20 +02:00
EugeneTorap 76d6a9af91
chore: Support Python 3.10 and bump pandas 1.4 and pyarrow 6 (#21002)
* Bump pandas 1.4 and pyarrow 6

* Use engine="pyarrow" for pd.read_csv()

* Refactoring

* Refactoring

* Refactoring

* Use bytes in pd.read_json()

* Fix test_contribution

* Fix pandas issue when 'arrays' are empty but 'names' contain values

* fix: ValueError: For argument "ascending" expected type bool, received type NoneType.

* Remove engine="pyarrow" and convert bytes to string

* make copy of selected df to fix regression

* Simplify pd.read_json() and pd.read_csv() for example data

Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-08-17 10:36:36 -03:00
Erik Cederstrand d817a1dc87
chore(deps): unpin holidays dependency version (#21091)
The blocking issue has been fixed upstream

Co-authored-by: Erik Cederstrand <erik@adamatics.com>
2022-08-16 00:51:27 +08:00
Beto Dealmeida 4f1996dba8
fix: add plain postgres alias (#21045) 2022-08-10 18:07:31 -07:00
Beto Dealmeida bce32af19b
chore: unpin snowflake (#20948) 2022-08-02 21:17:06 -07:00
Elizabeth Thompson 4d29d16b64
fix: make a new entrypoint for deprecated postgres dialect (#20895)
* make a new entrypoint for deprecated postgres dialect

* Update setup.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2022-07-29 13:03:41 -07:00
nisheldo 39545352d2
chore: update Pillow to 9.1.1 (#20775) 2022-07-22 17:44:07 +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
Daniel Vaz Gaspar 183871b002
chore: bump FAB to 4.1.3 (#20621) 2022-07-06 12:55:24 +01:00
Susur c4d2238a16
feat: add Spark Sql DB engine spec and support Spark 3.x (#20462)
* add apache spark3

* add Spark DB engine spec

* rebase secret key

* modify License error

* rebase databricks

* modify code style

* black code style

Co-authored-by: kai.he01 <kai.he01@idiaoyan.com>
2022-06-27 15:50:35 -07:00
Daniel Vaz Gaspar c56e37cda2
fix: bump FAB to 4.1.2 (#20483) 2022-06-24 19:13:48 +01:00
Multazim Deshmukh 5a2abfab65
fix: correction from mmsql to mssql in setup.py (#20493)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
2022-06-24 10:43:16 -07:00
Beto Dealmeida ec331e683e
feat: Databricks native driver (#20320) 2022-06-09 15:34:49 -07:00
Joe Li d3670f1472
chore(deps): pinning pyjwt to 2.4.0 (#20297)
* pinning pyjwt to 2.4.0

* Updating the max version based on PR comments

* Update setup.py

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-06-07 21:34:00 -04:00
Joe Li b650a1d47c
chore(deps): bump numpy 1.22.1 and PyJWT to 2.4.0 (#20287)
* setting numpy 1.22.1 and PyJWT to 2.4.0

* requirements.txt

Co-authored-by: Arash <arash.afghahi@gmail.com>
2022-06-07 10:09:41 -06:00
John Bodley b08e21efd9
[requirements] Resolve rebase conflicts (#20152)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-03 15:27:35 -07:00
AAfghahi e07ee6c764
chore: bumping min version of shillelagh (#20196)
* bumping min version of shillelagh

* ran pip-compile-multi
2022-05-31 13:10:25 -04:00
Nicola Coretti ac4158e903
Update dependencies for exasol feature flag (#20127)
Updating the sqlalchemy-exasol package will fix #20105 .
2022-05-25 18:01:46 -07:00
Đặ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
thibault ketterer 539e11b67e
update to last pyathena >= 1.10.8, to fix athena CSV upload (#10188) 2020-06-29 17:38:58 +03:00
Ville Brofeldt d615949820
chore: Bump sqlalchemy-utils and cachelib and refresh requirements.txt (#10117)
* chore: Bump sqlalchemy-utils and cachelib and refresh requirements.txt

* undeprecate EncryptedType

* black

* reference correct class

Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2020-06-22 16:01:46 +03:00
Bogdan 29e9f2c70b
feat: superset report slack integration (#9810)
* First draft for the slack integration

Fix slack

another typo

another typo

Fix slack

Add channels to the form

another typo

Another set of changes

Make code more transparent

Fix tests

Add logging

logging

use logger

import logging

import logging

import logging

add assert

more logging

Fix channels

Fix channels

* Address comments

* Move slack into a separate module

Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-06-17 11:01:25 -07:00
Ville Brofeldt 373651efa4
fix: bump pydruid version (#10046) 2020-06-12 18:41:36 +03:00
Karen Palacio 1a6b9d7456
fix: bump pydruid to 0.6.0 (#10014)
* bump pydruid to 0.5.11

* bump pydruid to 0.6.0
2020-06-10 12:40:51 -07:00
Erik Ritter c7c76c6a99
build: Add python 3.8 to the build matrix (#9827) 2020-05-17 14:49:51 -07:00
Ville Brofeldt b532c4609f
chore: bump python dependencies (#9786)
* chore: bump pyhton dependencies

* bump flask-testing

* Add note to UPDATING and bump flask-testing in requirements-dev.txt

* fix old sqlparse test case that is fixed with sqlparse==0.3.1

* Fix migration and sqlparse set test

* downgrade alembic

* Downgrade sqlalchemy-utils

* pin sqlalchemy-utils due to regression in 0.36.5

* Refine comment in setup.py

* make cachelib an explicit requirement
2020-05-13 18:49:34 +03:00
Daniel Vaz Gaspar d373cc8074
perf(dashboards): improve API performance for dashboards (#9704) 2020-05-05 14:30:24 +01:00
Ville Brofeldt aad8209922
chore: Bump PyArrow to latest stable version (#9696) 2020-04-30 22:34:27 +03:00
John Bodley 3b0f8e9c8a
[sql] Adding lighweight Table class (#9649)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-04-30 08:38:02 -07:00
Daniel Vaz Gaspar d81f720502
[thumbnails] API and celery task for dashboards and charts (#8947) 2020-04-15 09:40:14 +01:00
Ville Brofeldt 11ac8c7392
Bump sqlalchemy and dremio deps (#9503) 2020-04-11 08:19:25 +03:00
Ville Brofeldt a8ce3bccdf
feat: Add post processing to QueryObject (#9427)
* Add post processing to QueryObject

* Simplify sort signature and require explicit sort order

* Add new operations and unit tests

* linting

* Address comments

* Simplify test method names

* Address comments

* Linting

* remove unnecessary logic

* Apply strict whitelisting to all getattr calls

* Add checking of rolling_type_options and add/improve docs
2020-04-10 20:50:11 +03:00
Daniel Vaz Gaspar ecfc1f147d
Bump FAB to 2.3.2 (#9491) 2020-04-09 09:07:19 +01:00
Daniel Vaz Gaspar 2e81e27272
[dependency] Fix, Bump FAB to 2.3.1 (#9413) 2020-03-29 16:26:52 +01:00
John Bodley 232925b7bf
[requirements] Telling Celery 4.4.1 it is not welcome here (#9331)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-03-20 10:45:26 -07:00
ʈᵃᵢ 8f7ce168a0
bump FAB to 2.3.0 (#9318) 2020-03-17 22:17:02 +00:00
Ville Brofeldt 91f3cb9878
fix: bump click in setup.py and requirements.txt (#9299)
* bump click

* add token_normalize_func to click cli decorator
2020-03-13 21:36:16 +02:00
Rob DiCiuccio 8cabea5cb8
Update PyArrow to 0.16.0 (#9119) 2020-03-08 23:07:15 +02:00
Daniel Vaz Gaspar 8c095a6e39
Bump FAB to 2.2.4 (#9165) 2020-02-24 18:57:58 +00:00
David Aaron Suddjian 966d321703
[docker] fix, Dockerfile for frontend builds (#9114)
* fix dockerfile for frontend builds

* fix paths

* empty commit for CI

* adjust version_info.json

* making version_info work

* rat

* fixing docker-compose node service

* address feedback
2020-02-12 15:48:24 +00:00
Daniel Vaz Gaspar 30b7064e30
Bump FAB to 2.2.3 (#9117) 2020-02-12 08:59:11 +00:00
David Aaron Suddjian 2913063924 SIP-32: Moving frontend code to the base of the repo (#9098)
* move assets out, get webpack dev working

* update docs to reference superset-frontend

* draw the rest of the owl

* fix docs

* fix webpack script

* rats

* correct docs

* fix tox dox
2020-02-09 17:53:56 -08:00
Arian Treffer 0cf354cc88
Add support for Cockroach DB (#9043)
* Add support for Cockroach DB

* Add documentation, fix installation and style for CockroachDB

* Fix formatting for black
2020-02-08 12:07:02 +02:00
Daniel Vaz Gaspar 6f1c931ff0
Bump FAB to 2.2.2 (#9004) 2020-01-23 16:51:01 +00:00
Ville Brofeldt e46ff239af
Bump pandas to 0.25.3 (#8985)
* Bump pandas to 0.25.3 as per recommendation to get ready for 1.0

* Localize timezone aware Pandas series prior to Arrow conversion
2020-01-22 09:03:19 +02:00