Apache Superset is a Data Visualization and Data Exploration Platform
Go to file
Phillip Kelley-Dotson 2f3e11db66
feat: blankstate metrics columns (#20755)
* add POC ExploreMixin

* Working POC
> columns are loading into page

* Created/tested query dataset dropdown

* Add isValidDatasourceType to @superset-ui/core and hide query dropdown

* Visual updates to explore datasource panel

* Temporarily make Query icon visible

* Remove Query icon visibility

* Removed isValidDatasourceType check

* Added Query preview Modal from DatasourceControl if the data source type is Query [41493]

Initial commit to add ability for the a Query Preview Modal to be available when the data source type is Query and not Dataset
Converted ModalTrigger to a functional TypeScript component

* > fix integration point with frontend
> allow for all records to be displayed
> fix select with all columns queries
> filters are now working

* Adjusts conditional logic approach to be extensible for additional types from DatasourceTypes options

* refactor

* set field for sql

* Fixes issue where Missing query parameters error was showing in datasourcePanel

* add query_language

* fix ds main_dttm

* Fixes issue where menu.tsx was blocking access to redux debugging for SqlLab and Explore

* Fixes issue where database id was not available to save query as dataset, adds default metric when chart source is query

* oops

* fix pre-commit to 50 errors now

* fix circuliar dep

* Disables showing Metrics section in DatasourcePanel when Query is the datasource

A follow on separate effort will enable having a default Count metric when Query is the datasource type

* adds condition to use query.columns if query.results is not present enable saving query as a dataset

* down to 26 now

* patch for pre-commit

* one more pre-commit

* added explore_json error

* added error messages

* add for metrics

* add text for columns

* add model open/close method

* add propogation and methods

* change link to span

* lint fix

* Fixes frontend lint and TypeScript errors unit test fixes will be next commit

* Aditional TypeScript error fix

* Fixes unit test failure

* fix some types

* added frontend piece

* fix type

* Fixes bad import caused by merge from master and removes duplicate showSaveDatasetModal check

* Fixes for DartasourceControl Test Suite

* Fix lint error

* Fixes unit test issues due to array instead of a component being passed to modal footer

* Fixes unit test failure for DatasourceControl and simplifies getDatasourceTitle based on PR comment

* fix ts

* pylint

* core_test fix

* Fixes line error post merge from master

* fixed from master

* fixed from master

* Fixes issue where Overwrite dataset does not work due to userid error

SPA refractor changed Redux structure that is used when in explore (which is now within SPA).  user object is at the root of the store now for anything under SPA.

* Resolves TypeScript errors with changes made for SPA merging in and changes needed for overwriting dataset from SaveDatasetModal

* fix: top right panel view query functionality

* remove unneeded code from core.py

* working samples endpoint for query

* add owner check

* update FE for it

* handle columns are dict vs object

* fix exceptions

* fix fe lint

* fix test

* add tab_name to payload

* Enables use of tab name from Query

* fix cypress test

* save columns on execution

* fix frontend build test

* remove parathesis around columns

* changing column types

* fixing samples that has literal_columns

* address comments

* add changes

* fix path

* fix merge

* fix types

* remove console

* add type

* fix linting

* update to enum

* fix test

* remove explore from buttons

* fix logic

* fix logic

* oops

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
Co-authored-by: Eric Briscoe <eric.j.briscoe@gmail.com>
Co-authored-by: AAfghahi <arash.afghahi@gmail.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-07-26 14:32:30 -04:00
.github chore: Ignore Applitools by default when running Cypress tests (#20789) 2022-07-26 16:57:45 +03:00
RELEASING fix: Fixes the instructions to publish to PyPi (#20710) 2022-07-15 08:38:56 -03:00
RESOURCES docs: add Platzi.com to users list (#20705) 2022-07-17 15:29:24 -04:00
docker Fixing broken node build (#20727) 2022-07-18 15:19:54 -07:00
docs docs: fix alt image issue (#20856) 2022-07-26 08:25:27 -04:00
helm/superset fix: adding extraConfig to worker deployment #20828 (#20829) 2022-07-25 15:07:23 -07:00
requirements chore: update Pillow to 9.1.1 (#20775) 2022-07-22 17:44:07 +08:00
scripts chore: Updates the final steps of the release README (#20318) 2022-06-10 08:58:24 -03:00
superset fix: Add migration to add created_by_fk as explicit owner for charts and datasets (#20617) 2022-07-26 10:22:19 -07:00
superset-embedded-sdk chore(deps): bump minimist from 1.2.5 to 1.2.6 in /superset-embedded-sdk (#19550) 2022-04-06 18:20:02 +03:00
superset-frontend feat: blankstate metrics columns (#20755) 2022-07-26 14:32:30 -04:00
superset-websocket chore(deps): bump async from 3.2.0 to 3.2.3 in /superset-websocket (#19680) 2022-04-22 14:51:37 -06:00
tests test: suppress unnecessary fab and sqla logs (#20870) 2022-07-26 10:36:24 -07:00
.asf.yaml chore: disable merge button (#17585) 2021-11-30 16:37:23 +08:00
.codecov.yml refactor(monorepo): change coverage of core to 100% (#17698) 2021-12-14 16:19:55 +08:00
.dockerignore feat: Containerize WebSocket server (#14514) 2021-05-10 09:28:50 -07:00
.editorconfig Adding editorconfig setting for IDE hints (#10855) 2020-09-14 08:19:23 -07:00
.flaskenv Flask App factory PR #1 (#8418) 2019-11-20 15:47:06 +00:00
.fossa.yml Update FOSSA configuration for new requirements layout (#10848) 2020-09-16 13:28:04 -07:00
.gitattributes fix: Normalise `*.sh` File Endings (#16608) 2021-09-13 16:25:15 -07:00
.gitignore feat: improve color consistency (save all labels) (#19038) 2022-03-21 15:20:04 +08:00
.gitmodules ci: set remote URL to https and bump sha (#14350) 2021-04-26 17:43:32 +01:00
.pre-commit-config.yaml chore: blacklist unsafe functions (#19537) 2022-04-05 14:55:30 -07:00
.pylintrc fix: Refactor ownership checks and ensure consistency (#20499) 2022-07-07 11:04:27 -07:00
.rat-excludes feat: Upgrade documentation V2 (#17411) 2022-01-27 14:54:53 -08:00
CHANGELOG.md chore: Updates CHANGELOG.md and UPDATING.md with 2.0.0 changes (#20709) 2022-07-14 16:09:33 -03:00
CODE_OF_CONDUCT.md chore(docs): Spelling (#19675) 2022-04-26 13:17:15 -03:00
CONTRIBUTING.md docs(contribute): update compatible Python versions in local environment setup instructions (#20260) 2022-06-24 10:59:59 -07:00
Dockerfile chore: updating python docker image to 3.8.13 (#20550) 2022-07-01 11:16:17 -07:00
INSTALL.md Fix wrong filename mentioned in INSTALL.md (#14630) 2021-06-29 11:40:26 +03:00
LICENSE.txt chore: pre-commit run --all-files (#10500) 2020-08-02 14:32:17 -07:00
MANIFEST.in Update MANIFEST.in (#9261) 2020-03-25 22:00:41 -07:00
Makefile chore: Deprecate Python 3.7 (#19017) 2022-03-15 06:29:18 +13:00
NOTICE docs: remove (some) references to incubating/incubation (#12284) 2021-01-06 13:40:40 -08:00
README.md docs: fix alt image issue (#20856) 2022-07-26 08:25:27 -04:00
UPDATING.md chore: Updates CHANGELOG.md and UPDATING.md with 2.0.0 changes (#20709) 2022-07-14 16:09:33 -03:00
docker-compose-non-dev.yml feat(docker-compose): add TAG option (#18214) 2022-01-28 15:00:15 +02:00
docker-compose.yml chore(docs): Spelling (#19675) 2022-04-26 13:17:15 -03:00
lintconf.yaml feat: publish superset helm chart (#14163) 2021-04-16 09:13:43 -07:00
pytest.ini feat: support nulls in the csv uploads (#10208) 2020-07-06 13:26:43 -07:00
setup.cfg chore: bump majors on celery and Flask (#19168) 2022-03-24 09:16:53 +00:00
setup.py chore: update Pillow to 9.1.1 (#20775) 2022-07-22 17:44:07 +08:00
tox.ini chore!: remove `ENABLE_REACT_CRUD_VIEWS` feature flag (permanently enable) (#19231) 2022-03-18 14:00:23 -07:00
yarn.lock docs: renamed yugabyte to yugabytedb (#19068) 2022-03-08 17:29:22 -05:00

README.md

Superset

License GitHub release (latest SemVer) Build Status PyPI version Coverage Status PyPI Get on Slack Documentation

Superset

A modern, enterprise-ready business intelligence web application.

Why Superset? | Supported Databases | Installation and Configuration | Release Notes | Get Involved | Contributor Guide | Resources | Organizations Using Superset

Why Superset?

Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.

Superset provides:

  • A no-code interface for building charts quickly
  • A powerful, web-based SQL Editor for advanced querying
  • A lightweight semantic layer for quickly defining custom dimensions and metrics
  • Out of the box support for nearly any SQL database or data engine
  • A wide array of beautiful visualizations to showcase your data, ranging from simple bar charts to geospatial visualizations
  • Lightweight, configurable caching layer to help ease database load
  • Highly extensible security roles and authentication options
  • An API for programmatic customization
  • A cloud-native architecture designed from the ground up for scale

Screenshots & Gifs

Large Gallery of Visualizations


Craft Beautiful, Dynamic Dashboards


No-Code Chart Builder


Powerful SQL Editor


Supported Databases

Superset can query data from any SQL-speaking datastore or data engine (Presto, Trino, Athena, and more) that has a Python DB-API driver and a SQLAlchemy dialect.

Here are some of the major database solutions that are supported:

redshift google-biquery snowflake trino presto databricks druid firebolt timescale rockset postgresql mysql mssql-server db2 sqlite sybase mariadb vertica oracle firebird greenplum clickhouse exasol monet-db apache-kylin hologres netezza pinot teradata yugabyte

A more comprehensive list of supported databases along with the configuration instructions can be found here.

Want to add support for your datastore or data engine? Read more here about the technical requirements.

Installation and Configuration

Extended documentation for Superset

Get Involved

Contributor Guide

Interested in contributing? Check out our CONTRIBUTING.md to find resources around contributing along with a detailed guide on how to set up a development environment.

Resources