Skip to main content
Seasoned ⭐️⭐️⭐️
Nov 17, 2023 4:46 AM UTC
Solved

unable to run db extractor

Invalid config: Wrong type for field "queries.destination" - got "{'database': 'xxxx:xx:xxxx:xx', 'table': 'xxxx'}" of type dict instead of RawDestinationConfig, EventsDestinationConfig, AssetsDestinationConfig, TimeseriesDestinationConfig, SequenceDestinationConfig, FilesDestinationConfig

Practitioner ⭐️⭐️⭐️
Nov 23, 2023 1:00 PM UTC

Hi Sonali,

In your destination configuration, you need to specify the type of the destination you want to ingest data.

For CDF Raw destination, it would look like this:

 

    destination:
type: raw
database: "your-raw-db"
table: "your-raw-table"


Thanks and Regards,

Rogerio Junior
Cognite Engineering

2 replies

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Nov 23, 2023 8:52 AM UTC

Hi @Sonali Vishal Patil,

Do you still observe this issue?

Best regards,
Dilini 

Practitioner ⭐️⭐️⭐️
Nov 23, 2023 1:00 PM UTC

Hi Sonali,

In your destination configuration, you need to specify the type of the destination you want to ingest data.

For CDF Raw destination, it would look like this:

 

    destination:
type: raw
database: "your-raw-db"
table: "your-raw-table"


Thanks and Regards,

Rogerio Junior
Cognite Engineering