You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "wg1026688210 (via GitHub)" <gi...@apache.org> on 2023/06/06 07:41:32 UTC

[GitHub] [incubator-paimon] wg1026688210 opened a new issue, #1322: [Feature] Support Column Default Value

wg1026688210 opened a new issue, #1322:
URL: https://github.com/apache/incubator-paimon/issues/1322

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.
   
   
   ### Motivation
   
   In some partial update scenarios, users expect table column defaults to not be null. For example, a table with three fields: is_click, is_sight, is_comment. Two data entries are received: 1,null,null and null,null,1. The expected result is 1,0,1.
   
   ### Solution
   
   we can add default value `xxx` at schema, and convert null to `xxx` when reading , As mentioned above, the final data  1,null,1 will be converted to 1,0,1.
   
   ### Anything else?
   
   I'm willing to submit a PR
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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: issues-unsubscribe@paimon.apache.org.apache.org

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


[GitHub] [incubator-paimon] wg1026688210 commented on issue #1322: [Feature] Support Column Default Value

Posted by "wg1026688210 (via GitHub)" <gi...@apache.org>.
wg1026688210 commented on issue #1322:
URL: https://github.com/apache/incubator-paimon/issues/1322#issuecomment-1578101878

   I'm willing to submit a PR


-- 
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: issues-unsubscribe@paimon.apache.org

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


[GitHub] [incubator-paimon] JingsongLi closed issue #1322: [Feature] Support Default Column Value

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #1322: [Feature] Support Default Column  Value
URL: https://github.com/apache/incubator-paimon/issues/1322


-- 
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: issues-unsubscribe@paimon.apache.org

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