[ 
https://issues.apache.org/jira/browse/HIVE-25010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347719#comment-17347719
 ] 

Stamatis Zampetakis commented on HIVE-25010:
--------------------------------------------

I tried running the tests for this driver locally using the following command, 
which usually works fine with other CliDriver tests, but I got some weird 
failures as the one shown below.
{code:sh}
cd itests/qtest
mvn test -Dtest=TestIcebergCliDriver -Dtest.output.overwrite
{code}
The exception that I got was the following: 
{noformat}
org.apache.hive.iceberg.org.apache.iceberg.exceptions.NoSuchIcebergTableException
{noformat}

It turns out that in order to run the Iceberg tests the project needs to be 
compiled with the iceberg profile enabled.

{code:sh}
mvn clean install -DskipTests -Pitests,iceberg
{code}

Failing to include the iceberg profile in the compilation can lead to more 
problems since old versions of the iceberg module may be mixed with current 
compiled SNAPSHOTS and make the problem harder to debug.

> Create TestIcebergCliDriver and TestIcebergNegativeCliDriver
> ------------------------------------------------------------
>
>                 Key: HIVE-25010
>                 URL: https://issues.apache.org/jira/browse/HIVE-25010
>             Project: Hive
>          Issue Type: Test
>            Reporter: László Pintér
>            Assignee: László Pintér
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> We should create iceberg specific drivers to run iceberg qtests.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to