Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest merge from master #3

Merged
merged 99 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
950a21a
docs: Clarification on which command to use on which Ubuntu version. …
kkovacs Oct 17, 2024
47c5334
chore: Enable suppressing default chart context menu (#30613)
kgabryje Oct 18, 2024
d9a1db0
refactor(Dashboard): Native filters form update endpoint (#30609)
geido Oct 21, 2024
e0ebeac
fix: Domain 'undefined' error in Storybook (#30661)
kgabryje Oct 21, 2024
4a5d978
refactor: Split FastVizSwitcher into multiple files for readability (…
kgabryje Oct 21, 2024
f8fd2ec
docs: frontend long build time (#30655)
CodeWithEmad Oct 21, 2024
4d5f70c
chore: add link to Superset when report error (#30576)
eschutho Oct 21, 2024
4433ef4
refactor: Migrate HeaderActionsDropdown to typescript (#30568)
EnxDev Oct 22, 2024
6fef6ac
fix: Link Checking (#30659)
CodeWithEmad Oct 22, 2024
87deb19
fix(chart): Table and page entries misaligned (#30680)
justinpark Oct 23, 2024
34131c2
build(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs …
dependabot[bot] Oct 23, 2024
16981d6
fix(dashboard): Include `urlParams` in the screenshot generation (#30…
Vitor-Avila Oct 23, 2024
ee3befb
fix: bump FAB to 4.5.2 (#30688)
dpgaspar Oct 24, 2024
c9ff09a
fix: Nested transaction is inactive when embedding dashboard (#30699)
michael-s-molina Oct 24, 2024
19f840c
fix(Dashboard): DatePicker to not autoclose modal (#30702)
geido Oct 24, 2024
e4d8f7a
refactor: Migration publishedStatus to typescript (#30653)
EnxDev Oct 24, 2024
ec2d330
refactor: Migrate UndoRedoKeyListeners to typescript (#30654)
EnxDev Oct 24, 2024
3d443e0
feat(number-format): Add duration formatter with colon notation (#30593)
gerbermichi Oct 24, 2024
1c56857
feat(db_engine_specs): added support for Denodo Virtual DataPort (#29…
denodo-research-labs Oct 24, 2024
a12ccf2
fix(Jinja): Extra cache keys for Jinja columns (#30715)
geido Oct 25, 2024
299cea0
build(deps-dev): bump http-proxy-middleware from 2.0.6 to 2.0.7 in /s…
dependabot[bot] Oct 25, 2024
c03bf80
feat(helm-chart): Add extraLabels to all resources (#30710)
maxforasteiro Oct 27, 2024
09d3f60
fix(Jinja): Extra cache keys for calculated columns and metrics using…
Vitor-Avila Oct 29, 2024
eecb537
ci: Add Python 3.11 images to Docker Hub (#30733)
padbk Oct 29, 2024
b9ac800
docs(templating): Replace "true" with "1 = 1" and explain its purpose…
sfirke Oct 29, 2024
fbd7c0c
docs: rename Twitter to X in the INTHEWILD.md (#30738)
wugeer Oct 29, 2024
bdb79a0
build(deps): bump cookie, cookie-parser and express in /superset-webs…
dependabot[bot] Oct 29, 2024
98c0fdc
build(deps-dev): bump webpack from 5.94.0 to 5.95.0 in /docs (#30480)
dependabot[bot] Oct 29, 2024
f2a9f31
build(deps): bump cookie from 0.6.0 to 0.7.0 in /superset-websocket (…
dependabot[bot] Oct 29, 2024
576ad85
chore(fe): replace deprecate aliased Jest matchers with corresponding…
hainenber Oct 29, 2024
60cd255
feat: cancel impala query on stop (#30412)
wugeer Oct 29, 2024
a74ef41
fix(country-map): Rename incorrect Vietnam province name for Country …
tienhung2812 Oct 30, 2024
eb14c76
docs: Update INTHEWILD.md with Medic (#30749)
1yuv Oct 30, 2024
73768f6
fix(explore): column data type tooltip format (#30588)
mistercrunch Oct 30, 2024
d5a98e0
chore(Dashboard): Simplify scoping logic for cross/native filters (#3…
geido Oct 30, 2024
e79778a
feat(dataset API): Add parameter to optionally render Jinja macros in…
Vitor-Avila Oct 30, 2024
4511e1c
docs: add Sarathi to users list (#30753)
SaiSkandaTNI Oct 30, 2024
dc9dd5f
docs: Update INTHEWILD.md (#30747)
MSTartan Oct 30, 2024
9bb69ab
docs: Adding link to StarRocks official docs (#30757)
rusackas Oct 30, 2024
bc5da63
refactor(Switch): Upgrade Switch to Ant Design 5 (#30731)
alexandrusoare Oct 30, 2024
849d426
feat(oauth): adding necessary changes to support bigquery oauth (#30674)
fisjac Oct 30, 2024
a729f04
fix(chart): apply number format in Box Plot tooltip only where necess…
goto-loop Oct 30, 2024
58edc79
fix(mssql db_engine_spec): adds uniqueidentifier to column_type_mappi…
rparsonsbb Oct 30, 2024
31aad28
refactor: Migrate SliceAdder to typescript (#30697)
EnxDev Oct 31, 2024
2518190
style(databases-upload-form): update Upload Form cosmetics (#30758)
vine-trellis Oct 31, 2024
3e29777
fix(Dashboard): Sync/Async Dashboard Screenshot Generation and Defaul…
geido Nov 1, 2024
402c29c
fix: catalog migration w/o connection (#30773)
betodealmeida Nov 1, 2024
f19c428
chore: bump werkzeug to address vulnerability (#30729)
dpgaspar Nov 1, 2024
fa9d2ce
build(deps): bump JustinBeckwith/linkinator-action from 1.10.4 to 1.1…
dependabot[bot] Nov 1, 2024
5d42dfb
build(deps-dev): bump eslint-import-resolver-typescript from 3.6.1 to…
dependabot[bot] Nov 1, 2024
ccc2f66
build(deps-dev): bump eslint-plugin-testing-library from 6.2.2 to 6.4…
dependabot[bot] Nov 1, 2024
b3edbe4
build(deps): bump ace-builds from 1.35.4 to 1.36.3 in /superset-front…
dependabot[bot] Nov 1, 2024
ab95bff
build(deps): bump @rjsf/validator-ajv8 from 5.19.4 to 5.22.3 in /supe…
dependabot[bot] Nov 1, 2024
3ec3f0a
fix(explore): Update tooltip copy for rendering html in tables and pi…
yousoph Nov 1, 2024
d466383
fix: warning emits an error (#28524)
eschutho Nov 1, 2024
b02d18a
fix(plugin-chart-echarts): sort tooltip correctly (#30819)
villebro Nov 1, 2024
29e3f4b
feat: allow exporting all tabs to a single PDF in report (#30694)
US579 Nov 4, 2024
5820d31
fix(TimezoneSelector): Failing unit tests due to timezone change (#30…
geido Nov 4, 2024
64f8140
build(deps): bump antd from 5.20.5 to 5.21.6 in /docs (#30794)
dependabot[bot] Nov 4, 2024
305b6df
feat(oauth2): add support for trino (#30081)
joaoferrao Nov 4, 2024
f85175e
build(deps): bump webpack from 5.80.0 to 5.96.1 in /superset-frontend…
dependabot[bot] Nov 4, 2024
b73ee7f
build(deps-dev): bump prettier-plugin-packagejson from 2.5.2 to 2.5.3…
dependabot[bot] Nov 4, 2024
2a96a9c
build(deps-dev): bump typescript-eslint from 8.8.0 to 8.12.2 in /supe…
dependabot[bot] Nov 4, 2024
8b815a3
build(deps-dev): bump eslint-plugin-react from 7.33.2 to 7.37.2 in /s…
dependabot[bot] Nov 4, 2024
4b33353
build(deps): bump deck.gl from 9.0.28 to 9.0.34 in /superset-frontend…
dependabot[bot] Nov 4, 2024
e01c879
build(deps): bump winston from 3.13.0 to 3.15.0 in /superset-websocke…
dependabot[bot] Nov 4, 2024
4146493
build(deps): bump uuid from 10.0.0 to 11.0.2 in /superset-websocket (…
dependabot[bot] Nov 4, 2024
54cc69a
build(deps-dev): bump eslint from 9.11.0 to 9.14.0 in /superset-webso…
dependabot[bot] Nov 4, 2024
a91daab
docs: Update INTHEWILD.md (#30822)
Habeeb556 Nov 4, 2024
f0b86f8
build(deps-dev): bump webpack from 5.95.0 to 5.96.1 in /docs (#30832)
dependabot[bot] Nov 4, 2024
0b26369
chore: Revert "build(deps): bump JustinBeckwith/linkinator-action fro…
rusackas Nov 5, 2024
d1bc986
docs: Update INTHEWILD.md with 2070Health Org (#30824)
sanjaynayak007 Nov 5, 2024
2eadc1f
build(deps): bump @saucelabs/theme-github-codeblock from 0.2.3 to 0.3…
dependabot[bot] Nov 5, 2024
fb6ad32
build(deps-dev): bump typescript from 5.6.2 to 5.6.3 in /docs (#30795)
dependabot[bot] Nov 5, 2024
5a59dcf
build(deps-dev): bump @types/react from 18.3.10 to 18.3.12 in /docs (…
dependabot[bot] Nov 5, 2024
6b9122b
build(deps): bump @mdx-js/react from 3.0.1 to 3.1.0 in /docs (#30796)
dependabot[bot] Nov 5, 2024
63b97ab
build(deps): bump @docsearch/react from 3.6.2 to 3.6.3 in /docs (#30797)
dependabot[bot] Nov 5, 2024
d217a78
chore(actions): Bump Linkinator in superset-docs-verify.yml (#30846)
rusackas Nov 5, 2024
3be6cef
chore(scripts): purge node_modules folder on `npm prune` (#30255)
rusackas Nov 5, 2024
8c7a3bf
fix(time_comparison): Allow deleting dates when using custom shift (#…
Antonio-RiveroMartnez Nov 6, 2024
710c6f9
chore: Chart context menu permissions cleanup (#30854)
kgabryje Nov 6, 2024
de8282c
fix(package.json): Pin luxon version to unblock master (#30859)
geido Nov 6, 2024
5b2f005
chore(FilterBar): Filter bar accessibility (#30812)
alexandrusoare Nov 7, 2024
dd39138
fix(chart data): removing query from /chart/data payload when accessi…
fisjac Nov 7, 2024
88eb95c
docs: Updating 4.1 Release Notes (#30865)
yousoph Nov 8, 2024
683ed0d
chore(GHA): Making the Linkinator STEP non-blocking, rather than the …
rusackas Nov 8, 2024
f4c36a6
fix(Dashboard): Native & Cross-Filters Scoping Performance (#30881)
geido Nov 8, 2024
57af97d
perf: Prevent redundant calls to getRelevantDataMask (#30883)
kgabryje Nov 8, 2024
0af124e
feat: add a script to check environment software versions (#29609)
mistercrunch Nov 8, 2024
a1f86ba
docs: make it more clear that GLOBAL_ASYNC_QUERIES is experimental/be…
mistercrunch Nov 9, 2024
24b8a94
fix(docs): add missing bracket in openID config (#30885)
samarsrivastav Nov 9, 2024
16ad5a8
build(deps): bump @algolia/client-search from 4.24.0 to 5.12.0 in /do…
dependabot[bot] Nov 11, 2024
8893426
chore: update help text copy on dataset settings (#30775)
yousoph Nov 11, 2024
4d50d49
chore(AntD5): touchup on component imports/exports, theming ListViewC…
rusackas Nov 11, 2024
629bbc5
build(deps): bump remark-gfm from 3.0.1 to 4.0.0 in /superset-fronten…
dependabot[bot] Nov 11, 2024
0e165c1
fix: Graph chart colors (#30851)
michael-s-molina Nov 11, 2024
c2885a1
fix: Exception handling for SQL Lab views (#30897)
michael-s-molina Nov 12, 2024
ac3a10d
fix: don't show metadata for embedded dashboards (#30875)
sadpandajoe Nov 12, 2024
4e8eba8
feat: add logging durations for screenshot async service (#30884)
mistercrunch Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/.github/ @villebro @geido @eschutho @rusackas @betodealmeida @nytai @mistercrunch @craig-rueda @john-bodley @kgabryje @dpgaspar

# Notify PMC members of changes to required Github Actions
# Notify PMC members of changes to required GitHub Actions

/.asf.yaml @villebro @geido @eschutho @rusackas @betodealmeida @nytai @mistercrunch @craig-rueda @john-bodley @kgabryje @dpgaspar

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
# license: https://applitools.com/legal/open-source-terms-of-use/
# pkg:npm/node-forge@1.3.1
# selecting BSD-3-Clause licensing terms for node-forge to ensure compatibility with Apache
allow-dependencies-licenses: pkg:npm/store2@2.14.2, pkg:npm/applitools/core, pkg:npm/applitools/core-base, pkg:npm/applitools/css-tree, pkg:npm/applitools/ec-client, pkg:npm/applitools/eg-socks5-proxy-server, pkg:npm/applitools/eyes, pkg:npm/applitools/eyes-cypress, pkg:npm/applitools/nml-client, pkg:npm/applitools/tunnel-client, pkg:npm/applitools/utils, pkg:npm/node-forge@1.3.1
allow-dependencies-licenses: pkg:npm/store2@2.14.2, pkg:npm/applitools/core, pkg:npm/applitools/core-base, pkg:npm/applitools/css-tree, pkg:npm/applitools/ec-client, pkg:npm/applitools/eg-socks5-proxy-server, pkg:npm/applitools/eyes, pkg:npm/applitools/eyes-cypress, pkg:npm/applitools/nml-client, pkg:npm/applitools/tunnel-client, pkg:npm/applitools/utils, pkg:npm/node-forge@1.3.1, pkg:npm/rgbcolor
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- id: set_matrix
run: |
MATRIX_CONFIG=$(if [ "${{ github.event_name }}" == "pull_request" ]; then echo '["dev"]'; else echo '["dev", "lean", "py310", "websocket", "dockerize"]'; fi)
MATRIX_CONFIG=$(if [ "${{ github.event_name }}" == "pull_request" ]; then echo '["dev"]'; else echo '["dev", "lean", "py310", "websocket", "dockerize", "py311"]'; fi)
echo "matrix_config=${MATRIX_CONFIG}" >> $GITHUB_OUTPUT
echo $GITHUB_OUTPUT

Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/superset-docs-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- "docs/**"
- ".github/workflows/superset-docs-verify.yml"
types: [synchronize, opened, reopened, ready_for_review]

# cancel previous workflow jobs for PRs
Expand All @@ -16,10 +17,12 @@ jobs:
# See docs here: https://github.com/marketplace/actions/linkinator
name: Link Checking
runs-on: ubuntu-latest
continue-on-error: true # This will make the job advisory (non-blocking, no red X)
steps:
- uses: actions/checkout@v4
- uses: JustinBeckwith/linkinator-action@v1.10.4
# Do not bump this linkinator-action version without opening
# an ASF Infra ticket to allow the new verison first!
- uses: JustinBeckwith/linkinator-action@v1.11.0
continue-on-error: true # This will make the job advisory (non-blocking, no red X)
with:
paths: "**/*.md, **/*.mdx"
linksToSkip: >-
Expand All @@ -40,6 +43,12 @@ jobs:
https://dev.mysql.com/doc/refman/5.7/en/innodb-limits.html,
^https://img\.shields\.io/.*,
https://vkusvill.ru/
https://www.linkedin.com/in/mark-thomas-b16751158/
https://theiconic.com.au/
https://wattbewerb.de/
https://timbr.ai/
https://opensource.org/license/apache-2-0
https://www.plaidcloud.com/
build-deploy:
name: Build & Deploy
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
build_preset: ["dev", "lean", "py310", "websocket", "dockerize"]
build_preset: ["dev", "lean", "py310", "websocket", "dockerize", "py311"]
fail-fast: false
steps:
- name: Set up QEMU
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ RUN if [ "$BUILD_TRANSLATIONS" = "true" ]; then \
RUN rm /app/superset/translations/*/LC_MESSAGES/*.po
RUN rm /app/superset/translations/messages.pot

FROM python:${PY_VER} AS python-base
######################################################################
# Final lean image...
######################################################################
FROM python:${PY_VER} AS lean
FROM python-base AS lean

# Include translations in the final build. The default supports en only to
# reduce complexity and weight for those only using en
Expand Down Expand Up @@ -120,6 +121,7 @@ COPY --chown=superset:superset pyproject.toml setup.py MANIFEST.in README.md ./
# setup.py uses the version information in package.json
COPY --chown=superset:superset superset-frontend/package.json superset-frontend/
COPY --chown=superset:superset requirements/base.txt requirements/
COPY --chown=superset:superset scripts/check-env.py scripts/
RUN --mount=type=cache,target=/root/.cache/pip \
apt-get update -qq && apt-get install -yqq --no-install-recommends \
build-essential \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ under the License.

# Superset

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/apache/superset?sort=semver)](https://github.com/apache/superset/tree/latest)
[![Build Status](https://github.com/apache/superset/workflows/Python/badge.svg)](https://github.com/apache/superset/actions)
[![PyPI version](https://badge.fury.io/py/apache-superset.svg)](https://badge.fury.io/py/apache-superset)
Expand Down Expand Up @@ -135,6 +135,7 @@ Here are some of the major database solutions that are supported:
<img src="https://superset.apache.org/img/databases/doris.png" alt="doris" border="0" width="200" />
<img src="https://superset.apache.org/img/databases/oceanbase.svg" alt="oceanbase" border="0" width="220" />
<img src="https://superset.apache.org/img/databases/sap-hana.png" alt="oceanbase" border="0" width="220" />
<img src="https://superset.apache.org/img/databases/denodo.png" alt="denodo" border="0" width="200" />
</p>

**A more comprehensive list of supported databases** along with the configuration instructions can be found [here](https://superset.apache.org/docs/configuration/databases).
Expand Down
4 changes: 2 additions & 2 deletions RELEASING/release-notes-4-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ We released a [Big Number with Time Period Comparison](https://github.com/apache
</div>

### Table with Time Comparison
Added functionality to do [table time comparisons](https://github.com/apache/superset/pull/28057) behind the `CHART_PLUGINS_EXPERIMENTAL` feature flag. This will help improve and facilitate efficient data analysis.
Added functionality to do [table time comparisons](https://github.com/apache/superset/pull/28057). This will help improve and facilitate efficient data analysis.

<div>
<image src="media/table_with_time.png" alt="Image" width="100%">
Expand Down Expand Up @@ -137,4 +137,4 @@ There is now a [metadata bar](https://github.com/apache/superset/pull/27857) add

## Change to Docker image builds

Starting in 4.1.0, the release's docker image does not ship with drivers needed to operate Superset. Users may need to install a driver for their metadata database (MySQL or Postgres) as well as the driver for their data warehouse. This is a result of changes to the `lean` docker image that official releases come from; see [Docker Build Presets](/docs/installation/docker-builds#build-presets) for more details.
Starting in 4.1.0, the release's docker image does not ship with drivers needed to operate Superset. Users may need to install a driver for their metadata database (MySQL or Postgres) as well as the driver for their data warehouse. This is a result of changes to the `lean` docker image that official releases come from; see [Docker Build Presets](/docs/docs/installation/docker-builds.mdx#build-presets) for more details.
19 changes: 12 additions & 7 deletions RESOURCES/INTHEWILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Join our growing community!
- [Deepomatic](https://deepomatic.com/) [@Zanoellia]
- [Dial Once](https://www.dial-once.com/)
- [Dremio](https://dremio.com) [@narendrans]
- [EFinance](https://www.efinance.com.eg) [@habeeb556]
- [Elestio](https://elest.io/) [@kaiwalyakoparkar]
- [ELMO Cloud HR & Payroll](https://elmosoftware.com.au/)
- [Endress+Hauser](https://www.endress.com/) [@rumbin]
Expand All @@ -95,14 +96,15 @@ Join our growing community!
- [jampp](https://jampp.com/)
- [Konfío](https://konfio.mx) [@uis-rodriguez]
- [Mainstrat](https://mainstrat.com/)
- [mishmash io](https://mishmash.io/)[@mishmash-io]
- [mishmash io](https://mishmash.io/) [@mishmash-io]
- [Myra Labs](https://www.myralabs.com/) [@viksit]
- [Nielsen](https://www.nielsen.com/) [@amitNielsen]
- [Ona](https://ona.io) [@pld]
- [Orange](https://www.orange.com) [@icsu]
- [Oslandia](https://oslandia.com)
- [Peak AI](https://www.peak.ai/) [@azhar22k]
- [PeopleDoc](https://www.people-doc.com) [@rodo]
- [PlaidCloud](https://www.plaidcloud.com)
- [Preset, Inc.](https://preset.io)
- [PubNub](https://pubnub.com) [@jzucker2]
- [ReadyTech](https://www.readytech.io)
Expand All @@ -115,7 +117,7 @@ Join our growing community!
- [timbr.ai](https://timbr.ai/) [@semantiDan]
- [Tobii](https://www.tobii.com/) [@dwa]
- [Tooploox](https://www.tooploox.com/) [@jakubczaplicki]
- [Unvired](https://unvired.com)[@srinisubramanian]
- [Unvired](https://unvired.com) [@srinisubramanian]
- [Whale](https://whale.im)
- [Windsor.ai](https://www.windsor.ai/) [@octaviancorlade]
- [Zeta](https://www.zeta.tech/) [@shaikidris]
Expand All @@ -128,7 +130,7 @@ Join our growing community!
- [Kuaishou](https://www.kuaishou.com/) [@zhaoyu89730105]
- [Netflix](https://www.netflix.com/)
- [Prensa Iberica](https://www.prensaiberica.es/) [@zamar-roura]
- [TME QQMUSIC/WESING](https://www.tencentmusic.com/)[@shenyuanli,@marklaw]
- [TME QQMUSIC/WESING](https://www.tencentmusic.com/) [@shenyuanli,@marklaw]
- [Xite](https://xite.com/) [@shashankkoppar]
- [Zaihang](https://www.zaih.com/)

Expand All @@ -137,7 +139,7 @@ Join our growing community!
- [Brilliant.org](https://brilliant.org/)
- [Platzi.com](https://platzi.com/)
- [Sunbird](https://www.sunbird.org/) [@eksteporg]
- [The GRAPH Network](https://thegraphnetwork.org/)[@fccoelho]
- [The GRAPH Network](https://thegraphnetwork.org/) [@fccoelho]
- [Udemy](https://www.udemy.com/) [@sungjuly]
- [VIPKID](https://www.vipkid.com.cn/) [@illpanda]
- [WikiMedia Foundation](https://wikimediafoundation.org) [@vg]
Expand All @@ -152,21 +154,24 @@ Join our growing community!
### Healthcare
- [Amino](https://amino.com) [@shkr]
- [Bluesquare](https://www.bluesquarehub.com/) [@madewulf]
- [Care](https://www.getcare.io/)[@alandao2021]
- [Care](https://www.getcare.io/) [@alandao2021]
- [Living Goods](https://www.livinggoods.org) [@chelule]
- [Maieutical Labs](https://maieuticallabs.it) [@xrmx]
- [Medic](https://medic.org) [@1yuv]
- [REDCap Cloud](https://www.redcapcloud.com/)
- [TrustMedis](https://trustmedis.com/) [@famasya]
- [WeSure](https://www.wesure.cn/)
- [2070Health](https://2070health.com/)

### HR / Staffing
- [Swile](https://www.swile.co/) [@PaoloTerzi]
- [Symmetrics](https://www.symmetrics.fyi)
- [bluquist](https://bluquist.com/)

### Government
### Government / Non-Profit
- [City of Ann Arbor, MI](https://www.a2gov.org/) [@sfirke]
- [RIS3 Strategy of CZ, MIT CR](https://www.ris3.cz/) [@RIS3CZ]
- [NRLM - Sarathi, India](https://pib.gov.in/PressReleasePage.aspx?PRID=1999586)

### Travel
- [Agoda](https://www.agoda.com/) [@lostseaway, @maiake, @obombayo]
Expand All @@ -183,6 +188,6 @@ Join our growing community!
- [komoot](https://www.komoot.com/) [@christophlingg]
- [Let's Roam](https://www.letsroam.com/)
- [Onebeat](https://1beat.com/) [@GuyAttia]
- [Twitter](https://twitter.com/)
- [X](https://x.com/)
- [VLMedia](https://www.vlmedia.com.tr/) [@ibotheperfect]
- [Yahoo!](https://yahoo.com/)
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ x-superset-user: &superset-user root
x-superset-depends-on: &superset-depends-on
- db
- redis
- superset-checks
x-superset-volumes: &superset-volumes
# /app/pythonpath_docker will be appended to the PYTHONPATH in the final container
- ./docker:/app/docker
Expand Down Expand Up @@ -130,6 +131,23 @@ services:
- REDIS_PORT=6379
- REDIS_SSL=false

superset-checks:
build:
context: .
target: python-base
cache_from:
- apache/superset-cache:3.10-slim-bookworm
container_name: superset_checks
command: ["/app/scripts/check-env.py"]
env_file:
- path: docker/.env # default
required: true
- path: docker/.env-local # optional override
required: false
user: *superset-user
healthcheck:
disable: true

superset-init:
build:
<<: *common-build
Expand Down
15 changes: 15 additions & 0 deletions docs/docs/configuration/databases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ are compatible with Superset.
| [ClickHouse](/docs/configuration/databases#clickhouse) | `pip install clickhouse-connect` | `clickhousedb://{username}:{password}@{hostname}:{port}/{database}` |
| [CockroachDB](/docs/configuration/databases#cockroachdb) | `pip install cockroachdb` | `cockroachdb://root@{hostname}:{port}/{database}?sslmode=disable` |
| [Couchbase](/docs/configuration/databases#couchbase) | `pip install couchbase-sqlalchemy` | `couchbase://{username}:{password}@{hostname}:{port}?truststorepath={ssl certificate path}` |
| [Denodo](/docs/configuration/databases#denodo) | `pip install denodo-sqlalchemy` | `denodo://{username}:{password}@{hostname}:{port}/{database}` |
| [Dremio](/docs/configuration/databases#dremio) | `pip install sqlalchemy_dremio` |`dremio+flight://{username}:{password}@{host}:32010`, often useful: `?UseEncryption=true/false`. For Legacy ODBC: `dremio+pyodbc://{username}:{password}@{host}:31010` |
| [Elasticsearch](/docs/configuration/databases#elasticsearch) | `pip install elasticsearch-dbapi` | `elasticsearch+http://{user}:{password}@{host}:9200/` |
| [Exasol](/docs/configuration/databases#exasol) | `pip install sqlalchemy-exasol` | `exa+pyodbc://{username}:{password}@{hostname}:{port}/my_schema?CONNECTIONLCALL=en_US.UTF-8&driver=EXAODBC` |
Expand Down Expand Up @@ -512,6 +513,16 @@ For a connection to a SQL endpoint you need to use the HTTP path from the endpoi
```


#### Denodo

The recommended connector library for Denodo is
[denodo-sqlalchemy](https://pypi.org/project/denodo-sqlalchemy/).

The expected connection string is formatted as follows (default port is 9996):

```
denodo://{username}:{password}@{hostname}:{port}/{database}
```


#### Dremio
Expand Down Expand Up @@ -1307,6 +1318,10 @@ Here's what the connection string looks like:
starrocks://<User>:<Password>@<Host>:<Port>/<Catalog>.<Database>
```

:::note
StarRocks maintains their Superset docuementation [here](https://docs.starrocks.io/docs/integrations/BI_integrations/Superset/).
:::

#### Teradata

The recommended connector library is
Expand Down
9 changes: 6 additions & 3 deletions docs/docs/configuration/sql-templating.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,15 @@ WHERE (
{% if to_dttm is not none %}
dttm_col < '{{ to_dttm }}' AND
{% endif %}
true
1 = 1
)
```

Note how the Jinja parameters are called within double brackets in the query, and without in the
logic blocks.
The `1 = 1` at the end ensures a value is present for the `WHERE` clause even when
the time filter is not set. For many database engines, this could be replaced with `true`.

Note that the Jinja parameters are called within _double_ brackets in the query and with
_single_ brackets in the logic blocks.

To add custom functionality to the Jinja context, you need to overload the default Jinja
context in your environment by defining the `JINJA_CONTEXT_ADDONS` in your superset configuration
Expand Down
Loading
Loading