Skip to content

What is the recommended approach to dealing with parquet with nested columns? #258

Answered by wuputah
seandavi asked this question in Q&A
Discussion options

You must be logged in to vote

The error you are seeing is because you must provide an as clause containing types for any columns you use in your select query (or at least 1 column if doing something like count(*)):

select max(example)
from read_parquet(...)
as (example int);

As for nested columns, those are not supported yet. I think if you try to read those, you will get a different error.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JelteF
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