Mayur
e6384aa12f
fix(reports): force data generation in csv reports ( #22196 )
...
(cherry picked from commit a8bc53d805 )
2023-01-05 14:34:27 -05:00
Daniel Vaz Gaspar
81ad9cb0a7
fix: datasource save, improve data validation ( #22038 )
2023-01-05 14:32:45 -05:00
Daniel Vaz Gaspar
387ee4ff4f
fix: deprecate approve and request_access endpoint ( #22022 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
(cherry picked from commit 358a4ecedd )
2023-01-05 14:02:22 -05:00
Beto Dealmeida
92863659a6
fix: check that imports are ZIPs ( #21875 )
2023-01-05 10:19:46 -05:00
Ville Brofeldt
7c98e266ce
chore(sqla): refactor query utils ( #21811 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com >
2023-01-04 12:44:21 -05:00
Mayur
f676a890d9
fix: allow adhoc columns in non-aggregate query ( #21729 )
2023-01-04 10:45:56 -05:00
Bogdan
f3153760cd
perf: Memoize the common_bootstrap_payload and include user param ( #21018 ) ( #21439 )
...
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com >
2022-09-14 15:08:49 -03:00
Daniel Vaz Gaspar
93611064b4
fix: cached common bootstrap Revert ( #21018 ) ( #21419 )
...
(cherry picked from commit 094400c308 )
2022-09-14 14:55:23 -03:00
Michael S. Molina
79cb268279
fix: Test host reference
2022-09-07 09:08:09 -03:00
Daniel Vaz Gaspar
8e7fb96f06
fix: disallow users from viewing other user's profile on config ( #21302 )
2022-09-06 10:24:03 -03:00
Daniel Vaz Gaspar
85fb2433ab
feat: adds TLS certificate validation option for SMTP ( #21272 )
...
(cherry picked from commit 9fd752057e )
2022-09-06 10:12:01 -03:00
ʈᵃᵢ
9861c2b9e7
fix(celery cache warmup): add auth and use warm_up_cache endpoint ( #21076 )
...
(cherry picked from commit 04dd8d414d )
2022-09-06 10:12:01 -03:00
Bogdan
6bcb9674da
Memoize the common_bootstrap_payload ( #21018 )
...
Try patch
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com >
(cherry picked from commit 495a205dec )
2022-08-29 14:26:51 -03:00
Bogdan
1e8259a410
perf: Implement model specific lookups by id to improve performance ( #20974 )
...
* Implement model specific lookups by id to improve performance
* Address comments e.g. better variable names and test cleanup
* commit after cleanup
* even better name and test cleanup via rollback
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com >
2022-08-29 14:26:18 -03:00
Diego Medina
4073b58aa2
fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics ( #20235 )
...
* fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics
* add test
(cherry picked from commit 8638f59b4c )
2022-06-24 15:19:33 -03:00
John Bodley
d512e89aa9
fix(csv): Ensure df_to_escaped_csv handles NULL ( #20151 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
(cherry picked from commit 97ce920d49 )
2022-06-24 15:19:33 -03:00
Ville Brofeldt
8089afce1e
fix(temporary-cache): when user is anonymous ( #20181 )
...
* fix(temporary-cache): fail on anonymous user
* make exceptions generic
* fix test
* remove redundant bool return
* fix unit tests
(cherry picked from commit 64c4226817 )
2022-05-26 10:28:14 -03:00
cccs-tom
562e3a769b
fix: Allow dataset owners to see their datasets ( #20135 )
...
(cherry picked from commit b0c6935f06 )
2022-05-26 10:28:14 -03:00
Ville Brofeldt
c5e2809c2c
fix(presto,trino): use correct literal dttm separator ( #20123 )
...
* fix(presto,trino): use correct literal dttm separator
* remove redundant tests
(cherry picked from commit e2f11d3680 )
2022-05-26 10:28:14 -03:00
thinhnd2104
bda9044bfd
fix: Athena timestamp literal format ( #19970 )
...
* Fix Athena timestamp literal format
related: [#19969 ]
* Update test_athena.py
Update test
* Update athena.py
* Resolving CI/CD
* lint
Co-authored-by: Thinh Nguyen Duc <thinhnd.it@tripi.vn >
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com >
(cherry picked from commit 85315460cb )
2022-05-26 10:28:13 -03:00
Yeachan Park
8becd3e080
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
(cherry picked from commit 8b72354654 )
2022-05-26 10:28:13 -03:00
Ville Brofeldt
9ca53b8905
fix(sqla): replace custom dttm type with literal_column ( #19917 )
...
(cherry picked from commit 99f1f9ec61 )
2022-05-26 10:28:13 -03:00
Hugh A. Miles II
2bd89d1705
fix: Alpha should not be able to edit datasets that they don't own ( #19854 )
...
* fix api for checking owners
* fix styles for disabling
* fix styles for disabling
* fix lint
* fix lint
* add owners key
* plzz
* remove
* update test
* add tooltip
* add type
* fix test
* fix user reference
* lit
* fix test
* work
(cherry picked from commit 8b15b68979 )
2022-05-26 10:28:13 -03:00
Yongjie Zhao
8c8bbfb89f
feat: add renameOperator ( #19776 )
...
(cherry picked from commit 3c28cd4625 )
2022-04-25 10:46:53 +03:00
Jesse Yang
90b08fa095
chore: skip SIP-68 shadow writing for LTS
2022-04-15 14:52:25 +03:00
Yongjie Zhao
98c4d943da
fix: drop the first level of MultiIndex ( #19716 )
...
(cherry picked from commit 9425dd2cac )
2022-04-15 14:52:10 +03:00
Yongjie Zhao
95e5b59c38
fix: time comparision ( #19659 )
...
(cherry picked from commit d7dd4119d4 )
2022-04-15 14:52:10 +03:00
Ville Brofeldt
419316e84a
fix tests
2022-04-11 09:49:29 +03:00
Yongjie Zhao
90f49e261e
fix: flaky test for dashboard changed on ( #19483 )
...
(cherry picked from commit a2e921bd03 )
2022-04-04 11:00:48 +03:00
Yongjie Zhao
3ff9cdeb65
fix: can't sync temporal flag on virtual table ( #19366 )
...
(cherry picked from commit d954c3df86 )
2022-04-04 11:00:48 +03:00
Beto Dealmeida
840be9972f
feat: improve adhoc SQL validation ( #19454 )
...
* feat: improve adhoc SQL validation
* Small changes
* Add more unit tests
(cherry picked from commit 6828624f61 )
2022-04-04 11:00:47 +03:00
James Turton
e4cbbdc653
fix(drill): specify an SA URL parm of impersonation_target for drill+sadrill ( #19252 )
...
* Update drill+sadrill to specify an SA URL parm of "impersonation_target".
Sqlalchemy-drill is being updated to support impersonation with the
drill+sadrill driver, where previously it did not. The way that callers
should specify impersonation matches that for the drill+jdbc driver in that
a SA URL parameter of impersonation_target should be set to the username
of the user to be impersonated, while the stadard SA username and password
should be those of the proxy user.
* Remove lint.
* Address review comments.
* Use idiomatic pytest to test for a raised exception.
* Fix import statement order in drill.py.
(cherry picked from commit 85e330e94b )
2022-04-04 11:00:46 +03:00
David Aaron Suddjian
795ed3c719
feat: Embedded dashboard configuration ( #19364 )
...
* embedded dashboard model
* embedded dashboard endpoints
* DRY up using the with_dashboard decorator elsewhere
* wip
* check feature flags and permissions
* wip
* sdk
* urls
* dao option for id column
* got it working
* Update superset/embedded/view.py
* use the curator check
* put back old endpoint, for now
* allow access by either embedded.uuid or dashboard.id
* keep the old endpoint around, for the time being
* openapi
* lint
* lint
* lint
* test stuff
* lint, test
* typo
* Update superset-frontend/src/embedded/index.tsx
* Update superset-frontend/src/embedded/index.tsx
* fix tests
* bump sdk
(cherry picked from commit 8e29ec5a66 )
2022-04-04 11:00:45 +03:00
Daniel Vaz Gaspar
7aba89c486
fix: add missing init on python pkg key_value ( #19428 )
...
* fix: add missing init on python pkg key_value
* fix lint issues
* fix lint issues
(cherry picked from commit fa35109bf2 )
2022-04-04 11:00:44 +03:00
Beto Dealmeida
038d114b07
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
(cherry picked from commit 63b5e2e4fa )
2022-04-04 11:00:43 +03:00
Ville Brofeldt
fb929ab649
run black on remaining files
2022-04-03 19:15:25 +03:00
Ville Brofeldt
a70f4dc52f
chore: upgrade black ( #19410 )
2022-04-03 19:13:17 +03:00
Beto Dealmeida
cccec50454
feat: disable edits on external assets ( #19344 )
...
* feat: disable edits on external assets
* Update tests
(cherry picked from commit d304849b46 )
2022-04-03 19:04:00 +03:00
Yongjie Zhao
5f2ffb3ba4
feat: linear imputation in Resample ( #19393 )
...
(cherry picked from commit a39dd4493e )
2022-04-03 19:03:59 +03:00
Ville Brofeldt
a6a2def6d3
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
(cherry picked from commit f4b71abb22 )
2022-04-03 19:03:56 +03:00
Beto Dealmeida
d9377559f6
feat: import external management columns ( #19315 )
...
* feat: import flags
* Add tests
(cherry picked from commit c7f9060a2f )
2022-04-03 19:03:55 +03:00
Yongjie Zhao
9bc76337cf
feat(advanced analysis): support MultiIndex column in post processing stage ( #19116 )
2022-04-03 19:00:01 +03:00
Beto Dealmeida
d4223d7dc4
feat: API for asset sync ( #19220 )
...
* feat: API for asset sync
* Add unit tests.
* Improve tests
* Move files
* Add more tests
(cherry picked from commit b05e7dbf2a )
2022-04-03 18:57:30 +03:00
Ville Brofeldt
f3172010d5
feat(key-value): add superset metastore cache ( #19232 )
...
(cherry picked from commit 72b9a7fa5b )
2022-04-03 14:10:49 +03:00
John Bodley
81a1abfab4
fix(presto/trino): Add TIME/TIMESTAMP WITH TIME ZONE ( #19263 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
(cherry picked from commit 82a6811e7e )
2022-04-03 14:10:48 +03:00
Elizabeth Thompson
910679aad5
fix dataset update table ( #19269 )
...
(cherry picked from commit 88029e21b6 )
2022-04-03 14:10:48 +03:00
PApostol
70facad1b2
Various docstring fixes ( #18221 )
...
(cherry picked from commit c07a707eab )
2022-04-03 14:10:48 +03:00
Stephen Liu
7d239b8958
feat: improve color consistency (save all labels) ( #19038 )
...
(cherry picked from commit dc575080d7 )
2022-04-03 14:10:47 +03:00
Ville Brofeldt
408573d4d6
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
(cherry picked from commit f341025d80 )
2022-04-03 14:10:47 +03:00
Lily Kuang
c793b7bfe9
fix: allow subquery in ad-hoc SQL (WIP) ( #19242 )
...
* allow adhoc subquery
* add config for allow ad hoc subquery
* default to true allow adhoc subquery
* fix test
* Update superset/errors.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Update superset/connectors/sqla/utils.py
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com >
* rename and add doc string
* fix for big query test
* Update superset/connectors/sqla/utils.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* Apply suggestions from code review
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
* add test
* update validate adhoc subquery
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com >
(cherry picked from commit 50902d51f5 )
2022-04-03 14:10:46 +03:00