John Bodley
449d08b25e
fix: Refactor SQL username logic ( #19914 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-05-12 21:03:05 -07:00
Hugh A. Miles II
1f0daa9a5a
add new enums for datasource types ( #20015 )
2022-05-10 14:31:36 -04:00
AAfghahi
2e2053f72f
filename for attached images ( #19929 )
2022-05-05 13:27:52 -04:00
Elizabeth Thompson
060b5c0e17
chore: remove druid datasource from the config ( #19770 )
...
* remove druid datasource from the config
* remove config related references to DruidDatasource
* Update __init__.py
* Update __init__.py
* Update manager.py
* remove config related references to DruidDatasource
* raise if instance type is not valid
2022-05-04 12:48:48 -07:00
Yeachan Park
8b72354654
fix(sqllab/charts): casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp ( #18873 )
...
* fix casting from timestamp[us] to timestamp[ns] would result in out of bounds timestamp from sqllab and charts
* Add unittests
* Lint changes and parameter variable rename
* Fix linting
2022-05-04 09:47:12 +03:00
Beto Dealmeida
1ebdaac487
fix: memoize primitives ( #19930 )
2022-05-02 14:50:56 -07:00
Beto Dealmeida
aff10a7fad
feat: simplify memoized_func ( #19905 )
2022-04-29 15:55:58 -07:00
Josh Soref
c32c505742
chore(docs): Spelling ( #19675 )
...
* spelling: adding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: aggregate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: avoid
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: blacklist
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: cached
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: discontinue
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: exhaustive
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: from
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: hybrid
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: implicit
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: interim
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: introduced
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: javascript
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: logstash
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: metadata
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: password
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: recommended
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: redshift
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: refactored
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: referencing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: sqlite
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: the
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: thumbnails
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: undoes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: very
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2022-04-26 13:17:15 -03:00
Smart-Codi
4dc19345d8
fix: Show full long number in text email report for table chart. ( #19575 )
...
* fix lint issue
* resolve comment
* fix pipeline broken issue
* resolve pipeline broken issue
2022-04-22 14:55:00 -06:00
Yongjie Zhao
3c28cd4625
feat: add renameOperator ( #19776 )
2022-04-20 19:48:12 +08:00
Yongjie Zhao
9425dd2cac
fix: drop the first level of MultiIndex ( #19716 )
2022-04-14 23:40:38 +08:00
Beto Dealmeida
8865656e06
chore: fix typo ( #19699 )
2022-04-13 17:08:39 -07:00
Yongjie Zhao
d7dd4119d4
fix: time comparision ( #19659 )
2022-04-12 18:19:22 +08:00
Zimo Li
8da2c9b96a
Fix spelling: following ( #19594 )
2022-04-07 21:02:22 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Yongjie Zhao
a39dd4493e
feat: linear imputation in Resample ( #19393 )
2022-03-28 22:30:45 +08:00
Ville Brofeldt
02308a6f78
fix(caching): support metastore cache for non-required caches ( #19369 )
...
* fix(caching): support metastore cache for non-required caches
* lint
2022-03-25 16:19:35 +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
Yongjie Zhao
375c03e084
feat(advanced analysis): support MultiIndex column in post processing stage ( #19116 )
2022-03-23 13:46:28 +08:00
Ville Brofeldt
7ca10fb770
fix(cache): only warn about fallback cache for non-debug mode ( #19305 )
2022-03-22 18:34:41 +02:00
Ville Brofeldt
72b9a7fa5b
feat(key-value): add superset metastore cache ( #19232 )
2022-03-21 19:46:56 +02:00
John Bodley
82a6811e7e
fix(presto/trino): Add TIME/TIMESTAMP WITH TIME ZONE ( #19263 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-03-22 06:33:38 +13:00
PApostol
c07a707eab
Various docstring fixes ( #18221 )
2022-03-21 13:01:57 -03:00
Ville Brofeldt
f341025d80
feat: add support for comments in adhoc clauses ( #19248 )
...
* feat: add support for comments in adhoc clauses
* sanitize remaining freeform clauses
* sanitize adhoc having in frontend
* address review comment
2022-03-18 15:08:06 -07:00
Jesse Yang
92cd0a18e6
chore: upgrade mypy ( #19227 )
2022-03-17 10:35:53 -07:00
Craig Rueda
4b34817b19
feat(ui): Adding manifest prefix config ( #19141 )
...
* Adding manifest prefix config
* Fixing broken tests
* Fixing import
* Adding prefix for remaining assets
* Changing static prefix strategy
* Fixing DST test
* Fixing up formatting
* Fixing up async_query_manager.py types
2022-03-17 08:58:48 -07:00
Hugh A. Miles II
181ecf4509
fix: Logic for showing extension in Global Nav ( #19158 )
...
* fix logic for checking extensions
* add specific types
* fix lint
2022-03-16 14:39:08 -07:00
Kamil Gabryjelski
9f834e8317
fix(plugin-chart-echarts): Apply temporary filters to Query B in explore ( #18998 )
...
* fix(explore): Extra filters not applied to query b in mixed timeseries
* Add return type
* Apply review comment
* Fix non-dnd filters
2022-03-04 17:48:41 +01:00
John Bodley
26486d01c1
chore: Remove legacy SIP-15 interim logic/flags ( #18936 )
...
* chore: Remove legacy SIP-15 logic
* Update ab9a9d86e695_deprecate_time_range_endpoints.py
* Update UPDATING.md
* Update UPDATING.md
* Update UPDATING.md
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-03-04 09:15:36 +13:00
Ville Brofeldt
a04f1d4c87
chore(cache): default to SimpleCache in debug mode ( #18976 )
...
* chore(cache): default to SimpleCache in debug mode
* lint
* clean up type
* use util
* fix integration test cache configs
* remove util from cache manager
* remove trailing comma
* fix more tests
* fix truthiness check
* fix tests and improve deprecation notice
* fix default cache threshold
* move debug check to cache_manager
* remove separate getter
* update docs
* remove default cache config
2022-03-02 19:38:34 +02:00
Yongjie Zhao
987740aa8d
fix: contribution operator meets nan value ( #18782 )
2022-02-18 23:28:28 +08:00
Yongjie Zhao
8d6aff3e5d
refactor: decouple pandas postprocessing operator ( #18710 )
2022-02-14 16:44:26 +08:00
Ville Brofeldt
fdbcbb5c84
fix(csv-export): pivot v2 with verbose names ( #18633 )
...
* fix(csv-export): pivot v2 with verbose names
* refine logic + add test
* add missing verbose_map
2022-02-09 14:01:57 +02:00
Ville Brofeldt
125be78ee6
feat(chart-data-api): download multiple csvs as zip ( #18618 )
...
* feat(chart-data-api): download multiple csvs as zip
* break out util
* check for empty request
2022-02-08 14:25:06 -05:00
AAfghahi
fa11a97585
fix: remove standalone ( #18157 )
...
* removed standalone
* Update tests/integration_tests/reports/commands_tests.py
* changed standalone
* added tests
* made function more generic
* Update superset/reports/notifications/email.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2022-01-26 13:04:26 -05:00
Michael S. Molina
f018c826b8
refactor: Moves the Explore form_data endpoint ( #18151 )
...
* refactor: Moves the Explore form_data endpoint
* Removes unused imports
* Fixes openapi schema error
* Fixes typo
* Renames and UPDATING.md
2022-01-25 11:14:50 -03:00
Ville Brofeldt
e9651ea52f
feat(plugin-chart-echarts): support non-timeseries x-axis ( #17917 )
...
* feat(plugin-chart-echarts): support non-timeseries x-axis
* fix tests
* change formula return type from Date to number
* add x_axis test coverage
* rename func and improve coverage
* add x-axis control to bar chart
* remove redundant console.log
* fix description
* make x-axis control mandatory
* 🙃
* fix x-axis formatter
* fix showValues
* fix implicit rDTTM_ALIAS references in postProcessing
* replace TIME_COLUMN with DTTM_ALIAS
* fix remaining implicit indexes
* fix: Disable filtering on wide result sets (#18021 )
* fix: handle null values in time-series table (#18039 )
* cleanup column_type_mappings (#17569 )
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com >
* important change to MakeFile (#18037 )
* add missing is_timeseries to pivot op
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com >
Co-authored-by: Grace Guo <grace.guo@airbnb.com >
Co-authored-by: Đặng Minh Dũng <dungdm93@live.com >
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com >
2022-01-21 21:23:23 +02:00
Michael S. Molina
959b15eeca
feat: Adds a key-value endpoint to store charts form data ( #17882 )
...
* feat: Adds a key-value endpoint to store charts form data
* Fixes linting problems
* Removes the query_params from the endpoints
* Refactors the commands
* Removes unused imports
* Changes the parameters to use dataclass
* Adds more access tests
* Gets the first dataset while testing
* Adds unit tests for the check_access function
* Changes the can_access check
* Always check for dataset access
2022-01-20 16:27:57 -03:00
ofekisr
4675ca31c5
refactor(example_data): replace the way the birth_names data is loaded to DB ( #18060 )
...
* refactor: replace the way the birth_names data is loaded to DB
* fix failed unit test
* fix failed unit test
* fix failed tests
* fix pass wrong flag of support datetime type
* remove unused fixture
2022-01-18 23:21:04 +02:00
Yongjie Zhao
0c7f7288d8
feat(advanced analytics): support groupby in resample ( #18045 )
2022-01-17 18:42:59 +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
Daniel Vaz Gaspar
412189fcb7
fix: Change default SECRET_KEY, improve docs and banner warning ( #17984 )
...
* fix: Change default SECRET_KEY, improve docs and banner warning on default
* lint
* Update superset/initialization/__init__.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* add a secret migration procedure, update UPDATING
* fix lint
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2022-01-11 15:13:04 +00:00
ofekisr
ef57bd1902
fix: failed mypy ( #17886 )
2021-12-29 16:05:53 +02:00
Beto Dealmeida
b7707e8ff7
feat: bypass cache on screenshots for alerts ( #17695 )
...
* feat: bypass cache on screenshots for alerts
* Update existing tests
* Add backend test
* Add frontend test
2021-12-22 08:26:38 -08:00
Shiva Raisinghani
cd88b8e81e
feat(prophet): enable confidence intervals and y_hat without forecast ( #17658 )
...
* enable confidence intervals and y_hat without forecast
* fix if statement
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2021-12-08 09:56:18 +02:00
PApostol
9121e4555d
chore: Remove unreachable return statements ( #17622 )
...
* Remove unreachable return statements
* Remove unnecessary int casting
2021-12-07 20:28:35 +02:00
Michael S. Molina
2f2e8fe412
feat: Adds a key-value endpoint to store the state of dashboard filters ( #17536 )
...
* feat: Adds a key-value endpoint to store the state of dashboard filters
* Fixes pylint issues
* Adds openapi schemas
* Adds more tests, move logic to commands and use singular form for the endpoint name
* Fixes model description
* Removes database model
* Adds open api specs
* Simplifies the commands
* Adds more tests
* Validates the value content and submits the correct http status code
* Fixes import order
* Skips flakky test
* Fixes tests
* Updates UPDATING.md
2021-12-01 09:06:49 -03:00
Ville Brofeldt
7429282972
fix(lint): fix unnecessary type ignore ( #17555 )
2021-11-25 16:57:36 +02:00
Kamil Gabryjelski
1f8eff72de
fix: Always use temporal type for dttm columns [ID-2] ( #17458 )
...
* fix: Always use temporal type for dttm columns
* move inference and implement in chart postproc
* fix test
* fix test case
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
2021-11-22 15:40:38 +01:00
Daniel Vaz Gaspar
69f9ee8f5e
fix: feature flags typing ( #15254 )
...
* fix: feature flags typing
* fix tests
* add note in UPDATING.md
* fix frontend
* also move SCHEDULED_QUERIES to top level
* fix test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
2021-11-19 15:56:16 +00:00