Commit Graph

3000 Commits

Author SHA1 Message Date
Yongjie Zhao
7a4a89b195 Update Apache Kylin dbengine with supported week/quarter grains (#4965) 2018-05-14 14:11:59 -05:00
Gabe Lyons
ce710f8c8f cleaning up the table fab view since we hide these autogenerated metrics anyway (#4992) 2018-05-14 14:09:12 -05:00
Ville Brofeldt
b391676544 Force lowercase column names for Snowflake and Oracle (#4994)
* Force lowercase column names for Snowflake and Oracle

* Force lowercase column names for Snowflake and Oracle

* Remove lowercasing of DB2 columns

* Remove DB2 lowercasing

* Fix test cases
2018-05-14 13:43:13 -05:00
timifasubaa
071c6a6c03
Merge pull request #4991 from michellethomas/fix_filter_blank_custom_sql
[Bugfix] Allowing sqlExpression to be blank
2018-05-14 11:26:08 -07:00
Maxime Beauchemin
2c5200affd
[deps] force flask<=1.0.0 (#4959)
flask 1.0 came out and has backwards incompatible changes. People
are reporting that fresh install doesn't work anymore.

fixes https://github.com/apache/incubator-superset/issues/4953

We should ship a 0.25.1 with this in
2018-05-13 11:16:09 -07:00
Michelle Thomas
ad4912d601 Allowing sqlExpression to be blank 2018-05-11 16:03:17 -07:00
Gabe Lyons
7d5195aae3 expanding regex for automated columns (#4990) 2018-05-11 15:43:52 -07:00
timifasubaa
b75942daa5
Merge pull request #4977 from timifasubaa/bump_pyhive_version
bump pyhive version
2018-05-10 11:50:14 -07:00
Timi Fasubaa
6720255868 bump pyhive version 2018-05-10 11:13:44 -07:00
Gabe Lyons
a8514b267b [Explore] Adding Adhoc Filters (#4909)
* adding custom expressions to adhoc metrics

* adjusted transitions and made the box expandable

* adding adhoc filters

* adjusted based on feedback
2018-05-10 10:41:10 -07:00
grafke
8591319bde [sql lab] Use context manager for sqllab sessions (#4927)
* use session context manager

* contextlib2 added to requirements.txt

* Fixing error: Import statements are in the wrong order. from contextlib2 import contextmanager should be before import sqlalchemy

* Fixing return inside generator

* fixed C812 missing trailing comma

* E501 line too long

* fixed E127 continuation line over-indented for visual indent

* E722 do not use bare except

* reorganized imports

* added context manager contextlib2.contextmanager

* fixed import ordering
2018-05-10 10:32:31 -07:00
Ville Brofeldt
af4dd59661 Fix templating in sqla datasource (#4971)
Fix templating in sqla datasource [has migration]
2018-05-10 10:28:56 -07:00
Nicole Dominguez
94249ed20c superset/import_dashboards.html: Update title, clean up html (#4972)
* Changes "Import the dashboards." to "Import dashboards"
* Cleans up the HTML to add quotes, self close tags, etc.
* Adds a class to the `<submit>` button to utilize bootstrap style
* Remove the `<title>` tag in body as it's not vaild HTML and redundant with `{% block %}`
2018-05-09 20:42:17 -07:00
Maxime Beauchemin
918399d4e2
[bugfix] handling UTF8 in Druid dimensions (#4943) 2018-05-08 22:04:05 -07:00
jasnovak
e29beba023 Add extraction function support for Druid queries (#4740)
* add extraction fn support for Druid queries

* bump pydruid version to get extraction fn commits

* update and add tests for druid for filters with extraction fns

* conform to flake8 rules

* fix flake8 issues

* bump pyruid version for extraction function features
2018-05-08 22:00:06 -07:00
Maxime Beauchemin
75df3d0f8e
CHANGELOG for 0.25.0 (#4948) 2018-05-08 08:24:54 -07:00
Yuance.Li
18e67f93de add 30 minutes support under time granularity (#4954) 2018-05-08 08:24:18 -07:00
Yuance.Li
65c4499bef Support hours in relative time range selection (#4950) 2018-05-07 23:19:08 -07:00
Maxime Beauchemin
45ffed9976
Move from deprecated flask-cache to flask-caching (#4944)
It appears the officially maintained fork of flask-cache is
flask-caching https://github.com/sh4nks/flask-caching . It is fully
compatible with flask-cache.
2018-05-07 23:18:46 -07:00
Hugh A. Miles II
374482bcde Fix naming for geojson (#4946) 2018-05-07 22:48:35 -07:00
Maxime Beauchemin
f21ba1aba7
[docs] add entry for Hive in installation.rst (#4942) 2018-05-07 15:26:19 -07:00
Maxime Beauchemin
415d1c092b
[sql lab] handle query stop race condition (#4928)
fixes https://github.com/apache/incubator-superset/issues/4926

In rare cases where the query is stopped before it is started, SQL Lab
returns an unexpected string payload instead of a normal dictionary.

This aligns the process to handle the error in a homogeneous fashion.
2018-05-07 13:49:42 -07:00
Vihar Kurama
a60d577b7d Update installation.rst (#4930) 2018-05-07 13:48:41 -07:00
timifasubaa
d87504cb42
Merge pull request #4833 from timifasubaa/help_sqllab_forget_the_past
[sqllab] Help sqllab forget query history
2018-05-07 10:56:39 -07:00
Timi Fasubaa
ab958c67e6 make queries older than 6 hours timeout 2018-05-07 10:14:37 -07:00
João Marques Gomes
89333657d8 Add Portugal to country_map visualization (#4939)
* Add files via upload

* Add files via upload
2018-05-07 10:01:09 -07:00
Antoine Galataud
f5b63679e0 add Airboxlab to Superset users list (#4938) 2018-05-07 09:59:35 -07:00
Octavian
58a02bba43 Add Windsor.ai to the list of organizations (#4940) 2018-05-07 09:59:02 -07:00
Hugh A. Miles II
52a6bd1c7e
rm-slices (#4899) 2018-05-05 00:05:49 +02:00
John Bodley
440fb77df5
[druid] Updating Druid refresh metadata tests (#4887) 2018-05-03 18:14:40 -07:00
jasnovak
e2d5c33638 Hide restricted ui elements, remove <br> from error message (#4900)
* hide forbidden ui elements, remove <br> from message

* add comma for flake8

* add commma for flake8

* change js variables from snake to camel case
2018-05-03 17:36:30 -07:00
Casper CY Chiang
976e43e681 Install superset in Kubernetes with helm chart (#4923)
* Add helm chart to install superset in kubernetes

* set resources into unlimited

* Add descriptions to Chart.yaml

* add an entry in docs/installation.rst
2018-05-03 17:35:38 -07:00
Yongjie Zhao
5d6e59aa8a Support Apache Kylin in EngineSpec (#4925)
* Support Apache Kylin in EngineSpec

* Fix flake8
2018-05-03 08:42:43 -07:00
Maxime Beauchemin
e213ccd438
[bufix] filtered column was removed (#4921)
if a filter is created on a chart, and the column is removed from the
dataset, you get a "&#39;NoneType&#39; object has no attribute
&#39;is_num&#39;" or something to that
effect. This fix disregards the filter.

Also error messages were HTML escaped which React does already anyways
so that's not necessary [anymore] here.
2018-05-02 15:24:44 -07:00
Maxime Beauchemin
fa4acb1bda
Add doc entry for BigQuery support (#4917)
closes https://github.com/apache/incubator-superset/issues/945
2018-05-01 21:28:27 -07:00
Maxime Beauchemin
5f6a1cea47
Fix typos from linting (#4918)
Caused by https://github.com/apache/incubator-superset/pull/3847

Fixes https://github.com/apache/incubator-superset/issues/4915
2018-05-01 13:34:10 -07:00
Beto Dealmeida
13da5a8742 Fix for week_start_sunday and week_ending_saturday (#4911)
* Handle locked weeks

* Fix spelling

* Fix druid

* Clean unit tests
2018-05-01 13:27:56 -07:00
Beto Dealmeida
9c53323c93 Replace NaN/Infinity with null (#4908) 2018-05-01 11:18:19 -07:00
Maxime Beauchemin
8c94e1f710
Fix country_map visualization URL (#4913)
When moving the visualizations/ folder to src/ I missed this reference.
2018-05-01 08:50:47 -07:00
Maxime Beauchemin
e1d2150391
Add note about 0.25.0 upgrade in UPDATING.md (#4883) 2018-04-30 09:47:48 -07:00
Maxime Beauchemin
3c7feb770a
Heatmap improvements (#4897)
* allow option to normalize the color distribution
* make bounds work client side (instantaneous)
* make more controls instantaneous
2018-04-30 09:36:24 -07:00
Riccardo Magliocchetti
709a71b89a requirements: bump gunicorn to 19.8.0 (#4906)
Fixes #3002
2018-04-30 08:58:02 -07:00
Riccardo Magliocchetti
31f426664c translations: rename pt_BR gettext files (#4907)
To messages.{mo,po} like for the other languages.
2018-04-30 08:57:26 -07:00
John Bodley
d533ce0967
[pylint] prepping for enabling pylint for non-errors (#4884) 2018-04-28 20:08:09 -07:00
Maxime Beauchemin
caa72675a5
Fix 'Uncaught TypeError: pe.clamp is not a function' (#4901) 2018-04-27 16:15:43 -07:00
Maxime Beauchemin
0a953714ac
[sql lab] allow stoping 'pending' queries (#4896) 2018-04-27 16:10:29 -07:00
Jules
510ae84b3b remove hard code http scheme of short url #4656 (#4886)
* remove hard code http scheme of short url #4656

* remove space

* add space

* remove temp var
2018-04-27 08:41:54 -07:00
Maxime Beauchemin
f3d756016e
Allow limiting rows on Pivot Table (#4891) 2018-04-27 08:35:12 -07:00
Maxime Beauchemin
3f48c005df
[bugfix] temporal columns with expression fail (#4890)
* [bugfix] temporal columns with expression fail

error msg: "local variable 'literal' referenced before assignment"

Error occurs [only] when using temporal column defined as a SQL
expression.

Also noticed that examples were using `granularity` instead of using
`granularity_sqla` as they should. Fixed that here.

* Add tests
2018-04-26 21:13:52 -07:00
Ville Brofeldt
fa3da8c888 Implement Snowflake engine with supported time grains (#4882)
* Implement Snowflake engine with supported time grains

* Fix typo in second grain
2018-04-25 14:44:24 -07:00