Skip to content

Commit 3318b48

Browse files
committed
fix comment format
1 parent 375106d commit 3318b48

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

fluss-flink/fluss-flink-2.2/src/test/java/org/apache/fluss/flink/source/Flink22TableSourceITCase.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ public class Flink22TableSourceITCase extends FlinkTableSourceITCase {
3939

4040
@Test
4141
void testDeltaJoin() throws Exception {
42-
// start two jobs for this test: one for DML involving the delta join, and the
43-
// other for DQL
42+
// start two jobs for this test: one for DML involving the delta join, and the other for DQL
4443
// to query the results of the sink table
4544
tEnv.getConfig().set(ExecutionConfigOptions.TABLE_EXEC_RESOURCE_DEFAULT_PARALLELISM, 2);
4645

@@ -148,8 +147,7 @@ void testDeltaJoin() throws Exception {
148147

149148
@Test
150149
void testDeltaJoinWithProjectionAndFilter() throws Exception {
151-
// start two jobs for this test: one for DML involving the delta join, and the
152-
// other for DQL
150+
// start two jobs for this test: one for DML involving the delta join, and the other for DQL
153151
// to query the results of the sink table
154152
tEnv.getConfig().set(ExecutionConfigOptions.TABLE_EXEC_RESOURCE_DEFAULT_PARALLELISM, 2);
155153

fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/catalog/FlinkCatalog.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,8 +828,7 @@ private CatalogTable wrapWithIndexes(CatalogTable table, TableInfo tableInfo) {
828828

829829
// Judge whether we can do prefix lookup.
830830
List<String> bucketKeys = tableInfo.getBucketKeys();
831-
// For partition table, the physical primary key is the primary key that
832-
// excludes the
831+
// For partition table, the physical primary key is the primary key that excludes the
833832
// partition key
834833
List<String> physicalPrimaryKeys = tableInfo.getPhysicalPrimaryKeys();
835834
List<String> indexKeys = new ArrayList<>();

fluss-flink/fluss-flink-common/src/main/java/org/apache/fluss/flink/sink/FlinkSink.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ public AppendSinkWriter<InputT> createWriter(MailboxExecutor mailboxExecutor) {
124124

125125
@Override
126126
public DataStream<InputT> addPreWriteTopology(DataStream<InputT> input) {
127-
// For append only sink, we will do bucket shuffle only if bucket keys are not
128-
// empty.
127+
// For append only sink, we will do bucket shuffle only if bucket keys are not empty.
129128
if (!bucketKeys.isEmpty() && shuffleByBucketId) {
130129
return partition(
131130
input,

fluss-flink/fluss-flink-common/src/test/java/org/apache/fluss/flink/catalog/FlinkCatalogTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,7 @@ void testCreateAlreadyExistsLakeTable() throws Exception {
332332
// drop fluss table
333333
catalog.dropTable(lakeTablePath, false);
334334
assertThat(catalog.tableExists(lakeTablePath)).isFalse();
335-
// create the table again should be ok, because the existing lake table is
336-
// matched
335+
// create the table again should be ok, because the existing lake table is matched
337336
catalog.createTable(lakeTablePath, table, false);
338337
}
339338

@@ -847,7 +846,7 @@ void testConnectionFailureHandling() {
847846

848847
@Test
849848
void testStatisticsOperations() throws Exception {
850-
// Statistics testing
849+
// Statistics testing
851850
CatalogTable table = newCatalogTable(Collections.emptyMap());
852851
ObjectPath tablePath = new ObjectPath(DEFAULT_DB, "statsTable");
853852
catalog.createTable(tablePath, table, false);

0 commit comments

Comments
 (0)