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


##########
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:
   > assert sink can't do some equal check, so i add the data check [in 
code](https://github.com/apache/seatunnel/pull/6082/files#diff-5066134a42342f0962a0d21bce0ec987a077faf189d92cf0854f516f90a8ad21R418)
   
   But you can write it to a database such as pg and then read it to make sure 
the input and output are consistent,The type is only one aspect of the test and 
we must make sure that the data values are exactly the same
   



-- 
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