Skip to content

Commit

Permalink
add fields for druid input source (#12)
Browse files Browse the repository at this point in the history
* add fields for druid input source
  • Loading branch information
vzayts authored Jan 3, 2024
1 parent e0e1f01 commit c263cd7
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 c263cd7

Please sign in to comment.