Solved

Database named "_cdf" in the training

  • 10 August 2023
  • 2 replies
  • 40 views

Badge

While going through CDF fundamental course and working with the hands-on exercise, I came across the transformation SQL which uses _cdf database and I have seen 2 different tables (assets and timeseries) used in 2 different transformations. Can someone please help a bit more on this _cdf database? What is it’s content, what all tables it contains, how is it created, to which all datasets this DB will be related to etc.

icon

Best answer by Ben Petree 10 August 2023, 16:43

View original

2 replies

Badge

Hey checkout this part of the documentation.

https://docs.cognite.com/cdf/integration/guides/transformation/write_sql_queries#read-from-other-cdf-resource-types

This shows all the different tables you have available in the _cdf database. If you do a select * you will find that every column corresponds to a property for that resource type. All data that has been transformed into CDF resource types (asset, timeseries, etc) is queryable this way. You will have the same access and permissions to this data as your user. If you don’t have access to assets in a dataset because you aren’t in that group, then you won’t have access to them through the query.

Userlevel 3

Hi @vsanwaria, did the above help you?

Reply