-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Query Language
-
Query Optimization
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
As title. Take document sources for example. Those _-prefixed stages should be registered with REGISTER_INTERNAL_DOCUMENT_SOURCE instead. The key difference between these two macros are:
- REGISTER_DOCUMENT_SOURCE comes with AllowedWithClientType::kAny
- REGISTER_INTERNAL_DOCUMENT_SOURCE comes with AllowedWithClientType::kInternal
The following registration macros should also prohibit _-prefixed names:
- REGISTER_DOCUMENT_SOURCE
- REGISTER_STABLE_EXPRESSION
- REGISTER_STABLE_WINDOW_FUNCTION
- REGISTER_ACCUMULATOR