Documentation ¶
Index ¶
Constants ¶
View Source
const ( TaskTypePython = pipeline.AssetType("python") TaskTypeSnowflakeQuery = pipeline.AssetType("sf.sql") TaskTypeBigqueryQuery = pipeline.AssetType("bq.sql") TaskTypeEmpty = pipeline.AssetType("empty") )
View Source
const (
KeyPrinter contextKey = iota
)
Variables ¶
View Source
var DefaultExecutorsV2 = map[pipeline.AssetType]Config{ TaskTypeBigqueryQuery: { scheduler.TaskInstanceTypeMain: NoOpOperator{}, scheduler.TaskInstanceTypeColumnCheck: NoOpOperator{}, }, "bq.sensor.table": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "bq.sensor.query": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "bq.cost_tracker": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "bq.transfer": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "bq.sensor.partition": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "gcs.from.s3": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "gcs.delete": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "gcs.sensor.object_sensor_with_prefix": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "gcs.sensor.object": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, TaskTypeEmpty: { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "athena.sql": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "athena.sensor.query": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, TaskTypePython: { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "python.beta": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "python.legacy": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "s3.sensor.key_sensor": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, TaskTypeSnowflakeQuery: { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "adjust.export.bq": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, "appsflyer.export.bq": { scheduler.TaskInstanceTypeMain: NoOpOperator{}, }, }
Functions ¶
This section is empty.
Types ¶
type Concurrent ¶
type Concurrent struct {
// contains filtered or unexported fields
}
func NewConcurrent ¶
func NewConcurrent( logger *zap.SugaredLogger, taskTypeMap map[pipeline.AssetType]Config, workerCount int, ) *Concurrent
func (Concurrent) Start ¶
func (c Concurrent) Start(input chan scheduler.TaskInstance, result chan<- *scheduler.TaskExecutionResult)
type Config ¶ added in v0.9.0
type Config map[scheduler.TaskInstanceType]Operator
type NoOpOperator ¶
type NoOpOperator struct{}
func (NoOpOperator) Run ¶ added in v0.9.0
func (e NoOpOperator) Run(ctx context.Context, ti scheduler.TaskInstance) error
type Operator ¶
type Operator interface {
Run(ctx context.Context, ti scheduler.TaskInstance) error
}
type OperatorMap ¶ added in v0.9.0
type OperatorSecondMap ¶ added in v0.9.0
type Sequential ¶
func (Sequential) RunSingleTask ¶
func (s Sequential) RunSingleTask(ctx context.Context, instance scheduler.TaskInstance) error
Click to show internal directories.
Click to hide internal directories.