Commit Graph

11309 Commits

Author SHA1 Message Date
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
Ville Brofeldt
94d4179045 update changelog entries 2022-05-26 14:47:45 +03:00
Ville Brofeldt
054e6b2334 update changelog 1.5.0 1.5.0rc4 2022-04-25 10:55:40 +03:00
Diego Medina
397a182c2f fix(sql lab): when editing a saved query, the status is lost when switching tabs (#19448)
(cherry picked from commit 800ced5e25)
2022-04-25 10:46:54 +03:00
Ville Brofeldt
1050fcbd3c fix(key_value): use longblob on mysql (#19805)
* fix(key_value): use longblob on mysql

* set length

(cherry picked from commit a1bd5b283c)
2022-04-25 10:46:54 +03:00
Kamil Gabryjelski
387138eb9e Fix display of column config in table chart (#19806)
(cherry picked from commit 12bc30e2c7)
2022-04-25 10:46:53 +03:00
Yongjie Zhao
4fa96d3a3b fix: lost renameOperator in mixed timeseries chart (#19802)
(cherry picked from commit 108a2a4eaf)
2022-04-25 10:46:53 +03:00
smileydev
5567828ee8 fix(chart & explore): Show labels for SliderControl (#19765)
* fix(chart & explore): make to show label of slidercontrol

* fix(chart & explore): make to update SliderControl props

* fix(chart & explore): make to fix lint

(cherry picked from commit dfbaba97c6)
2022-04-25 10:46:53 +03:00
Yongjie Zhao
8c8bbfb89f feat: add renameOperator (#19776)
(cherry picked from commit 3c28cd4625)
2022-04-25 10:46:53 +03:00
Cedric Gampert
2b6e35e039 fix: dashboard standalone class not added when parameter set (#16619)
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit 5134c63ae2)
2022-04-25 10:46:53 +03:00
Diego Medina
1d141be463 fix: SQL Lab UI Error: Objects are not valid as a React child (#19783)
(cherry picked from commit dfba9ea596)
2022-04-25 10:46:52 +03:00
Diego Medina
87b51c26f4 fix(sql lab): replace the output column in the query history table (#19370)
* fix(sql lab): replace the output column in the query history table

* improvements

(cherry picked from commit d4e7c65f6a)
2022-04-25 10:46:52 +03:00
Ville Brofeldt
c9e3ca11e2 fix(dashboard): copy permalink to dashboard chart (#19772)
* fix(dashboard): copy permalink to dashboard chart

* lint

* address comments

(cherry picked from commit e061955fd0)
2022-04-25 10:43:09 +03:00
smileydev
5df14ed8f9 fix(explore): make to show the null value as N/A in view result (#19603)
* fix(explore): make to show the null value as N/A in view result

* fix(explore): make to remove console

* fix(explore): make to remove console in Cell

* fix(explore): make to translate N/A

(cherry picked from commit 34323f9b5f)
2022-04-25 10:43:09 +03:00
Ville Brofeldt
2d7d2dd373 fix(permalink): remove memoize on get salt func (#19749)
(cherry picked from commit cf5145918b)
2022-04-25 10:43:09 +03:00
Kamil Gabryjelski
28aa69628f chore: Clean redundant dependency from useMemo dep array (#19732)
(cherry picked from commit b7759e6fd1)
2022-04-25 10:35:31 +03:00
Michael S. Molina
f8b202f670 fix: Filter dependencies are not being applied in default values (#19698)
(cherry picked from commit 7bc9123fe5)
2022-04-25 10:35:31 +03:00
Ville Brofeldt
ccf296b786 update changelog 1.5.0rc3 2022-04-15 15:11:31 +03:00
Jesse Yang
90b08fa095 chore: skip SIP-68 shadow writing for LTS 2022-04-15 14:52:25 +03:00
smileydev
cdc136c70a fix(dnd&column): make to fix the blank state issue when only one column select (#19651)
(cherry picked from commit c320c295dc)
2022-04-15 14:52:11 +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
Kamil Gabryjelski
3c8e65960f fix(dashboard): Fix BigNumber causing dashboard to crash when overflowing (#19688)
* fix(dashboard): fix(plugin-chart-echarts): Fix BigNumber causing dashboard to crash when overflowing

* Add tooltips for truncated titles

* Fix type

(cherry picked from commit ee85466f2e)
2022-04-15 14:52:10 +03:00
Ville Brofeldt
d657d813e3 fix(sql-lab): do not replace undefined schema with empty object (#19664)
(cherry picked from commit 87d47987b7)
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
Ville Brofeldt
13e81c683e update changelog 1.5.0rc2 2022-04-08 18:19:18 +03:00
Ville Brofeldt
77d6207bed docs: release notes for 1.5 (#19530)
* docs: release notes for 1.5

* rephrase and remove secret key from 1.4

* address review comments

(cherry picked from commit 1c1beb653a)
2022-04-08 16:47:07 +03:00
Ville Brofeldt
ecaecf0b6c fix(select): render when empty multiselect (#19612)
* fix(select): render when empty multiselect

* disable flaky test

(cherry picked from commit 1ad82af058)
2022-04-08 16:41:34 +03:00
Ville Brofeldt
280ecab0e6 chore: remove redundant adodbapi warning (#19557)
(cherry picked from commit 0d331f5bd8)
2022-04-08 16:41:33 +03:00
Ville Brofeldt
5ca126698a fix(dataset): handle missing python_type gracefully (#19553)
* fix(dataset): handle missing python_type gracefully

* refactor TEMPORAL_TYPES

(cherry picked from commit d9343a4639)
2022-04-08 16:41:33 +03:00
Ville Brofeldt
44eb81e35f fix(sqla): apply jinja to metrics (#19565)
(cherry picked from commit 34b55765c4)
2022-04-08 16:41:33 +03:00
Ville Brofeldt
1e567999d9 fix(dataset): avoid crash if database missing (#19582)
(cherry picked from commit db2135109a)
2022-04-08 16:41:33 +03:00
Yongjie Zhao
d99a9a4134 fix: big number with trendline can't calculate cumsum (#19542)
(cherry picked from commit 2daa071633)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
c4d24a09a8 fix(sqllab): null database with backend persistence (#19548)
(cherry picked from commit 2d81c4c79f)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
34e3119c40 fix(migrations): reorder skipped 1.4 migrations (#19543)
(cherry picked from commit e1ef2baad7)
2022-04-08 16:41:32 +03:00
Ville Brofeldt
031fadbed8 chore(releasing): use node 16 for testing and remove redundant updating note (#19505)
* chore(releasing): use node 16 for testing

* remove note about required cache
1.5.0rc1
2022-04-04 13:43:26 +03:00
Ville Brofeldt
cc51a84c26 fix bad conflict resolution 2022-04-04 11:58:52 +03:00
Ville Brofeldt
2001fb5037 add noop endpoint migration 2022-04-04 11:20:29 +03:00
Ville Brofeldt
96901d6c46 update changelog, updating, version 2022-04-04 11:11:19 +03:00
dudasaron
dba4610f9b fix(dashboard list): do not show favorite star for anonymous users #18210 (#19409)
* fix: Only show favorite star on dashboard list if user is logged in #18210

* Fix linter errors

(cherry picked from commit b8891acf4a)
2022-04-04 11:05:38 +03:00
Ville Brofeldt
f44ed063e8 chore(plugin-chart-echarts): upgrade echarts 5.3.2 (#19481)
(cherry picked from commit 11bf0d09cb)
2022-04-04 11:00:48 +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
Ville Brofeldt
3c627bdc61 fix: request samples with default row limit (#19456)
* fix: request samples with default row limit

* lodashLint

* fix cypress test

(cherry picked from commit d684ad073d)
2022-04-04 11:00:47 +03:00
Jinghuayao
3eece91378 test(native filter): add new test for dependent filter (#19392)
* add new test for dependent filter

(cherry picked from commit 2a75e4c3c3)
2022-04-04 11:00:47 +03:00
Diego Medina
af0dc75207 feat(sql lab): enable ACE editor search in SQL editors (#19328)
(cherry picked from commit eab9388f7c)
2022-04-04 11:00:47 +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