You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/operations/SqlToOperationConverter.java
Copy file name to clipboardExpand all lines: flink-table/flink-table-planner-blink/src/test/java/org/apache/flink/table/planner/operations/SqlToOperationConverterTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -473,7 +473,7 @@ public void testCreateTableWithPrimaryKeyEnforced() {
473
473
thrown.expect(ValidationException.class);
474
474
thrown.expectMessage(
475
475
"Flink doesn't support ENFORCED mode for PRIMARY KEY "
476
-
+ "constaint. ENFORCED/NOT ENFORCED controls if the constraint "
476
+
+ "constraint. ENFORCED/NOT ENFORCED controls if the constraint "
477
477
+ "checks are performed on the incoming/outgoing data. "
478
478
+ "Flink does not own the data therefore the only supported mode is the NOT ENFORCED mode");
479
479
parse(sql, planner, parser);
@@ -1230,7 +1230,7 @@ public void testAlterTableAddPkConstraintEnforced() throws Exception {
1230
1230
// Test alter table add enforced
1231
1231
thrown.expect(ValidationException.class);
1232
1232
thrown.expectMessage(
1233
-
"Flink doesn't support ENFORCED mode for PRIMARY KEY constaint. "
1233
+
"Flink doesn't support ENFORCED mode for PRIMARY KEY constraint. "
1234
1234
+ "ENFORCED/NOT ENFORCED controls if the constraint checks are performed on the "
1235
1235
+ "incoming/outgoing data. Flink does not own the data therefore the "
1236
1236
+ "only supported mode is the NOT ENFORCED mode");
0 commit comments