github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/sql/opt/norm/README.md (about)

     1  # Norm Layout
     2  
     3  This directory contains definitions for the normalization rules, their
     4  custom helper functions, and their test files. There is a .opt file for each
     5  operator containing the rules that match that operator. For every .opt file,
     6  there is a test file in testdata that contains tests for each normalization
     7  rule. Custom match and replace functions which are only used in one .opt file
     8  are kept in the corresponding _funcs.go file. Functions which are used by 
     9  multiple different rules or are general enough to be reusable belong in 
    10  general_funcs.go.