mnorland
Valued Contributor II

There are two options you may want to consider:

  1. Switch to using SQL UDTFs from views in certain cases
  2. For each session, dynamically recreate the view using CREATE VIEW via EXECUTE IMMEDIATE or via Python string templating: