-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support configurable delimiter for seed files, default to comma (#3990) #7186
Merged
QMalcolm
merged 18 commits into
dbt-labs:main
from
ramonvermeulen:configurableDelimiterSeeds
Aug 1, 2023
Merged
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
596856b
Support configurable delimiter for seed files, default to comma (#3990)
ramonvermeulen c6b5b12
Update Features-20230317-144957.yaml
ramonvermeulen 381c3b3
Moved "delimiter" to seed config instead of node config
ramonvermeulen f44244c
Update core/dbt/clients/agate_helper.py
ramonvermeulen ca4ff79
Merge commit '050161c78f6d9acc36d0b76bd54ffcd778b7a467'
ramonvermeulen 0322113
Update test_contracts_graph_parsed.py
ramonvermeulen c2ba7d1
Merge branch 'dbt-labs:main' into configurableDelimiterSeeds
ramonvermeulen b258f79
Merge commit '533988233ecc1b2391d2d6139e1d6be095e2d6cd'
ramonvermeulen 20be12b
fixed integration tests
ramonvermeulen f810942
Added functional tests for seed files with a unique delimiter
ramonvermeulen 10d76f4
Added docstrings
ramonvermeulen f37e74a
Added a test for an empty string configured delimiter value
ramonvermeulen d1c8261
whitespace
ramonvermeulen 82f15c4
Merge pull request #1 from dbt-labs/main
ramonvermeulen 2902368
ran black
ramonvermeulen ff66966
updated changie entry
ramonvermeulen 3083a6d
Update Features-20230317-144957.yaml
ramonvermeulen 847eb2d
Merge branch 'dbt-labs:main' into configurableDelimiterSeeds
ramonvermeulen 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 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,6 @@ | ||
kind: Features | ||
body: Added support to configure a delimiter for a seed file, defaults to comma | ||
time: 2023-03-17T14:49:57.564210866+01:00 | ||
custom: | ||
Author: ramonvermeulen | ||
Issue: "3990" |
This file contains 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 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 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 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.
Question: Should we add support for more than just
delimiter
here? Any/all**kwargs
supported byagate.from_csv
/ Python's stdlib CSV reader?Thoughts:
agate
(which I don't love), or at least the Python stdlibcsv
reader (which I don't mind as much)