Replies: 3 comments 2 replies
|
I don't see the difference, and I don't get why do we need complex design for Multiple datasets. |
1 reply
|
@aglinxinyuan thanks for the feedback, the new UX is now added to the discussion description |
0 replies
|
In terms of user experience, since we have the capability for a user to mount a single dataset in a UDF, we should allow multiple datasets in a single UDF to support general cases. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We just added dataset mounting for Python UDFs (#6608, closes #6606): a UDF can pick a versioned dataset and read its files from a local path, streamed on demand via GeeseFS through a JWT-authenticated S3 proxy — no download step, version-pinned, and the computing-unit pod stays unprivileged.
Today it's one dataset per UDF. You pick one
dataset@version, it gets mounted at/mnt/texera-mounts/<repo>/<commit>, and your code reads it fromMOUNTED_DATASET_PATH.Here is the current flow end to end:
Demo Video
The question
Should we keep this to one dataset per UDF, or let a single UDF mount several?
A concrete case for multiple: a UDF that loads a model from one dataset and reads an evaluation or reference dataset from another. Today that needs two operators or a workaround.
One dataset (what we have)
MOUNTED_DATASET_PATH, easy to documentMultiple datasets
MOUNTED_DATASET_PATHSmap or JSON?repo/commitunder the computing unit, so several mounts per pod work today. The open questions are really the UI and how the paths are surfaced to UDF code.If we go with multiple, how would you want the paths exposed to your code — a JSON map keyed by dataset name, an ordered list, or separate named environment variables? And should there be a sensible upper bound?
Context: #6608 · #6606
Disclosure: this post was drafted with Claude (Opus 4.8) and reviewed before posting.
All reactions