Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3.9k
Change strategy of incorrect data#1237
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # be ������˵�� | ||
| ## enable load strict ����˵�� | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 把这个变成一个session variable吧。这样用户能够明确的感知自己行为的确定性。如果只是在BE上进行配置,用户在不同集群中的行为不一致,会让他们产生困惑 | ||
| be ����������һ������ enable_load_strict �����������е��뷽ʽ������ת����������������ݣ��Ƿ��ϸ� filter�� | ||
| enable load strict ����ֻ�Ե����е�����ת����Ч����������ת����˵����� enable_load_strict Ϊtrue�����������ݽ���filter�� | ||
| ���ڵ����ij�а��������任�ģ������ֵ�ͺ����Ľ��һ�£�strict ���䲻����Ӱ�졣������ strftime �� broker ϵͳ֧�ֵĺ���Ҳ�������ࣩ�� | ||
| ### strict ������ת����ϵ | ||
| ������������Ϊ int ������ | ||
| ע�������е������������ֵʱ | ||
| source data | source data example | string to int | enable_load_strict | load_data | ||
| ------------|---------------------|-----------------|--------------------|--------- | ||
| ��ֵ | \N | N/A | true or false | NULL | ||
| not null | aaa | NULL | true | filtered | ||
| not null | aaa | NULL | false | NULL | ||
| not null | 1 | 1 | true or false | correct data | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is not accurate.
In fact, all incorrect data should be filtered when loading, here we just use this configuration to allow data which can be converted to null