Skip to content

Cannot save queries that query azure data lake with OPENROWSET syntax #32345

Closed Answered by surajsrivathsa
surajsrivathsa asked this question in Q&A / Help
Discussion options

You must be logged in to vote

@dosu I solved it. you need to sorround the file paths by small brackets. this solves the issue

SELECT * FROM OPENROWSET( BULK ( 'https://mydatalake.dfs.core.windows.net/mydata/myevents/partition=1/partition=2/partition=3/partition=4/*/*/*/*/*/*.parquet'), FORMAT = 'PARQUET' ) AS records_json ;

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Answer selected by surajsrivathsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant