Skip to content

add new check for 'Prefer INSERT INTO TABLE to APPEND TO' #623

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
merged 9 commits into from
Nov 29, 2024
Merged

add new check for 'Prefer INSERT INTO TABLE to APPEND TO' #623

merged 9 commits into from
Nov 29, 2024

Conversation

00500500
Copy link
Contributor

@00500500 00500500 requested a review from a team as a code owner November 11, 2024 08:42
Copy link

cla-assistant bot commented Nov 11, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@bjoern-jueliger-sap bjoern-jueliger-sap 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!

The current implementation/documentation looks fine, but the check should probably not emit findings for the special case of APPEND ... SORTED BY ... statements (cf. ABAP keyword documentation) since the special behaviour of the SORTED BY addition cannot be emulated with an INSERT statement.

Could we add that the finding is suppressed if a SORTED BY addition is present?

00500500 and others added 3 commits November 28, 2024 14:02
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
@bjoern-jueliger-sap bjoern-jueliger-sap merged commit a3fa5fc into SAP:master Nov 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants