clean up some docs and code, including: (#479)

- typo fixes
- docstring format fixes
- unused variables fixes
- introducing first usages of testutil.ParseDocumentPaths function, which was previously unused
This commit is contained in:
Alex Ostrikov
2022-08-06 11:43:06 +02:00
committed by GitHub
parent 742593faa4
commit 46b3af6a31
7 changed files with 32 additions and 33 deletions

View File

@@ -10,7 +10,7 @@ import (
)
// A ScalarDefinition is the definition type for functions which operates on scalar values in contrast to other SQL functions
// such as the SUM aggregator wich operates on expressions instead.
// such as the SUM aggregator which operates on expressions instead.
//
// This difference allows to simply define them with a CallFn function that takes multiple document.Value and
// return another types.Value, rather than having to manually evaluate expressions (see Definition).