You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using greptimedb external table, user can use a path to include multiple files. On MacOS, OS itself will add .DS_Store file to the folder when it is indexed. Then, external table will complain invalid file format because .DS_Store is also included.
It will be very handy if external table can support glob filters or at least some form of wildcard matching.
Implementation challenges
No response
The text was updated successfully, but these errors were encountered:
Hi @ftong2020,
We support the pattern option when creating an external table. Here's an example:
CREATE EXTERNAL TABLE city (
host string,
ts timestamp,
cpu float64 default 0,
memory float64,
TIME INDEX (ts),
PRIMARY KEY(host)
) WITH (location='/var/data/', format='parquet', pattern='*.parquet');
What type of enhancement is this?
User experience
What does the enhancement do?
When using greptimedb external table, user can use a path to include multiple files. On MacOS, OS itself will add .DS_Store file to the folder when it is indexed. Then, external table will complain invalid file format because .DS_Store is also included.
It will be very handy if external table can support glob filters or at least some form of wildcard matching.
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: