Skip to main content
Answer

unable to run db extractor

  • November 17, 2023
  • 2 replies
  • 56 views

Forum|alt.badge.img

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

Best answer by Rogerio Júnior

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
Seasoned Practitioner
Forum|alt.badge.img+2
  • Seasoned Practitioner
  • November 23, 2023

Hi @Sonali Vishal Patil,

Do you still observe this issue?

Best regards,
Dilini 


  • Practitioner
  • Answer
  • November 23, 2023

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