Commit Graph

11125 Commits

Author SHA1 Message Date
Thomas Desrosiers
4b8fc06e5f fix: Update time grain expressions for Spark >= 3.x (#18690)
* Fix the time grain expressions for Spark >= 2.3.0

Spark removed date format string 'u' in Spark 3.0. Switch to using date_trunc which has been around since 2.3

* Review: Pull out time_grain_expressoins into its own thing

(cherry picked from commit 03b2b06e90)
2022-04-03 14:02:15 +03:00
Phillip Kelley-Dotson
29b46d00f9 fix: remove unnecessary divider (#19048)
* fix: remove unnecessary divider

* remove console

(cherry picked from commit 4d96393faf)
2022-04-03 14:02:15 +03:00
Jesse Yang
032f560c2c feat(select): sort exact and startsWith match to first (#18856)
(cherry picked from commit c75f233109)
2022-04-03 14:02:14 +03:00
Michael S. Molina
219fa570b0 chore: Moves Chart to the components folder (#19029)
(cherry picked from commit 04a36d5c92)
2022-04-03 14:02:14 +03:00
chanyou0311
05f25d350c Install and use vm-browserify for sandboxedEval (#19059)
(cherry picked from commit 2cc5678dfc)
2022-04-03 14:02:14 +03:00
Alex Rothberg
1658a9f6b4 docs(building): link frontend asset instructions correctly (#19050)
(cherry picked from commit e89f0abf95)
2022-04-03 14:02:14 +03:00
Erik Ritter
379676e1f6 fix: improve cypress flakiness (#19044)
(cherry picked from commit 002bd6ed0a)
2022-04-03 14:02:13 +03:00
Ville Brofeldt
02d9825b11 chore(plugin-chart-echarts): bump echarts 5.3.1 (#19041)
(cherry picked from commit 1b7d056126)
2022-04-03 14:02:13 +03:00
pablo-guerra
45dc7b5984 chore: adding Dutch language translations (NL) (#18965)
* added NL translations

* added Dutch to config

* fixed end of line on .po file

Co-authored-by: pablo.guerra-at-026399402087 <pablo.guerra@026399402087>
(cherry picked from commit 44675037bd)
2022-04-03 14:02:13 +03:00
Michael S. Molina
4e78efcf07 chore: Moves CRUD components to the Datasource component (#19032)
* chore: Moves CRUD components to the Datasource component

* Fixes imports

* Fixes less import

(cherry picked from commit 71b8d31e77)
2022-04-03 14:02:13 +03:00
Stephen Liu
1eac8712a4 fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month (#19043)
* fix(big-number): Big Number with Trendline Chart is not working if Time Grain is set to Month

* use start frequency.

(cherry picked from commit c32eaf47e5)
2022-04-03 14:02:12 +03:00
Duc Le Tu
9777e6d148 Update impala.mdx (#19040)
(cherry picked from commit b2ee13f6f8)
2022-04-03 14:02:12 +03:00
Karthikeyan Singaravelan
585b032a1a chore: Fix deprecated unittest aliases. (#19042)
(cherry picked from commit 864bafc655)
2022-04-03 14:02:12 +03:00
Hugh A. Miles II
fb5d77e404 feat: Allow users to bust cache in report dashboard + alerts charts + alert dashboards (#18795)
* wip

* add force cahce bypass option to alerts

* remove default for alerts to bypass cache

* save for now

* save for now

* fix

* commenting out for now

* fix linting

* remove link

* add back force id test

* add frontend test

* address

(cherry picked from commit 8c52fe3476)
2022-04-03 14:02:12 +03:00
Michael S. Molina
6178f0515a refactor: Deletes the common/components folder (#18999)
(cherry picked from commit 329855170e)
2022-04-03 14:02:12 +03:00
Kamil Gabryjelski
8640814a92 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

(cherry picked from commit 9f834e8317)
2022-04-03 14:02:11 +03:00
cccs-Dustin
00a53dae73 fix(SQL Editor): names new query tabs correctly (#18951)
* Added in code changes that now properly increment the Untitled Query SQL Lab tab names. All that is left is to add tests to make sure that the function works correctly

* Updated the code so that it adds to the untitled_query_numbers variable only if the character after the string 'Untitled Query ' is a number. This prevents any issues when trying to get the maximum value in the list.

* Refactored part of the mapping code, to make it shorter and easier to read/understand

* Fixed issues in the code that were causing some of the CI tests to fail

* Made code changes based on comments within the PR. Also added a unit test to make sure that the newQueryEditor function in the TabbedSqlEditors component works as intended

* Fixed the failing cypress test in tabs.test.js

(cherry picked from commit 5a5ff99c37)
2022-04-03 14:02:11 +03:00
Michael S. Molina
ea534e2386 feat: Adds support to multiple dependencies to the native filters (#18793)
* chore(native-filters): Remove cascading popovers from filter bar

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-04-03 14:00:26 +03:00
Phillip Kelley-Dotson
073be5d74f chore: change case for upload selection (#19021)
* chore: change case for upload selection

* fix label

(cherry picked from commit 299b5dc644)
2022-04-03 13:52:39 +03:00
Beto Dealmeida
8951e23ac6 fix: remove unneeded complexity in migration (#19022)
(cherry picked from commit 50bb86d666)
2022-04-03 13:52:39 +03:00
smileydev
3500b31551 fix(nested-tab-available): make the another tabs into one tabs available (#18877)
* fix(nested-tab-available): make the another tabs into one tabs available

* fix(netsted-tab): remove code of disable nested tab

(cherry picked from commit 6fe2431676)
2022-04-03 13:52:39 +03:00
dependabot[bot]
fcf98ec889 chore(deps): bump url-parse from 1.5.7 to 1.5.10 in /docs (#19019)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 6becd38e7f)
2022-04-03 13:52:39 +03:00
Jesse Yang
78e85aed02 feat: remove loading indicator when typing in select (#18799)
(cherry picked from commit 5a8eb09afb)
2022-04-03 13:52:39 +03:00
Beto Dealmeida
75afb3a7b6 feat: show user email in dashboard API (#19004)
* Feat: show user email in dashboard API

* Fix test

(cherry picked from commit be88cb9ba0)
2022-04-03 13:52:38 +03:00
John Bodley
3b2b6674f6 fix(sqllab): Replace stringified 'null' schema column values with NULL (#18992)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
(cherry picked from commit 19eb73b316)
2022-04-03 13:52:38 +03:00
Ville Brofeldt
5a8cd3477b 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

(cherry picked from commit a04f1d4c87)
2022-04-03 13:52:38 +03:00
Ville Brofeldt
6d2b583fee fix(chart): deprecate persisting url_params (#18960)
* fix(chart): deprecate peristing url_params

* remove duplicated backend logic

* use omitBy

* simplify omit

(cherry picked from commit bd63a1bd98)
2022-04-03 13:52:38 +03:00
Craig Rueda
3c90220cf6 fix(packages): Fixing users packages (#18973)
* Fixing users packages

* Linting me() fn

* Fixing tests / moving packages

* Fixing imports

(cherry picked from commit 5fc7adb55b)
2022-04-03 13:52:38 +03:00
Srini Kadamati
e8cf9446a6 docs: renamed yugabytedb to yugabyte as per request by Yugabyte team (#18983)
Co-authored-by: Srinivasa Kadamati <srinik@Srinivasas-MacBook-Air.local>
(cherry picked from commit 563cce1e29)
2022-04-03 13:52:37 +03:00
Brian Nguyen
4a91f76798 refactor: converted QueryAutoRefresh to functional component (#18179)
* converted file to functional component

* refactor: convert class component to functional component

* refactor: convert class component to functional"

* Working on converting the shouldCheckForQueries test to RTL

* Working on converting first test to RTL

* Working on first test for queryAutoRefresh

* Finished Tests, pushing for review

* Cleaned up comments and console logs

Co-authored-by: Josue Lugaro <josuelugaro15@gmail.com>
(cherry picked from commit f497c1900e)
2022-04-03 13:52:37 +03:00
Ville Brofeldt
603f43bd95 bump and harmonize urijs and xss (#18922)
(cherry picked from commit 834686a3d9)
2022-04-03 13:52:37 +03:00
Kamil Gabryjelski
8bfb2f854e chore(native-filters): Add unit tests for filter cards (#18967)
* chore(native-filters): Add unit tests for filter cards

* Fix test

(cherry picked from commit ec746c2a10)
2022-04-03 13:52:37 +03:00
smileydev
178736ad27 fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away (#18892)
* fix(tooltip-not-dissapeared): make the tooltip disappear when mouse away

* fix(tooltip-not-dissapeared): change css props instead of sytles props

(cherry picked from commit ca93d63bbb)
2022-04-03 13:52:37 +03:00
smileydev
fe0f1de64b fix(external-link): change the external link in creating chart dashboard (#18982)
(cherry picked from commit 37752cea9b)
2022-04-03 13:52:36 +03:00
Kamil Gabryjelski
f7b72d9486 fix(native-filters): Default value not shown in native filters (#18963)
* fix(native-filters): Default value not shown in native filters

* Reuse stringified datamask

(cherry picked from commit 2072225a86)
2022-04-03 13:52:36 +03:00
Stephen Liu
1f4ff51322 fix(plugin-chart-echarts): fix customize margin (#18958)
(cherry picked from commit c4e3c45b3c)
2022-04-03 13:52:36 +03:00
Grace Guo
928309841c fix: add/find owners from report/alert modal (#18971)
(cherry picked from commit 7e336d1230)
2022-04-03 13:52:36 +03:00
John Bodley
10d382de56 chore(security): Remove obsolete FAB metric_access permission (#16860)
* Update manager.py

* Update manager.py

* Update manager.py

* Update manager.py

(cherry picked from commit 85f0715644)
2022-04-03 13:52:36 +03:00
serenajiang
46015e2c66 feat(TimeTableViz): sort by first metric (#18896)
(cherry picked from commit 760dab9abd)
2022-04-03 13:52:36 +03:00
Geido
da64e7966f fix(Explore): Pivot table V2 sort by failure with D&D enabled (#18835)
* wip

* Add tests and clean up

* Clean up

* Remove unused import

(cherry picked from commit eafe0cfc6f)
2022-04-03 13:52:35 +03:00
Kamil Gabryjelski
335a90a5ac feat(legacy-preset-chart-deckgl): Add ,.1f and ,.2f value formats to deckgl charts (#18945)
* Add ,.1f and ,.2f value formats to deckgl charts

* Remove duplicated code

(cherry picked from commit c56dc8eace)
2022-04-03 13:52:35 +03:00
GaryNg
ee3b3aea5d docs: fix sql templating typos (#18955)
(cherry picked from commit 4775d3900f)
2022-04-03 13:52:35 +03:00
Ville Brofeldt
268ce0ae8b fix(dataset): handle missing database in migration (#18948)
(cherry picked from commit 2baceddbf1)
2022-04-03 13:52:35 +03:00
AAfghahi
9375ebfbff fix(sql Lab tabs): Empty SQL Lab tabs (#18817)
* Empty SQL table message on zero tabs

* sql editor no editor tab bug fix

* Revert Error message

* empty state tab state

* added a unit test

* addressed reviews

* kasia feedback

Co-authored-by: Yahya Kayani <yahyakiani1@gmail.com>
(cherry picked from commit 147dc5af71)
2022-04-03 13:52:35 +03:00
John Bodley
5b465c2ff1 fix: bump Helm chart release version (#18751) (#18758)
Co-authored-by: wiktor2200 <wiktor2200@users.noreply.github.com>
(cherry picked from commit 099421770c)
2022-04-03 13:52:35 +03:00
Smart-Codi
a76ae2edb6 fix: null schema issue in saved queries (#18849)
(cherry picked from commit 79633ce673)
2022-04-03 13:52:34 +03:00
Michael S. Molina
419ca75412 chore: Moves components out of the commons folder (#18931)
* refactor: Moves components out of the commons folder

* Fixes tests

(cherry picked from commit fd4bd1edbc)
2022-04-03 13:52:34 +03:00
Stephen Liu
2fc2e275d4 fix(deck.gl): multiple layers map size is shrunk (#18939)
(cherry picked from commit 2cb3635256)
2022-04-03 13:52:34 +03:00
Stephen Liu
ce61dbc2bc fix(native-filter): fix required filters of a dashboard won't load properly (#18695)
(cherry picked from commit 0b1bc5b5de)
2022-04-03 13:52:34 +03:00
Jinghuayao
77c8987bbe test(Native Filter): User can create parent filters using "Filter is hierarchical (#18915)
* add new native test for parent filter

(cherry picked from commit 2bd8d3b349)
2022-04-03 13:52:33 +03:00