-
Notifications
You must be signed in to change notification settings - Fork 544
feat!: Add ability to override CSV File options (headers and delimiters) #6958
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
Conversation
candiduslynx
left a comment
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.
I wonder if we could also add CLRF support to the csv plugin, as encoding/csv.Writer supports it, too. (Bound to another PR).
yevgenypats
left a comment
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.
I think we should somehow export this default spec to filetypes library as it will be used in all "file" plugins
Co-authored-by: Erez Rokah <[email protected]> Co-authored-by: Herman Schaaf <[email protected]>
Co-authored-by: Herman Schaaf <[email protected]>
|
Docs wise (e.g. checking here) I don't think |
Can we handle this in a follow up PR? |
🤖 I have created a release *beep* *boop* --- ## [2.0.0](plugins-destination-gcs-v1.0.6...plugins-destination-gcs-v2.0.0) (2023-01-31) ### ⚠ BREAKING CHANGES * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ### Features * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ([d03819c](d03819c)) ### Bug Fixes * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.29.0 ([#7121](#7121)) ([b7441c9](b7441c9)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.30.0 ([#7222](#7222)) ([73ca21c](73ca21c)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.31.0 ([#7228](#7228)) ([36e8549](36e8549)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.32.0 ([#7334](#7334)) ([b684122](b684122)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.0.0](plugins-destination-s3-v1.1.1...plugins-destination-s3-v2.0.0) (2023-01-31) ### ⚠ BREAKING CHANGES * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) * **s3:** Clean inputs ([#7116](#7116)) ### Features * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ([d03819c](d03819c)) ### Bug Fixes * **deps:** Update module github.com/aws/aws-sdk-go-v2/feature/s3/manager to v1.11.49 ([#7309](#7309)) ([16da39d](16da39d)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.29.0 ([#7121](#7121)) ([b7441c9](b7441c9)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.30.0 ([#7222](#7222)) ([73ca21c](73ca21c)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.31.0 ([#7228](#7228)) ([36e8549](36e8549)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.32.0 ([#7334](#7334)) ([b684122](b684122)) * **s3:** Clean inputs ([#7116](#7116)) ([0132fb4](0132fb4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.0.0](plugins-destination-azblob-v1.0.5...plugins-destination-azblob-v2.0.0) (2023-01-31) ### ⚠ BREAKING CHANGES * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ### Features * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ([d03819c](d03819c)) ### Bug Fixes * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.29.0 ([#7121](#7121)) ([b7441c9](b7441c9)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.30.0 ([#7222](#7222)) ([73ca21c](73ca21c)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.31.0 ([#7228](#7228)) ([36e8549](36e8549)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.32.0 ([#7334](#7334)) ([b684122](b684122)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [2.0.0](plugins-destination-kafka-v1.0.4...plugins-destination-kafka-v2.0.0) (2023-01-31) ### ⚠ BREAKING CHANGES * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ### Features * Add ability to override CSV File options (headers and delimiters) ([#6958](#6958)) ([d03819c](d03819c)) ### Bug Fixes * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.29.0 ([#7121](#7121)) ([b7441c9](b7441c9)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.30.0 ([#7222](#7222)) ([73ca21c](73ca21c)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.31.0 ([#7228](#7228)) ([36e8549](36e8549)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.32.0 ([#7334](#7334)) ([b684122](b684122)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
Users can now use the following options to change the destination behavior:
skip_header: default isfalsewhich will mean the the first row will be the column headersdelimiter: default value is,but user can specify any single charactercloses #6795
closes #6797
closes #6796