Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

how to find dataType of all attributes in the dataSet

Avatar

Level 5

SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'table_name';

Above query only gives dataType at root level. but how do we find dataType of each attribute in the dataSet ?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 6

Hi @Pradeep-Jaiswal ,

Instead of sql, try this: Look up a dataset: url

In the query parameter `properties` use the value as: "observableSchema" - it will retrieve all the fields and their data types in nested format.

 

Hope it helps!