-
Notifications
You must be signed in to change notification settings - Fork 18.3k
feat(streaming): Streaming CSV uploads for over 100k records for constant memory usage #35478
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
Merged
Merged
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
53c9eba
fix(ag-grid-table): remove enterprise features to use community version
amaannawab923 0762079
Merge branch 'master' of https://github.com/apache/superset
amaannawab923 49cbbf4
feat: Add frontend streaming CSV export with progress modal
amaannawab923 2aaf39b
feat: Add testing mode for streaming CSV exports
amaannawab923 d9d96a4
Streaming progress
amaannawab923 b78895a
streaming
amaannawab923 3d00861
use row limit for table from queries response
amaannawab923 6b2b239
update: Streaming modal refactor
amaannawab923 9e1625b
update: Refactor hook use streaming export
amaannawab923 e2419ef
streaming export
amaannawab923 e67059b
update: correct toast messages
amaannawab923 c309932
update: remove polling api
amaannawab923 04bb069
Fix: streaming refactor of row estimation function
amaannawab923 a71746c
update: Refactor streaming.py
amaannawab923 869f535
update: Streaming export command
amaannawab923 843a550
fix: remove unneccessary logic from explore utils
amaannawab923 c3ea06b
update: Generate file name
amaannawab923 f320f42
fix: ci cd fixes
amaannawab923 130f9ba
fix : ui fixes
amaannawab923 ec5ec0e
update: resolve comments
amaannawab923 c03c204
fix: formatting
amaannawab923 a66bf34
fix: filename format
amaannawab923 0c3e7f5
fix: sqllab streaming integration
amaannawab923 da789e9
fix: permission for sqllab streaming
amaannawab923 bbb52dd
fix: retry mechanism in case of error
amaannawab923 957b796
fix: retry mechanism for chart
amaannawab923 c6d1838
update: Error message
amaannawab923 f9a72c8
fix: subsequent csv downloads failures fixed for charts
amaannawab923 1e97167
Implemented Tests for Streaming Modal ui Component
amaannawab923 e6f65c4
Formatting fix
amaannawab923 2371503
fix: eslint
amaannawab923 3c2efa0
update: hook unit tests
amaannawab923 096ba4e
fix: eslint error
amaannawab923 4b49a32
fix result format
amaannawab923 f27566c
fix: eslint error
amaannawab923 ca0a51e
fix: comments resolution
amaannawab923 edcdb20
Unit tests for streaming commands
amaannawab923 4630a99
Merge branch 'master' of https://github.com/apache/superset into feat…
amaannawab923 c070c69
Refactor & comments resolution
amaannawab923 c494c79
fix: refactor and drying up streaming export command with a unified b…
amaannawab923 bbf1b5e
fix: use csv header instead of custom header from csv streaming api
amaannawab923 6217791
fix: tests
amaannawab923 7f55bcf
Refactor Comments Resolution
amaannawab923 5b2980f
Merge branch 'master' of https://github.com/apache/superset into feat…
amaannawab923 9aa0c00
fix: import for progress
amaannawab923 0bf8f39
move filename logic for sqllab to backend
amaannawab923 316421c
fix: use constant default
amaannawab923 dbf6b12
Merge branch 'master' of https://github.com/apache/superset into feat…
amaannawab923 3fba394
ci fix
amaannawab923 dff377b
using sql row count
amaannawab923 9a4900a
fix: Streaming works on explore page & Toast appears only after the e…
amaannawab923 7c9bd3e
ci fix
amaannawab923 d9d241d
Merge branch 'master' of https://github.com/apache/superset into feat…
amaannawab923 16e0c82
Rebase and update imports
amaannawab923 cfb4f49
update: modal title as per figma
amaannawab923 8848e9f
fix test
amaannawab923 b5393a4
fix flaky test
amaannawab923 ed5c1e3
data type fix
amaannawab923 aba13ff
Merge branch 'master' of https://github.com/apache/superset into feat…
amaannawab923 c9af828
Comments Resolution
amaannawab923 fe59a39
Merge branch 'master' of https://github.com/apache/superset into feat…
amaannawab923 db69437
test fix
amaannawab923 8090401
test fix
amaannawab923 dfc23fb
fix sqllab tests
amaannawab923 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
superset-frontend/packages/superset-ui-core/src/components/Progress/index.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| /** | ||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
| import { Progress as AntdProgress } from 'antd'; | ||
| import type { ProgressProps as AntdProgressProps } from 'antd'; | ||
|
|
||
| export type ProgressProps = AntdProgressProps; | ||
|
|
||
| export const Progress = AntdProgress; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.