-
Notifications
You must be signed in to change notification settings - Fork 4
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
add a dtype to support fsspec MSs #209
Comments
I think it is used as follows in Edit: Your use may actually be simpler as you probably don't need to know whether it is zarr, parquet or casa table backed. |
Just as a note to self before I forget: the reason this matters (as opposed to why just not make the MS name input a plain string) is that the singularity backend needs to know which directories need to be accessed, so that they can be bound inside the container. For MSs nested under the CWD, this doesn't matter since the CWD is always bound. Where this creates a problem is if the MS is somewhere else in the directory hirearchy. |
fsspec looks overly complicated for what I need, so rather not add the extra dependency. All I need to know is, is a given string a dask-ms URL or a path to a local file? A simple regex will do. I just need to know what the possibilities to match are. Hence, question for @JSKenyon @sjperkins, is it true that all dask-ms URLs look like |
This is probably a reasonable subset:
|
Thanks. Finally, what's a good name for this dtype? |
I think the above are fairly generic url schema's. I wouldn't say they're dask-ms specific. Would a |
Thinking about this a bit more, perhaps |
Since dask-ms apps can use an S3 backend for their MSs, the current
MS
dtype is not quite adequate. Introduce a new type that is fsspec-aware. @JSKenyon @sjperkins got an example of how to query an fsspec?The text was updated successfully, but these errors were encountered: