Skip to content

[CsvIO] Changed CsvIOParseConfiguration to include DLQ#31852

Merged
Abacn merged 5 commits intoapache:masterfrom
lahariguduru:csv-parse-configuration
Jul 12, 2024
Merged

[CsvIO] Changed CsvIOParseConfiguration to include DLQ#31852
Abacn merged 5 commits intoapache:masterfrom
lahariguduru:csv-parse-configuration

Conversation

@lahariguduru
Copy link
Copy Markdown
Contributor

Thic PR closes #31851. Previously using a CsvIOError class to output errors, and now using DLQ.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@github-actions
Copy link
Copy Markdown
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @Abacn for label java.
R: @johnjcasey for label io.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

private static class BadRecordTransformFn extends DoFn<BadRecord, BadRecord> {
@ProcessElement
public void process(@Element BadRecord input, OutputReceiver<BadRecord> receiver) {
System.out.println(input);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove System.out.println

Copy link
Copy Markdown
Contributor Author

@lahariguduru lahariguduru Jul 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, removed System.out.println

@lahariguduru lahariguduru requested a review from Abacn July 11, 2024 21:19
@Abacn Abacn merged commit eb59788 into apache:master Jul 12, 2024
acrites pushed a commit to acrites/beam that referenced this pull request Jul 17, 2024
* Create CsvIOParseConfiguration class

* Altered CsvIOParseConfiguration class to include Dead Letter Queue messages

* Altered CsvIOParseConfiguration class to allow for Dead Letter Queue processing

* removed System.out.println(input)

---------

Co-authored-by: Lahari Guduru <lahariguduru@google.com>
reeba212 pushed a commit to reeba212/beam that referenced this pull request Dec 4, 2024
* Create CsvIOParseConfiguration class

* Altered CsvIOParseConfiguration class to include Dead Letter Queue messages

* Altered CsvIOParseConfiguration class to allow for Dead Letter Queue processing

* removed System.out.println(input)

---------

Co-authored-by: Lahari Guduru <lahariguduru@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CsvIO]: Change CsvIOParseConfiguration to allow for DLQ output of Errors

2 participants