File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,10 @@ YqlCore {
145
145
Name: "OptimizerFlags"
146
146
Args: ["FieldSubsetEnableMultiusage"]
147
147
}
148
+ Flags {
149
+ Name: "EnableConstraintCheck"
150
+ Args: ["Distinct","Unique"]
151
+ }
148
152
}
149
153
150
154
Dq {
Original file line number Diff line number Diff line change @@ -16,5 +16,9 @@ YqlCore {
16
16
Flags {
17
17
Name: "DisableYsonCastToString"
18
18
}
19
+ Flags {
20
+ Name: "EnableConstraintCheck"
21
+ Args: ["Distinct","Unique"]
22
+ }
19
23
}
20
24
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ bool TTypeAnnotationContext::DoInitialize(TExprContext& ctx) {
40
40
Y_ENSURE (UserDataStorage);
41
41
UserDataStorage->FillUserDataUrls ();
42
42
43
+ DisableConstraintCheck.emplace (TUniqueConstraintNode::Name ());
44
+ DisableConstraintCheck.emplace (TDistinctConstraintNode::Name ());
43
45
44
46
return true ;
45
47
}
You can’t perform that action at this time.
0 commit comments