Solved

Query to get column name from different table stores as column value

  • 18 October 2023
  • 3 replies
  • 62 views

We have data model with

type abc{id: String

kind: String

name: String

description: String

key: String}

In other table , we have these columns stored as column values

kind attributes
1.0.0 name
1.0.0 description
1.0.0 key
1.0.0

name

 

need query to join on column value(stored as rows) from one table with solution model table data can group on by id or kind? As there can be n number of attributes, if we can do it dynamically to match column  value with column name.

Any help would be appreciated

icon

Best answer by Dilini Fernando 22 November 2023, 07:58

View original

3 replies

Hi Rimmi,

 

Can you add a little bit more context to your question?   

  • Is the table you mention here stored in RAW? 
  • Is the query you want to create going to run in transformations?
  • Is the purpose to create new instances from the table?
Userlevel 4
Badge +2

Hi @Rimmi Anand ,

If this request is still valid, please provide the required information. We are happy to help you.

Best regards,
Dilini

Userlevel 4
Badge +2

Hi @Rimmi Anand,

I’m closing this topic now, please feel free to create a new post if you still experience problems.

Best regards,
Dilini 

Reply