An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
I guess you need to use dynamic SQL:
SELECT @sql = concat('SELECT TOP * 100
FROM OPENROWSET (BULK, 'http://.../Day=', @day, '/TripID=', @trip',
'/*.parquet', FORMAT = PARQUET) AS result'
EXEC sp_executesql
From what I can tell this is supported on Synapse as well.
and upvote
for the same. And, if you have any further query do let us know.