-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d1afb8
commit 44d2b01
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHive4OnDataLake.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.trino.plugin.hive; | ||
|
||
import io.trino.plugin.hive.containers.Hive4MinioDataLake; | ||
import io.trino.plugin.hive.containers.HiveMinioDataLake; | ||
import org.junit.jupiter.api.Test; | ||
import org.junit.jupiter.api.TestInstance; | ||
import org.junit.jupiter.api.parallel.Execution; | ||
import org.junit.jupiter.api.parallel.ExecutionMode; | ||
|
||
import static org.junit.jupiter.api.Assumptions.abort; | ||
import static org.junit.jupiter.api.TestInstance.Lifecycle.PER_CLASS; | ||
|
||
@TestInstance(PER_CLASS) | ||
@Execution(ExecutionMode.SAME_THREAD) // TODO Make custom hive4 image to support running queries concurrently | ||
class TestHive4OnDataLake | ||
extends BaseTestHiveOnDataLake | ||
{ | ||
@Override | ||
protected HiveMinioDataLake hiveMinioDataLake() | ||
{ | ||
return new Hive4MinioDataLake(bucketName); | ||
} | ||
|
||
@Override | ||
@Test | ||
public void testSyncPartitionOnBucketRoot() | ||
{ | ||
abort("https://github.com/trinodb/trino/issues/24453"); | ||
} | ||
|
||
@Override | ||
@Test | ||
public void testUnpartitionedTableExternalLocationOnTopOfTheBucket() | ||
{ | ||
abort("https://github.com/trinodb/trino/issues/24453"); | ||
} | ||
|
||
@Override | ||
@Test | ||
public void testPartitionedTableExternalLocationOnTopOfTheBucket() | ||
{ | ||
abort("https://github.com/trinodb/trino/issues/24453"); | ||
} | ||
|
||
@Override | ||
@Test | ||
public void testInsertOverwritePartitionedAndBucketedAcidTable() | ||
{ | ||
abort("https://github.com/trinodb/trino/issues/24454"); | ||
} | ||
} |