Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello everyone,
Currently I use variables to define in which GCP projects and datasets the source tables are located.
As there are several times a "project" variable and a "schema" variable I would like to structure this via dictionaries.
Problem: I can't use them in the dataset configurations. Is it possible to use structured variables in the dataset configuration? Or is it only possible in python?
Indeed, in python I can get information :
import json
print(json.loads(dataiku.get_custom_variables()['schema'])['mido'])
Thanks for your help.
Hi @CamilleGui,
Unfortunately variable expansion does not support nested/structured variables. You can unnest variables in Python as you've shown here, or in the DSS formula language. For the UI including dataset configurations you would need to use unnested variables.
Thanks,
Sarina