Chandan Malla
11/21/2023, 10:59 AMmarrrcin
11/21/2023, 11:00 AMChandan Malla
11/21/2023, 11:04 AMChandan Malla
11/21/2023, 11:09 AMmarrrcin
11/21/2023, 11:32 AMChandan Malla
11/21/2023, 12:32 PMChandan Malla
11/21/2023, 12:35 PMmarrrcin
11/21/2023, 1:29 PM${}
and relative interpolations ${..<name>}
Chandan Malla
11/21/2023, 1:58 PMcatalog_globals.yml
_odi_men:
preprocessing:
ballbyball: TABLE_NAME
this is catalog.yml:
"{namespace}.raw_ballbyball":
type: pandas.SQLQueryDataSet
sql: select * from schema.${{_{namespace}.preprocessing.ballbyball}}
credentials: con
This is not working and query gets resolved as:
select * from schema.{_odi_men.preprocessing.ballbyball}Chandan Malla
11/21/2023, 2:02 PMsql: select * from schema.${_odi_men.preprocessing.ballbyball}
This works, but that's not what I wantChandan Malla
11/22/2023, 3:30 PMmarrrcin
11/22/2023, 4:18 PMAnkita Katiyar
11/22/2023, 4:34 PM{namespace}
which should come from the dataset factory thing is resolved much later in the session and not when the config is initially loaded - so omegaconf
doesn’t know what schema.${{_{namespace}.preprocessing.ballbyball}}
is referring to