Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using array type #49

Open
artemyarulin opened this issue Jul 13, 2022 · 0 comments
Open

Using array type #49

artemyarulin opened this issue Jul 13, 2022 · 0 comments

Comments

@artemyarulin
Copy link

What is the right way to specify an array type? Tried to use the following and used text[] like in here:

select import_parquet_explicit(
               'test',
               'public',
               'parquet_srv',
               array['created', 'tags'],
               array['timestamp', 'text[]']::regtype[],
               'list_parquet_files',
               '{"dir": "/tmp/products"}',
               '{"sorted": "created"}'
           );

but it fails when I run the SELECT from the table with error: ERROR: parquet_fdw: cache lookup failed for type 0 . If I use text instead then values got imported fine as one text value, so data I guess is correct. Didn't find any example with array type in here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant