[ 
https://issues.apache.org/jira/browse/FLINK-20701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272606#comment-17272606
 ] 

Jark Wu commented on FLINK-20701:
---------------------------------

I don't think this is a good motivation to add this feature. Because

1. SerializationSchema should be able to be tested in unit tests without 
connectors, you can check all the format implementations, they all have unit 
tests. 
2. Besides, I don't think supporting this feature in print connector can solve 
your problem, because some serialization bytes are not human-readable, e.g. pb, 
avro. How to show the result in print? 
3. If we support this in print connector for SerializationSchema, how to test 
DeserializationSchema then?


> print connector supports outputting seriailzed record
> -----------------------------------------------------
>
>                 Key: FLINK-20701
>                 URL: https://issues.apache.org/jira/browse/FLINK-20701
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Ecosystem
>    Affects Versions: 1.13.0
>            Reporter: zoucao
>            Priority: Major
>
> Hi all, print connector is designed for debugging,and it gives us better 
> access to data. If I want to debug source connector and SQL statement, I will 
> use it to print the result. However, I don't have a good choice to observe 
> the seriailzed record, which will be sent to external connector when 
> debugging. Consequently, we 'd better make print connetcor support outputting 
> seriailzed record. We can use format=XXX to identify a seriailzed schema, 
> help user to debug and understand the process of serialization.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to