Has anyone been able to use a variable as an input to the read function in a python MV?
See example below:
var_name = "sample_schema.sample_table"
dataframe = read(var_name)
The code above returns an error when I try to validate. However, if I add test = read("sample_schema.sample_table") into the MV, I have no issues validating or loading the MV.
@kxie - Welcome to the community! Thanks for joining!
I chased down an answer. Today the notebook supports static reads during the validation of the MV. We do have dynamic read() as a feature in our backlog today. I was sure to add a link to this question from you as an additional 'vote' for the feature!