Skip to content

CAMEL-19216: camel-kudu - add predicate support to the scan operation#9672

Merged
davsclaus merged 2 commits into
apache:mainfrom
sekikn:CAMEL-19216
Mar 29, 2023
Merged

CAMEL-19216: camel-kudu - add predicate support to the scan operation#9672
davsclaus merged 2 commits into
apache:mainfrom
sekikn:CAMEL-19216

Conversation

@sekikn
Copy link
Copy Markdown
Contributor

@sekikn sekikn commented Mar 29, 2023

Description

Currently, the scan operation of the Kudu producer scans entire table and sets the whole results to the message body, but it's inefficient or not practical if the table is large. This PR adds predicate support to the scan operation so that users can filter the results.

Target

  • I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.

  • I formatted the code using mvn -Pformat,fastinstall install && mvn -Psourcecheck

Currently, the scan operation of the Kudu producer scans
entire table and sets the whole results to the message body,
but it's inefficient or not practical if the table is large.
This PR adds predicate support to the scan operation
so that users can filter the results.
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

⚠️ Please note that the changes on this PR may be tested automatically.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

Copy link
Copy Markdown
Contributor

@orpiske orpiske left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution. I added a small suggestion to make things easier for us.

@github-actions
Copy link
Copy Markdown
Contributor

Components tested:

Total Tested Failed ❌ Passed ✅
1 1 0 1

@github-actions
Copy link
Copy Markdown
Contributor

Components tested:

Total Tested Failed ❌ Passed ✅
1 1 0 1

@davsclaus davsclaus merged commit 29a9c48 into apache:main Mar 29, 2023
davsclaus pushed a commit that referenced this pull request Mar 29, 2023
…#9672)

* CAMEL-19216: camel-kudu - add predicate support to the scan operation

Currently, the scan operation of the Kudu producer scans
entire table and sets the whole results to the message body,
but it's inefficient or not practical if the table is large.
This PR adds predicate support to the scan operation
so that users can filter the results.

* Add error message to assertEquals as a parameter instead of comment
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.

4 participants