You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "JNSimba (via GitHub)" <gi...@apache.org> on 2026/03/19 07:50:37 UTC

[PR] [Improve] support flex column update for flink sql [doris-flink-connector]

JNSimba opened a new pull request, #646:
URL: https://github.com/apache/doris-flink-connector/pull/646

   # Proposed changes
   
   Support flex column update for flink sql
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   


-- 
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-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Improve] support flex column update for flink sql [doris-flink-connector]

Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba closed pull request #646: [Improve] support flex column update for flink sql
URL: https://github.com/apache/doris-flink-connector/pull/646


-- 
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-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [Improve] support flex column update for flink sql [doris-flink-connector]

Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba commented on PR #646:
URL: https://github.com/apache/doris-flink-connector/pull/646#issuecomment-4088965112

   In FlinkSQL scenarios, when concatenating RowData, it's essential to adhere to the Flink table's schema. For example, if the Flink schema is [id, a, b, c, d], even if the upstream only sends id and a, the RowData will still be concatenated according to the schema, resulting in displayed concatenations of c=null and d=null. This would then modify the data in c and d.
   
   However, if the Flink schema only defines id and a, then partial column updates can achieve the desired result.
   
   But if the upstream might send [id, a], [id, b], [id, c], then you must use DataStream's SimpleStringSerializer to write the data in JSON format.
   
   Furthermore, it's crucial to ensure that the columns passed from the upstream are truly only these few columns. For instance, it's uncertain whether FlinkSQL or Kafka will add null columns to align with the source schema.


-- 
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-unsubscribe@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org