Skip to content

Issue #8777: Fix false positive result on error and populate schema in Action Truncate tables - #8778

Open
samuelwillyanto1 wants to merge 1 commit into
apache:mainfrom
samuelwillyanto1:issue-8777
Open

samuelwillyanto1 wants to merge 1 commit into
apache:mainfrom
samuelwillyanto1:issue-8777

Conversation

@samuelwillyanto1

Copy link
Copy Markdown
Contributor

Fixes #8777

Description

  1. Fixes false positive result: calls updateErrors() on database connection failure and execution error so result.setResult(false) and nrErrors > 0.
  2. Auto-populates both table and schema names in ActionTruncateTablesDialog when fetching table names, and validates database connection before querying.
image
  1. Implements check(...) to warn when no tables are selected for truncation.
image

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

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

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.

[Bug]: Action Truncate tables reports success (result=[true]) on missing connection or execution failure

1 participant