-
Notifications
You must be signed in to change notification settings - Fork 392
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
[#6361] feat(paimon):Support specifying primary keys during create paimon table by flink #6362
base: main
Are you sure you want to change the base?
Conversation
…ate paimon table by flink
…ate paimon table by flink
…ate paimon table by flink
@@ -280,6 +281,69 @@ public void testCreateSimpleTable() { | |||
supportDropCascade()); | |||
} | |||
|
|||
@Test | |||
@EnabledIf("supportTableOperation") | |||
public void testCreateTableWithPrimaryKey() { |
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.
I'm afraid Hive or Iceberg doesn't support Specifying Primary key. maybe we could move this test to Paimon IT only.
server/build.gradle.kts
Outdated
@@ -28,6 +28,7 @@ dependencies { | |||
implementation(project(":common")) | |||
implementation(project(":core")) | |||
implementation(project(":server-common")) | |||
implementation(libs.mysql.driver) |
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.
please remove this, Gravitino server doesn't rely on mysql.
What changes were proposed in this pull request?
Support specifying primary keys during create paimon table by flink
Why are the changes needed?
Fix: #6361
Does this PR introduce any user-facing change?
None
How was this patch tested?
Add testCreateTableWithPrimaryKey case in org.apache.gravitino.flink.connector.integration.test.FlinkCommonIT