{"modulePath":"github.com/matrixorigin/matrixone","version":"v0.7.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ctl\n\n## Constants\n\n```go\nconst ZeroDate = \"0001-01-01\"\n```\n\n## Functions\n\n```go\nfunc Handler(vs []*vector.Vector, proc *process.Process) (*vector.Vector, error)\n```\nHandler used to handle mo\\_debug SQL function. Format of the function: mo\\_debug('service name', 'command', 'command parameter') service name: \\[CN|DN|LOG|HAKEEPER] command: command in supportedCmds command parameter: the parameter of the command\n\n```go\nfunc MOLogDate(vectors []*vector.Vector, proc *process.Process) (*vector.Vector, error)\n```\nMOLogDate parse 'YYYY/MM/DD' date from input string. return '0001-01-01' if input string not container 'YYYY/MM/DD' substr, until DateParse Function support return NULL for invalid date string.\n\n```go\nfunc MoTableColMax(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)\n```\nMoTableColMax return the max value of the column\n\n```go\nfunc MoTableColMin(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)\n```\nMoTableColMax return the max value of the column\n\n```go\nfunc MoTableRows(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)\n```\nMoTableRows returns an estimated row number of a table.\n\n```go\nfunc MoTableSize(vecs []*vector.Vector, proc *process.Process) (*vector.Vector, error)\n```\nMoTableSize returns an estimated size of a table.\n\n","path":"github.com/matrixorigin/matrixone/pkg/sql/plan/function/builtin/ctl","name":"ctl","synopsis":"","isRedistributable":true}
