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

[GitHub] [doris-flink-connector] victoyzz opened a new issue, #136: [Bug]

victoyzz opened a new issue, #136:
URL: https://github.com/apache/doris-flink-connector/issues/136

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   doris ,1.2.4
   flink ,1.1.4
   flink-doris-connect , 1.1.1
   
   
   
   ### What's Wrong?
   
   flink写doris,报错:Reason: column(xxx) values is null while columns is not nullable
   
   UNIQUE 模型。xxx字段列 :NOT NULL DEFAULT '1' 。已经指定了not null后的默认值。
   
   当插入的字段值为null,为何不生效默认值?而是直接报错了。
   
   ### What You Expected?
   
   当插入的字段值为null,为何不生效默认值?而是直接报错了。
   期望: 不报错,且not null后指定的默认值生效。
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _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: commits-unsubscribe@doris.apache.org.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


[GitHub] [doris-flink-connector] zhouhaihong commented on issue #136: [Bug]

Posted by "zhouhaihong (via GitHub)" <gi...@apache.org>.
zhouhaihong commented on issue #136:
URL: https://github.com/apache/doris-flink-connector/issues/136#issuecomment-1590852276

   > 
   
   I had the same problem.


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


[GitHub] [doris-flink-connector] DarvenDuan commented on issue #136: [Bug]

Posted by "DarvenDuan (via GitHub)" <gi...@apache.org>.
DarvenDuan commented on issue #136:
URL: https://github.com/apache/doris-flink-connector/issues/136#issuecomment-1547114367

   我也遇到了相同的问题,stream load 写入 json 格式数据的时候,定义为 NOT NULL 的列会报错,但是在导入 parquet 格式文件的时候会自动填充默认值,两种格式的源文件导入语义没对齐。


-- 
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: [I] [Bug] [doris-flink-connector]

Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba commented on issue #136:
URL: https://github.com/apache/doris-flink-connector/issues/136#issuecomment-2222106767

   Does this pr https://github.com/apache/doris/pull/20624 solve your problem? 


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


[GitHub] [doris-flink-connector] big-doudou commented on issue #136: [Bug]

Posted by "big-doudou (via GitHub)" <gi...@apache.org>.
big-doudou commented on issue #136:
URL: https://github.com/apache/doris-flink-connector/issues/136#issuecomment-1539739842

   我理解Doirs Schema Not Null是一种约束,约定当前字段非null,如果插入数据为null,说明这是一条错误数据。不应该


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


[GitHub] [doris-flink-connector] DarvenDuan commented on issue #136: [Bug]

Posted by "DarvenDuan (via GitHub)" <gi...@apache.org>.
DarvenDuan commented on issue #136:
URL: https://github.com/apache/doris-flink-connector/issues/136#issuecomment-1563771926

   This PR may help you: https://github.com/apache/doris/pull/20078
   


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