Skip to content

Commit

Permalink
Add missing slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime authored Nov 22, 2023
1 parent c672788 commit c88c11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/extensions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ A Substrait plan can reference one or more YAML files via URI for extension. In

A YAML file can also reference types and type variations defined in another YAML file. To do this, it must declare the YAML file it depends on using a key-value pair in the `dependencies` key, where the value is the URI to the YAML file, and the key is a valid identifier that can then be used as an identifier-safe alias for the URI. This alias can then be used as a `.`-separated namespace prefix wherever a type class or type variation name is expected.

For example, if the YAML file at `file:/extension_types.yaml` defines a type called `point`, a different YAML file can use the type in a function declaration as follows:
For example, if the YAML file at `file:///extension_types.yaml` defines a type called `point`, a different YAML file can use the type in a function declaration as follows:

```yaml
dependencies:
ext: file:/extension_types.yaml
ext: file:///extension_types.yaml
scalar_functions:
- name: distance
description: The distance between two points.
Expand Down

0 comments on commit c88c11c

Please sign in to comment.