diff --git a/lib/config/constants/constants.go b/lib/config/constants/constants.go index 113039d26..3d0994854 100644 --- a/lib/config/constants/constants.go +++ b/lib/config/constants/constants.go @@ -67,13 +67,15 @@ const ( type DestinationKind string const ( - BigQuery DestinationKind = "bigquery" - MSSQL DestinationKind = "mssql" - Redshift DestinationKind = "redshift" - S3 DestinationKind = "s3" - Snowflake DestinationKind = "snowflake" + BigQuery DestinationKind = "bigquery" + Databricks DestinationKind = "databricks" + MSSQL DestinationKind = "mssql" + Redshift DestinationKind = "redshift" + S3 DestinationKind = "s3" + Snowflake DestinationKind = "snowflake" ) +// TODO: Add Databricks to this list once it's ready var ValidDestinations = []DestinationKind{ BigQuery, MSSQL, diff --git a/lib/config/types.go b/lib/config/types.go index d9247b22f..8727f7070 100644 --- a/lib/config/types.go +++ b/lib/config/types.go @@ -61,11 +61,12 @@ type Config struct { Kafka *Kafka `yaml:"kafka,omitempty"` // Supported destinations - MSSQL *MSSQL `yaml:"mssql,omitempty"` - BigQuery *BigQuery `yaml:"bigquery,omitempty"` - Snowflake *Snowflake `yaml:"snowflake,omitempty"` - Redshift *Redshift `yaml:"redshift,omitempty"` - S3 *S3Settings `yaml:"s3,omitempty"` + BigQuery *BigQuery `yaml:"bigquery,omitempty"` + Databricks *Databricks `yaml:"databricks,omitempty"` + MSSQL *MSSQL `yaml:"mssql,omitempty"` + Snowflake *Snowflake `yaml:"snowflake,omitempty"` + Redshift *Redshift `yaml:"redshift,omitempty"` + S3 *S3Settings `yaml:"s3,omitempty"` SharedDestinationSettings SharedDestinationSettings `yaml:"sharedDestinationSettings"` Reporting Reporting `yaml:"reporting"`