Commit Graph

2383 Commits

Author SHA1 Message Date
michellethomas d27fbd6718
Updating legacy-plugin-chart-heatmap to fix an issue with heatmap (#7787) 2019-06-27 15:33:38 -07:00
Kim Truong 5994e432d4 feat: query based on all partitions (#7782)
* feat: query based on all partitions

* fix: address Beto's comments
2019-06-27 11:19:55 -07:00
Ville Brofeldt ebb7fbc5f0
bugfix: Oracle timegrains fail to render when wrapped in outer query (#7767)
* Add check if TimegrainExpression col is None

* Clean up TimestampExpression proxying logic

* Remove redundant optionality from init
2019-06-26 08:56:19 +03:00
John Bodley 5c58fd1802
[format] Using Black (#7769) 2019-06-25 13:34:48 -07:00
John Bodley 0c9e6d0985
[testconn] Fixing response (#7753) 2019-06-24 23:07:41 -07:00
Rahul Rahul d06b77c3fd Show generic error msg and hide stacktrace if feature flag is enabled (#7764)
* Show generic error msg and hide stacktrace if feature flag is enabled

* SHOW_STACKTRACE should not modify msg
2019-06-24 21:11:04 -07:00
Maxime Beauchemin 859d6e7c6a
chore: taking db dependencies out of requirements-dev.txt (#7605)
* chore: taking db dependencies out of requirements-dev.txt

The deps on mysqlclient and psycopg2

* Fix unit tests

* fix tox.ini

* fix tests
2019-06-23 22:37:41 -07:00
Ville Brofeldt 1df4fa26c2 Fix deck.gl sample charts with js (#7749)
* Fix js_data_mutator

* Remove redundant line change

* Add missing line changes
2019-06-23 15:53:26 -07:00
jiten-github 9c0c16c71b fix(filterbox): fixed runtime exception in filterbox for allow multiple selection is false (#7011) 2019-06-23 14:22:07 -07:00
Ville Brofeldt 1c4092c61c Add csv upload support for BigQuery (#7756)
* Add extra_require for bigquery to setup.py

* Refactor df_to_db and add df upload capability for BigQuery

* Fix unit tests and clarify kwarg logic

* Fix flake8 errors

* Add minimum versions for bigquery dependencies

* wrap to_gbq in try-catch block and raise error if pandas-gbq is missing

* Fix linting error and make error more generic
2019-06-23 14:20:09 -07:00
Daniel Vaz Gaspar 90d156f186 [security] [ui] Make security views use superset's list widget (#7724) 2019-06-21 14:25:48 -07:00
Erik Ritter 0d248fe630 [SQL Lab] Add JSON modal when clicking on cells with JSON objects (#7720) 2019-06-21 09:12:09 -07:00
Beto Dealmeida 9abcdccf96
[fix] Force refresh table list broken (#7745) 2019-06-20 21:50:36 -07:00
Kim Truong 17c4b72183 Revert "Autocomplete in the table browser in SQL lab is broken (#7736)" (#7743)
* Revert "Autocomplete in the table browser in SQL lab is broken (#7736)"

This reverts commit d1b81e04ac.

* Kick off build
2019-06-20 19:47:39 -07:00
Kim Truong d1b81e04ac Autocomplete in the table browser in SQL lab is broken (#7736)
* fix: explicitly provide value and label strings

* fix: spacing
2019-06-19 16:59:39 -07:00
Ville Brofeldt 43ea51b701
compile column names (#7646) 2019-06-19 21:48:45 +03:00
Erik Ritter cddce63cad [SQL Lab] Polish side pane animation (#7722) 2019-06-19 10:44:06 -07:00
michellethomas 7a575ce20a
Fixing time comparison to look for past deltas (#7616)
* Fixing time comparison to look for past deltas

* Adding note to updating about time_compare
2019-06-19 10:10:18 -07:00
michellethomas 5864ddc079
Allowing withVerification to remove all options if none are valid (#7652) 2019-06-18 14:06:05 -07:00
Maxime Beauchemin f278faa8be
css: add margin-top to ResultSet (#7679) 2019-06-17 22:57:40 -07:00
Erik Ritter 0b1a875708 [CSV Upload] Fix Index Column input filter (#7723) 2019-06-17 22:34:29 -07:00
Grace Guo 925b8dbb90
[dashboard] fix nested tab component visible logic (#7700) 2019-06-14 13:39:48 -07:00
Erik Ritter 0d122431b2 Update @superset-ui/legacy-preset-chart-nvd3 (#7701) 2019-06-13 10:58:09 -07:00
Erik Ritter 2a453e1878 [SQL Lab] Fix proptypes warning (#7691) 2019-06-12 21:54:47 -07:00
Beto Dealmeida 5cf06331fe
Render columns dynamically on wide tables (#7693)
* Use grid for wide tables

* WIP

* Fix CSS issues

* Add unit test

* Add constant

* Improve ref

* Remove wrong refs; no longer need extra height

* Revert number of columns
2019-06-12 10:09:04 -07:00
John Bodley 8d6257afcd
[epoch] Remove non-UTC epoch logic (#7667) 2019-06-11 22:34:53 -07:00
John Bodley 49390b3232
Revert "Allow bigint to be used as time column in Presto" #7670 (#7678) 2019-06-10 16:10:20 -07:00
John Bodley c6179b195f
[connectors] Make cluster/database and datasource/table unselectable in CRUD view (#7073) 2019-06-10 10:25:13 -07:00
Evan Rusackas 514c308bcf Fixed SQL Lab Query Search scrolling issue(#7526) (#7674) 2019-06-09 16:05:43 -07:00
Ville Brofeldt 95291facff
Break up db_engine_specs (#7676)
* Refactor db_engine_specs into package

* Rename bigquery class and add epoch funcs

* Fix flake8 errors

* Dynamically load all engine specs

* Fix linting errors and unit tests

* Implement Snowflake epoch time funcs

* Implement Teradata epoch time func

* Fix presto datasource query and remove unused import

* Fix broken datasource query

* Add mypy ignore for false positive

* Add missing license files

* Make create_time_grains_tuple public

* Fix flake8 quote

* Fix incorrect licence header
2019-06-08 11:27:13 -07:00
Ville Brofeldt 38abf4e073
Add epoch funcs for BigQuery (#7567) 2019-06-07 20:01:58 -07:00
Erik Ritter f7812a3f27 [SQL Lab] Clarify SQL Lab query and display limits (#7641) 2019-06-07 17:16:38 -07:00
Grace Guo f3091c525e
[dashboard] pass dashboard filters to share chart url in dropdown (#7642) 2019-06-07 15:22:56 -07:00
Grace Guo 39d67cbc59
[SQL Lab] Show warning when user used up localStorage (#7572) 2019-06-07 14:27:57 -07:00
Rahul Rahul 2793bdd294 Apply DashboardFilter to the dashboards in SliceModeView (#7475)
* Apply dashboardFilter to dashboards

* added missing comma
2019-06-06 23:20:42 -07:00
1AB9502 271612cfec Add new escape characters to OnPasteSelect (#7638)
* Add new escape characters to OnPasteSelect

* Add Unit Tests to onPasteSelect_spec

* Update new line to tab escape character

* Fix indentation in 2 cases
2019-06-06 22:24:50 -07:00
Kim Truong d62c37b895 Revert "Boxplot should not require a datetime column (#5096)" (#7655)
This reverts commit 1ae000a262.
2019-06-05 15:05:26 -07:00
Enrico Berti 1cd0e7f3f4 [SQL Lab] CTAS now uses the right async configuration (#7175)
Closes #6224
2019-06-04 22:59:36 -07:00
Erik Ritter 25da4c773b [Profile] Fix react gravitar size prop type warning (#7647) 2019-06-04 22:46:05 -07:00
Derek Flionis 5470d10155 Add Filter on DatabaseView that filters DBs Based on Role Access (#7618)
* Add Filter on DatabaseView that filters DBs Based on Role Access

* Update with mistercrunch's feedback
2019-06-04 22:37:22 -07:00
Grace Guo f99ae1ad24
[dashboard] click tab anchor link (#7640) 2019-06-03 16:57:21 -07:00
Beto Dealmeida ddd7f8fb17
Fix colors in ellipsis (#7632)
* Fix colors in ellipsis

* Change method name to align with convention

* Fix js lint
2019-06-03 15:40:36 -07:00
John Bodley 45b41aadcc
[fix] SQL parsing of table names (#7490) 2019-06-03 11:07:57 -07:00
Jim Horng 78c1674dc7 make filter_values() macro to properly accept value from filter box with single value setting (#7494) 2019-06-03 09:54:07 -07:00
Maxime Beauchemin 45b9880516
fix: SqlaColumn.type overflow on mysql (#7606)
* fix: SqlaColumn.type overflow on mysql

Hitting a new error when loading examples around a datatype that exceeds
the 32 chars limit on SqlaColumn.type

Type includes the 'COLLATE utf8mb4_general_ci' suffix which is too
verbose and not needed in that context.

* fix tests
2019-06-03 09:52:25 -07:00
Daniel Vaz Gaspar 7dd66358f6 [query] Fix, remove not possible to order columns (#7636) 2019-06-02 12:10:59 -07:00
Charles S. Givre 257c100c59 Fixed Time Grain and Added Drill to README (#7635)
* Fixed Time Grain and Added Drill to README

* Capitalization Fix
2019-06-02 16:13:59 +03:00
Maxime Beauchemin 1dc17f357c
fix: address issue #7458 (#7593) 2019-06-01 13:33:06 -07:00
Maxime Beauchemin eb4293654e
[FAB] set AppBuilder to update_perms=False (#7561)
* [FAB] set AppBuilder to update_perms=False

Upon start, by default, FAB tries to go and update the permission list
in the database based on the list of views, models and menu items that
exist in the code.

Really this should happen once per deployment/upgrade and
not in module scope, so we have `superset init` for this.

The intent was always to set to False by default, but I think we forgot
to add this flag back in
https://github.com/apache/incubator-superset/pull/7323

* Add superset init to tox
2019-06-01 10:19:49 -07:00
Maxime Beauchemin 4b5931f637
Alternative fix for #7559 (#7575)
* Alternative fix for #7559

Just an idea...

* logging
2019-06-01 09:21:35 -07:00