Skip to content

Commit

Permalink
add fields for druid input source
Browse files Browse the repository at this point in the history
  • Loading branch information
vzayts committed Jan 2, 2024
1 parent e0e1f01 commit 57aaf3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common_spec_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,12 @@ type InputSource struct {
// SqlInputSource.
SQLs []string `json:"sqls,omitempty"`
Database *Database `json:"database,omitempty"`

// Druid input source
Datasource string `json:"dataSource,omitempty"`
// ISO-8601 interval, which defines the time range to fetch the data over.
Interval string `json:"interval,omitempty"`
Metrics []string `json:"metrics,omitempty"`
}

// TransformSpec is responsible for transforming druid input data
Expand Down

0 comments on commit 57aaf3a

Please sign in to comment.