A glob pattern is a string of characters that specifies a set of filenames or paths in a file system. The term “glob” is short for “global,” and refers to the fact that a glob pattern can match multiple filenames or paths at once. For Pachyderm, you can use glob patterns to define the shape of your datums against your inputs, which are spread across Pachyderm workers for distributing computing.
|Glob Pattern||Datum created|
|Pachyderm denotes the whole repository as a single datum and sends all input data to a single worker node to be processed together.|
|Pachyderm defines each top-level files / directories in the input repo, as a separate datum. For example, if you have a repository with ten files and no directory structure, Pachyderm identifies each file as a single datum and processes them independently.|
|Pachyderm processes each file / directory in each subdirectories as a separate datum.|
|Pachyderm processes each file in all directories and subdirectories as a separate datum.|
Glob patterns can also use other special characters, such as the question mark (
?) to match a single character, or brackets (
[...]) to match a set of characters.