Skip to content

Virtual columns reading data from parquet using globs? #3269

Discussion options

You must be logged in to vote

Hello!
We have an existing issue for this feature here:
#2303

#1905 allows you to query parquet metadata using globs, so as a workaround you could run 1 query to build up a list of parquet files and build up your query in a Python string that looks like:

Select 'my_file' as filename, *
From parquet_scan('my_file.parquet')
Union all
Select 'my_file2' as filename, *
From parquet_scan('my_file2.parquet')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maximfridental
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants