Commit Graph

4242 Commits

Author SHA1 Message Date
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
Kate
f3181ca6dc Add Intercom to Superset users (#7687)
Add Intercom in the list of organisations that use Superset.
2019-06-12 09:18:22 -07:00
CoryChaplin
4e3975e229 Adding 6play as users (#7688) 2019-06-12 09:17:17 -07:00
John Bodley
8d6257afcd
[epoch] Remove non-UTC epoch logic (#7667) 2019-06-11 22:34:53 -07:00
John Bodley
541db94133
Update index.rst (#7672) 2019-06-11 09:46:27 -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
Marcus
f486f435b4 adding command for seeing changes reflected. (#7598) 2019-06-09 19:13:43 -07:00
Daniel Vaz Gaspar
6eb60ed89d Bump FAB to 2.1.4 (#7478)
* Bump FAB to 2.1.0

* Bump FAB to 2.1.1

* Bump FAB to 2.1.2

* Test revert to 2.1.1

* again to 2.1.2

* Bump FAB to 2.1.4
2019-06-09 18:25:31 -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
Thoralf Gutierrez
f3e5805b92 Remove duplicate paragraph in celery tasks documentation (#7392) 2019-06-08 09:20:49 -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
Derek Flionis
883a02ae19 docs: Add Tenable to the List of Users (#7610) 2019-06-07 08:28:39 -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
Daniel Vaz Gaspar
de9f61e934 [docs] Fix, deprecate fabmanager cli (#7660) 2019-06-06 22:15:00 -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
michellethomas
6d1f6e9df9
Adding codecov targets and thresholds (#7433)
* Adding codecov targets and thresholds

* Changing diff coverage rules to 1% threshold

* Changing codecov threshold to 0 and removing ignore
2019-06-03 15:26:42 -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
Maxime Beauchemin
687f205508
Wrapping up #7130 (#7633)
* [SQL Lab] Adds autocomplete on table names and auto-add to schema browser

Closes #7059

* Wrapping up #7130

For more details see #7130, this PR addresses the merge conflicts.
2019-06-01 09:02:42 -07:00
Erik Ritter
722043c672 Allow trailing spaces in simple filter values (#7617) 2019-05-31 17:06:41 -07:00
John Bodley
15d0361148
[requirements] Bumping pydruid version (#7622) 2019-05-31 16:28:40 -07:00
Erik Ritter
5895d8c8e1 [SQL Lab] Prevent failed query error from disappearing (#7624) 2019-05-31 15:27:08 -07:00
Grace Guo
5701629d95
[SQL Lab] Old query showing success state but not showing results (#7628) 2019-05-31 15:26:41 -07:00
John Bodley
c82a7f42e1
Update bug_report.md (#7583) 2019-05-31 13:47:30 -07:00
Kim Truong
9acafd5b75 fix: handle presto columns with whitespace (#7630) 2019-05-31 13:38:05 -07:00
Kim Truong
d2967340d9 View Presto row and array objects clearly in the data grid (#7625)
* feat: rough check in for Presto rows and arrays

* fix: presto arrays

* fix: return selected and expanded columns

* fix: add helper methods and unit tests

* fix: only allow exploration of selected columns

* fix: address Beto's comments and add more unit tests
2019-05-31 11:25:07 -07:00
Beto Dealmeida
d408e30594
Show expanded columns in gray in SQL Editor (#7627)
* Show expanded columns in gray

* Remove payload mocking

* Remove empty line

* Safety fallback if expanded_columns is not in the payload

* Fix typo
2019-05-31 10:17:13 -07:00
Ville Brofeldt
c1712e5d10
Add relative start param for time filters (#7525)
* Add relative start param for time filters

* Fix typo and add types to parse_human_datetime

* Add relative start/end to query_object

* Fix linting error
2019-05-31 16:55:26 +03:00
Grace Guo
dbdb6b093a
[SQL Lab] fix unnecessary offline action (#7594) 2019-05-30 10:38:49 -07:00
Erik Ritter
145d72c52b Fix SQL Lab window resizing layout bug (#7615) 2019-05-30 10:37:24 -07:00
Ville Brofeldt
34407e8962
Make timestamp expression native SQLAlchemy element (#7131)
* Add native sqla component for time expressions

* Add unit tests and remove old tests

* Remove redundant _grains_dict method

* Clarify time_grain logic

* Add docstrings and typing

* Fix flake8 errors

* Add missing typings

* Rename to TimestampExpression

* Remove redundant tests

* Fix broken reference to db.database_name due to refactor
2019-05-30 08:28:37 +03:00
Charles S. Givre
fc3b043462 Add support for Apache Drill (#6610)
* Add support for Apache Drill

* Updated Docs

* Removed Extraneous Functions

* Removed Extraneous Functions

* Final Mods

* Fixed Unit Test Error

* Fixed Epoch Conversion Functions
2019-05-28 21:16:09 -07:00