-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] #136
Comments
我理解Doirs Schema Not Null是一种约束,约定当前字段非null,如果插入数据为null,说明这是一条错误数据。不应该如你所说,将其转化成默认值。 |
我也遇到了相同的问题,stream load 写入 json 格式数据的时候,定义为 NOT NULL 的列会报错,但是在导入 parquet 格式文件的时候会自动填充默认值,两种格式的源文件导入语义没对齐。 |
This PR may help you: apache/doris#20078 |
I had the same problem. |
Does this pr apache/doris#20624 solve your problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
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?
Code of Conduct
The text was updated successfully, but these errors were encountered: