Oct 31, 2026
DuckDB GLOB Operator
DuckDB supports the GLOB operator for case-sensitive pattern matching on strings. It also provides a glob() table function that returns files matching a filesystem pattern. Both use the same wildcard syntax — * for zero or more characters, ? for exactly one, and [...] brackets for character sets. This post covers the operator, the table function, and the patterns that work in each.