dlt-meta icon indicating copy to clipboard operation
dlt-meta copied to clipboard

Can i perform join inside silvertransform.json dlt meta issue

Open DivyanshuSati007 opened this issue 1 year ago • 1 comments

I have to covert below query to json so that it can be run easily

insert into silver_customers values a,b,c,d select "bc.a", bc.b,bc.c, concat(dd.year+dd.periodnumber) as d from bronze_customer bc left join dimDate dd on bc.date == dd.date

is this possible Here source table is bronze_customer target table is silver_customers and 3rd table on which join is performed dimDate

how can i achieve this in silvertransform.json

DivyanshuSati007 avatar Nov 13 '24 14:11 DivyanshuSati007

@DivyanshuSati007 only sql expressions are supported, sql queries with join not supported as of now! There is a feature request here which might cover above scenario in coming release v0.0.10

ravi-databricks avatar Nov 13 '24 18:11 ravi-databricks