Skip to content

Add More Actions in ClickHouse StatementExecutor to Populate Tables #1216

@JaySoni1

Description

@JaySoni1

Currently, the StatementExecutor in the ClickHouse implementation only uses the default Action.values(), which may not sufficiently populate the database tables with meaningful data. This limits the generation of diverse and realistic SQL queries during testing.

Image

Proposed Changes :-
Replaces Action.values() with specific actions.
Now uses: Action[]{Action.INSERT, Action.UPDATE, Action.DELETE}.
These actions explicitly populate the database with meaningful data.
Improves test reliability.
Ensures that tables are not empty during query execution.
Avoids unnecessary triggering of IgnoreMeException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions