You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/07/08 10:54:00 UTC

[jira] [Updated] (HIVE-26441) Add DatabaseAccessor unit tests for all methods and supported DBMS

     [ https://issues.apache.org/jira/browse/HIVE-26441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HIVE-26441:
----------------------------------
    Labels: newbie pull-request-available  (was: newbie)

> Add DatabaseAccessor unit tests for all methods and supported DBMS
> ------------------------------------------------------------------
>
>                 Key: HIVE-26441
>                 URL: https://issues.apache.org/jira/browse/HIVE-26441
>             Project: Hive
>          Issue Type: Test
>          Components: JDBC storage handler
>            Reporter: Stamatis Zampetakis
>            Assignee: Hemanth Umashankar
>            Priority: Major
>              Labels: newbie, pull-request-available
>
> The [DatabaseAccessor|https://github.com/apache/hive/blob/9909edee8dad841e15fc36df81a2316bcb381bc3/jdbc-handler/src/main/java/org/apache/hive/storage/jdbc/dao/DatabaseAccessor.java] interface provides various APIs and has multiple concrete implementations one for each supported DBMS.
> There are a few end-to-end tests for JDBC storage handler (see [relevant|https://github.com/search?q=repo%3Aapache%2Fhive+filename%3A*jdbc*.q+extension%3Aq+filename%3A*jdbc*&type=Code] qfiles) and also a few unit tests ([TestGenericJdbcDatabaseAccessor|https://github.com/apache/hive/blob/9909edee8dad841e15fc36df81a2316bcb381bc3/jdbc-handler/src/test/java/org/apache/hive/storage/jdbc/dao/TestGenericJdbcDatabaseAccessor.java]) but we do not have enough coverage.
> Ideally we should have unit tests for each method present in the top level interface and for each supported DBMS. The goal of this JIRA is to add more unit tests, similar to what {{TestGenericJdbcDatabaseAccessor}} is doing, covering more methods, use-cases, and DBMS.
> The scope of this JIRA can get quite big so it makes sense to create additional sub-tasks for addressing specific cases.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)