Ideally, the {{ workingDir }} should not be needed. Given that the file is passed as part of inputFiles, you shouldn't need that workingDir part here:
INSTALL json;
LOAD json;
SELECT brand, round(avg(price), 2) as avg_price
FROM read_json_auto('{{ workingDir }}/products.json')
GROUP BY brand
ORDER BY avg_price DESC;
Expected Behavior
Ideally, the
{{ workingDir }}
should not be needed. Given that the file is passed as part ofinputFiles
, you shouldn't need that workingDir part here:reproducer:
Actual Behaviour
No response
Steps To Reproduce
No response
Environment Information
Example flow
No response