I am having trouble to pass a python variable inside the HQL expression? Here’s an example:
The following query that works:
vds.query_samples(‘samples.map(s => sa.pheno.
But I want to pass the code in as a variable in a loop, I couldn’t get it to work. I tried:
vds.query_samples(‘samples.map(s => code ).counter()’)
I also tried adding quotes, using the “let” syntax, etc. None of them works. I couldn’t find an example in the tutorial, either. Could you point me to the the correct way to do that?