Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Seatunnel-web][Hive] Hive data source is not appearing in UI during the configuration of the Hive source. #211

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ connector-datasource-mapper:
dataSources:
- Console

Hive:
dataSources:
- Hive

sourceDatasourceFeatures:
JDBC-Mysql:
businessMode:
Expand Down Expand Up @@ -156,6 +160,12 @@ connector-datasource-mapper:
- SINGLE_TABLE
- MULTIPLE_TABLE

Hive:
businessMode:
- DATA_INTEGRATION
sceneMode:
- SINGLE_TABLE
- MULTIPLE_TABLE
sinkDatasourceFeatures:
JDBC-Mysql:
businessMode:
Expand Down Expand Up @@ -247,4 +257,10 @@ connector-datasource-mapper:
- DATA_REPLICA
sceneMode:
- SINGLE_TABLE
- MULTIPLE_TABLE
- MULTIPLE_TABLE

Hive:
businessMode:
- DATA_INTEGRATION
sceneMode:
- SINGLE_TABLE
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import org.apache.seatunnel.app.domain.request.job.JobExecParam;
import org.apache.seatunnel.server.common.SeatunnelException;

import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.Test;

import java.util.HashMap;
Expand Down Expand Up @@ -87,9 +86,7 @@ public void testReplaceJobConfigPlaceholders_NoDefaultValueThrowsException() {

assertThrows(
SeatunnelException.class,
() -> {
JobUtils.replaceJobConfigPlaceholders(jobConfigContent, jobExecParam);
});
() -> JobUtils.replaceJobConfigPlaceholders(jobConfigContent, jobExecParam));
}

@Test
Expand All @@ -112,7 +109,7 @@ public void testParseConfigWithPlaceHolders() {
assertNotNull(config);
}

private static @NotNull JobExecParam getJobExecParam(Map<String, String> paramValues) {
private JobExecParam getJobExecParam(Map<String, String> paramValues) {
JobExecParam jobExecParam = new JobExecParam();
jobExecParam.setPlaceholderValues(paramValues);
return jobExecParam;
Expand Down
Loading