-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Fix][JDBC] Fix starrocks jdbc dialect catalog conflict with starrocks connector #7578
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,13 @@ | |
|
||
import org.apache.seatunnel.api.table.catalog.TablePath; | ||
import org.apache.seatunnel.api.table.type.SeaTunnelRow; | ||
import org.apache.seatunnel.e2e.common.container.TestContainer; | ||
import org.apache.seatunnel.e2e.common.container.TestContainerId; | ||
|
||
import org.apache.commons.lang3.tuple.Pair; | ||
|
||
import org.junit.jupiter.api.Assertions; | ||
import org.testcontainers.containers.Container; | ||
import org.testcontainers.containers.GenericContainer; | ||
import org.testcontainers.containers.output.Slf4jLogConsumer; | ||
import org.testcontainers.utility.DockerLoggerFactory; | ||
|
@@ -111,7 +115,12 @@ JdbcCase getJdbcCase() { | |
} | ||
|
||
@Override | ||
void compareResult(String executeKey) {} | ||
void checkResult(String executeKey, TestContainer container, Container.ExecResult execResult) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please revert There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
if (container.identifier().equals(TestContainerId.SEATUNNEL)) { | ||
Assertions.assertTrue( | ||
execResult.getStdout().contains("Loading catalog tables for catalog")); | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i run some test, find the stdout and container log is different on different engine and version. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. when has this log related log location: |
||
} | ||
|
||
@Override | ||
String driverUrl() { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add more parameter to help check log.
and delete the abstract keyword, the implement class only need implement it when necessary.