Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( QueryCommentRegex = regexp.MustCompile(`(?m)--.*$`) MultipleSpacesRegex = regexp.MustCompile(`\s\s+`) SpacesAfterCommaRegex = regexp.MustCompile(`,\s+`) MaterializedRegex = regexp.MustCompile(`(?m)^--[ \t]*@materialize[ \t]?:[ \t]*([a-zA-Z]*)\s+`) )
View Source
var ErrNotSupported = errors.New("only model supported for sql")
Functions ¶
This section is empty.
Types ¶
type MaterializationInfo ¶ added in v0.20.0
type MaterializationInfo int64
MaterializationInfo Materialization values for models, specified using @materialize: tag in the comment
const ( // MaterializeUnspecified When tag is not specified MaterializeUnspecified MaterializationInfo = iota // MaterializeTrue When tag is specified as true MaterializeTrue // MaterializeFalse When tag is specified as false MaterializeFalse // MaterializeInferred When it is not specified by the user, but we infer it and set this value MaterializeInferred // MaterializeInvalid When tag is specified but value is either empty or invalid MaterializeInvalid )
func (MaterializationInfo) Materialize ¶ added in v0.20.0
func (m MaterializationInfo) Materialize() bool
Click to show internal directories.
Click to hide internal directories.