-
Notifications
You must be signed in to change notification settings - Fork 4.6k
🐛 Source S3: fix exception when setting CSV stream delimiter to \t
.
#35246
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
marcosmarxm
merged 16 commits into
airbytehq:master
from
dtiesling:dtiesling/source-s3-csv-tab-delimiter-fix
Feb 23, 2024
Merged
Changes from 5 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6ce99e5
fix: Resolves bug in s3 source that did not support tab as a delimiter.
dtiesling ad5014f
Update metadata and changelog.
dtiesling e1525c2
Updates the pyproject.toml
dtiesling b2fc155
Fixes typo in changelog.
dtiesling ab618f0
Merge branch 'master' into dtiesling/source-s3-csv-tab-delimiter-fix
dtiesling 285f5b9
Merge branch 'master' into dtiesling/source-s3-csv-tab-delimiter-fix
dtiesling aa5edb7
Merge branch 'master' into dtiesling/source-s3-csv-tab-delimiter-fix
dtiesling 8c61876
Ups version number.
dtiesling 726ef6c
Merge branch 'master' into dtiesling/source-s3-csv-tab-delimiter-fix
marcosmarxm e7077f3
format files
marcosmarxm 440f681
Moves TSV test to better location.
dtiesling edeab72
Merge branch 'master' into dtiesling/source-s3-csv-tab-delimiter-fix
dtiesling 5f81791
Ups version to 4.5.6
dtiesling 93eac79
Merge branch 'master' into dtiesling/source-s3-csv-tab-delimiter-fix
marcosmarxm 312003e
run format
marcosmarxm 70f727b
add line
marcosmarxm 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",] | |
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
version = "4.5.3" | ||
version = "4.5.4" | ||
name = "source-s3" | ||
description = "Source implementation for S3." | ||
authors = [ "Airbyte <[email protected]>",] | ||
|
4 changes: 4 additions & 0 deletions
4
airbyte-integrations/connectors/source-s3/unit_tests/v4/test_format.py
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,4 @@ | ||
from airbyte_cdk.sources.file_based.config.csv_format import CsvFormat | ||
|
||
def test_csv_format_tab_delimited(): | ||
assert CsvFormat(delimiter=r"\t").delimiter == '\\t' |
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
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.
Thank you for including a test!