Skip to content

HIVE-26441: Expand GenericJdbcDatabaseAccessor unit test coverage#6587

Open
hemanthumashankar0511 wants to merge 6 commits into
apache:masterfrom
hemanthumashankar0511:database_accessor_unit_tests
Open

HIVE-26441: Expand GenericJdbcDatabaseAccessor unit test coverage#6587
hemanthumashankar0511 wants to merge 6 commits into
apache:masterfrom
hemanthumashankar0511:database_accessor_unit_tests

Conversation

@hemanthumashankar0511

@hemanthumashankar0511 hemanthumashankar0511 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Adds JDBC DatabaseAccessor unit and integration tests in TestGenericJdbcDatabaseAccessor and TestDatabaseAccessorByDatabaseType, plus test_script.sql fixture data, covering dialect SQL generation, factory routing, boundary queries, Hive column stripping, and H2 smoke tests across database types.

Why are the changes needed?

To improve DatabaseAccessor test coverage for GenericJdbcDatabaseAccessor as part of HIVE-26441.

Does this PR introduce any user-facing change?

No

How was this patch tested?

mvn test -pl jdbc-handler -Dtest=TestGenericJdbcDatabaseAccessor,TestDatabaseAccessorByDatabaseType

@hemanthumashankar0511 hemanthumashankar0511 marked this pull request as draft July 10, 2026 10:39
@hemanthumashankar0511 hemanthumashankar0511 changed the title HIVE-26441: Expand GenericJdbcDatabaseAccessor unit test coverage [WIP]HIVE-26441: Expand GenericJdbcDatabaseAccessor unit test coverage Jul 10, 2026
@sonarqubecloud

Copy link
Copy Markdown

@hemanthumashankar0511 hemanthumashankar0511 marked this pull request as ready for review July 13, 2026 07:51
@hemanthumashankar0511 hemanthumashankar0511 changed the title [WIP]HIVE-26441: Expand GenericJdbcDatabaseAccessor unit test coverage HIVE-26441: Expand GenericJdbcDatabaseAccessor unit test coverage Jul 13, 2026
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.

2 participants