You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docs/extensions/index.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,8 @@ message AdvancedExtension {
159
159
160
160
!!! note "Enhancements vs Optimizations"
161
161
162
-
Use **optimizations** for performance hints that don't change semantics and can be safely ignored. Use **enhancements** for semantic changes that must be understood by consumers or the plan cannot be executed correctly.
162
+
* Use **optimizations** for performance hints that don't change semantics and can be safely ignored.
163
+
* Use **enhancements** for semantic changes that must be understood by consumers or the plan cannot be executed correctly.
163
164
164
165
#### Optimizations
165
166
@@ -177,9 +178,9 @@ Use **optimizations** for performance hints that don't change semantics and can
177
178
178
179
!!! note "Enhancement Constraints"
179
180
180
-
Semantic-changing extensions shouldn't change the core characteristics of the underlying relation. For example, they should *not* change the default direct output field ordering, change the number of fields output or change the behavior of physical property characteristics. If one needs to change one of these behaviors, one should define a new relation as described below.
181
+
Semantic-changing extensions shouldn't change the core characteristics of the underlying relation. For example, they should *not* change the default direct output field ordering, change the number of fields output or change the behavior of physical property characteristics. If one needs to change one of these behaviors, one should define a new relation as described below.
181
182
182
-
#### Where AdvancedExtension Messages Can Be Used
183
+
#### Where `AdvancedExtension` Messages Can Be Used
183
184
184
185
The `AdvancedExtension` message can be attached to various parts of a Substrait plan:
185
186
@@ -214,9 +215,12 @@ These extension relations are first-class relation types in Substrait and can be
214
215
215
216
The third form of advanced extensions allows you to define extension data sources and destinations:
Before implementing custom read/write types as extensions, consider checking with the Substrait community. If your scenario turns out to be common enough, it may be more appropriate to add it directly to the specification rather than as an extension.
0 commit comments