beryllw commented on code in PR #2573:
URL: https://github.com/apache/fluss/pull/2573#discussion_r2766600945


##########
fluss-client/src/test/java/org/apache/fluss/client/table/FlussTableITCase.java:
##########
@@ -633,6 +633,84 @@ void testPutAutoIncrementColumnAndLookup() throws 
Exception {
         verifyRecords(expectedRecords, autoIncTable, schema);
     }
 
+    @Test
+    void testLookupWithInsertIfNotExists() throws Exception {
+        TablePath tablePath = TablePath.of("test_db_1", 
"test_invalid_lookup_with_insert_table");
+        Schema schema =
+                Schema.newBuilder()
+                        .column("a", DataTypes.INT())
+                        .withComment("a is first column")
+                        .column("b", DataTypes.INT())
+                        .withComment("b is second column")
+                        .primaryKey("b")
+                        .column("c", DataTypes.STRING())
+                        .enableAutoIncrement("a")
+                        .build();
+        TableDescriptor tableDescriptor = 
TableDescriptor.builder().schema(schema).build();
+        createTable(tablePath, tableDescriptor, false);
+        Table invalid_table = conn.getTable(tablePath);

Review Comment:
   Error:  
src/test/java/org/apache/fluss/client/table/FlussTableITCase.java:[651,15] 
(naming) LocalVariableName: Name 'invalid_table' must match pattern 
'^[a-z][a-zA-Z0-9]*$'.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to