Documentation ¶
Index ¶
- func CreateTableQuery(schema *runtimev1.StructType, name string) (string, error)
- func NewDuckDBToDuckDB(to drivers.OLAPStore, logger *zap.Logger) drivers.Transporter
- func NewFileStoreToDuckDB(from drivers.FileStore, to drivers.OLAPStore, logger *zap.Logger) drivers.Transporter
- func NewMotherduckToDuckDB(from drivers.Handle, to drivers.OLAPStore, logger *zap.Logger) drivers.Transporter
- func NewObjectStoreToDuckDB(from drivers.ObjectStore, to drivers.OLAPStore, logger *zap.Logger) drivers.Transporter
- func NewSQLStoreToDuckDB(from drivers.SQLStore, to drivers.OLAPStore, logger *zap.Logger) drivers.Transporter
- func RowsToSchema(r *sqlx.Rows) (*runtimev1.StructType, error)
- type Driver
- func (d Driver) Drop(cfgMap map[string]any, logger *zap.Logger) error
- func (d Driver) HasAnonymousSourceAccess(ctx context.Context, src map[string]any, logger *zap.Logger) (bool, error)
- func (d Driver) Open(instanceID string, cfgMap map[string]any, ac *activity.Client, ...) (drivers.Handle, error)
- func (d Driver) Spec() drivers.Spec
- func (d Driver) TertiarySourceConnectors(ctx context.Context, src map[string]any, logger *zap.Logger) ([]string, error)
- type ModelInputProperties
- type ModelOutputProperties
- type ModelResultProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTableQuery ¶ added in v0.39.0
func CreateTableQuery(schema *runtimev1.StructType, name string) (string, error)
func NewDuckDBToDuckDB ¶ added in v0.38.0
func NewFileStoreToDuckDB ¶ added in v0.38.0
func NewMotherduckToDuckDB ¶ added in v0.38.0
func NewObjectStoreToDuckDB ¶ added in v0.38.0
func NewObjectStoreToDuckDB(from drivers.ObjectStore, to drivers.OLAPStore, logger *zap.Logger) drivers.Transporter
func NewSQLStoreToDuckDB ¶ added in v0.38.0
func RowsToSchema ¶ added in v0.39.0
func RowsToSchema(r *sqlx.Rows) (*runtimev1.StructType, error)
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (Driver) HasAnonymousSourceAccess ¶ added in v0.30.0
type ModelInputProperties ¶ added in v0.45.0
type ModelInputProperties struct {
SQL string `mapstructure:"sql"`
}
func (*ModelInputProperties) Validate ¶ added in v0.45.0
func (p *ModelInputProperties) Validate() error
type ModelOutputProperties ¶ added in v0.45.0
type ModelOutputProperties struct { Table string `mapstructure:"table"` Materialize *bool `mapstructure:"materialize"` UniqueKey []string `mapstructure:"unique_key"` IncrementalStrategy drivers.IncrementalStrategy `mapstructure:"incremental_strategy"` }
func (*ModelOutputProperties) Validate ¶ added in v0.45.0
func (p *ModelOutputProperties) Validate(opts *drivers.ModelExecutorOptions) error
type ModelResultProperties ¶ added in v0.45.0
Source Files ¶
- catalogv2.go
- config.go
- context.go
- duckdb.go
- information_schema.go
- migrate.go
- model_executor_self.go
- model_executor_sqlstore_self.go
- model_manager.go
- olap.go
- transporter_duckDB_to_duckDB.go
- transporter_filestore_to_duckDB.go
- transporter_motherduck_to_duckDB.go
- transporter_objectStore_to_duckDB.go
- transporter_sqlstore_to_duckDB.go
- utils.go
Click to show internal directories.
Click to hide internal directories.