-
Notifications
You must be signed in to change notification settings - Fork 857
feat: sql jobs outputting to s3 + streaming for high-number of rows #5704
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 26 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
ea8e976
stream to s3 boilerplate
diegoimbert f29110e
S3 works with new syntax
diegoimbert beba862
snowflake s3 streaming support
diegoimbert f7e36bf
postgres s3 support
diegoimbert b6e9269
fix postgres stream format
diegoimbert ed0a7a3
mysql s3 streaming
diegoimbert 62df7af
mssql s3 streaming
diegoimbert 92c8925
new s3 mode syntax
diegoimbert 6ebaf1c
optional folder param
diegoimbert 794de6b
rename folder to prefix
diegoimbert b86d51b
json_stream_arr_values
diegoimbert 8990be9
cargo toml rollback
diegoimbert d1d4fc0
convert_ndjson with datafusion
diegoimbert b8c1243
format conversion kinda works
diegoimbert dc8e041
Fixed not finishing the datafusion writer
diegoimbert 1d29f54
support for pg and mssql
diegoimbert 6b4e8bc
fix file ext
diegoimbert 8bdf4dd
bigquery conversion and works with s3 streaming
diegoimbert a576f55
fix s3 flag parser
diegoimbert 7609263
snowflake s3 streaming support
diegoimbert 2895221
factor out duplicate code
diegoimbert 755b423
remove anyhow
diegoimbert 7440173
Err case for parse s3 mode
diegoimbert 967b839
Send error to mpsc
diegoimbert 1b261ce
bigquery s3 streaming fix for huge queries
diegoimbert 3a58cb8
remove extra stuff
diegoimbert 8b87ae4
snowflake s3 streaming support
diegoimbert d582557
small regex mistake
diegoimbert 83906ea
cfg(not(feature = "parquet"))
diegoimbert d834ca5
Merge branch 'main' into di/stream-sql-to-s3
diegoimbert af7468d
Merge branch 'main' into di/stream-sql-to-s3
diegoimbert 05283a8
fix CI (unused import)
diegoimbert cde77fe
error handling fix (graphite)
diegoimbert bda882a
Merge branch 'main' into di/stream-sql-to-s3
diegoimbert 58d5bd8
Merge branch 'main' into di/stream-sql-to-s3
diegoimbert 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
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The regex for
RE_S3_MODEis defined as:Regex::new(r"(?m)^-- s3( (.+))?*(?:\r|\n|$)")The
*after the optional group appears redundant and may be a typographical error. Consider revising this pattern (e.g., possibly using(?m)^-- s3( (.+))?(?:\r|\n|$)instead) to ensure it behaves as expected.