chess3cake opened a new issue, #7137:
URL: https://github.com/apache/seatunnel/issues/7137

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   If doris-sink in zeta-engine set `needs_unsupported_type_casting = 
"true"`,the DorisSinkWriter will use UnsupportedTypeConverterUtils to convert 
the types. But the method convertRow() ignore the row information.The return 
row's kind is always INSERT!
   
   
![image](https://github.com/apache/seatunnel/assets/38080653/bfe024d8-795b-40bb-a539-ca85fd16ec25)
   
   
   
![image](https://github.com/apache/seatunnel/assets/38080653/ea6b3f90-ffe3-499b-ad0b-594845f3be8c)
   
   
   
   
   ### SeaTunnel Version
   
   2.3.5
   
   ### SeaTunnel Config
   
   ```conf
   sink {
     Doris {
   
       fenodes = ""
       username =
       password = ""
       database = "${schema_name}"
       table = "${table_name}"
       sink.enable-2pc = "false"
       sink.label-prefix = "base_"
       sink.enable-delete = "true"
       needs_unsupported_type_casting = "true"
       doris.config = {
           format="json"
           read_json_by_line="true"
       }
     
     }
   
   }
   ```
   
   
   ### Running Command
   
   ```shell
   seatunnel.sh --config config
   ```
   
   
   ### Error Exception
   
   ```log
   All rows'kinds are Insert
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   Zeta 2.3.5
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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