From c263cd7d8938495fe24da6a08b525e6866c1352e Mon Sep 17 00:00:00 2001 From: Victor Zaytsev <94850767+vzaytsev1981@users.noreply.github.com> Date: Wed, 3 Jan 2024 08:06:01 -0500 Subject: [PATCH] add fields for druid input source (#12) * add fields for druid input source --- common_spec_types.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common_spec_types.go b/common_spec_types.go index fa91f0d..a48127b 100644 --- a/common_spec_types.go +++ b/common_spec_types.go @@ -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