I have an f-string that has placeholders which is not getting evaluated. Sample code below shows the closest I am trying to achieve.
SourceSchema = 'myschema'
SourceTable = 'mytable'
SourceQuery = 'SELECT * FROM {SourceSchema}.{SourceTable}'
print(f"{SourceQuery}")
Result: It’s evaluated as literal
SELECT * FROM {SourceSchema}.{SourceTable}
What I need is
SELECT * FROM myschema.mytable
Is there a simple way of achieving it?