liunaijie commented on code in PR #6082:
URL: https://github.com/apache/seatunnel/pull/6082#discussion_r1439223872


##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-kafka-e2e/src/test/resources/avro/kafka_avro_to_assert.conf:
##########
@@ -82,7 +82,21 @@ sink {
                 rule_value = 99
               }
             ]
-          }
+          },
+          {
+           field_name = c_string
+           field_type = string
+           field_value = [
+            {
+              rule_type = MIN_LENGTH
+              rule_value = 6
+            },
+            {
+              rule_type = MAX_LENGTH
+              rule_value = 6
+            }
+          ]
+         }

Review Comment:
   Hi @zhilinli123  I update the code. 
   In this update, it can verify all field value and type. also can test the 
serialize (ST row -> Avro Generic Record -> bytes ) and deserialize (bytes -> 
Avro Generic Record -> ST Row ). I think this test can cover this feature.
   
   
   
   



-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to