You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aicam (via GitHub)" <gi...@apache.org> on 2026/07/24 20:31:25 UTC

[I] Python UDF dataset-variable bindings [texera]

aicam opened a new issue, #6864:
URL: https://github.com/apache/texera/issues/6864

   ### Task Summary
   
   User-facing step of the dataset-mounting feature (part of #6606). Let a Python UDF use datasets mounted on its computing unit by **binding each dataset to a variable** whose value, at runtime, is the dataset's local mount path. Replaces the single "Mount dataset" property with a **variable ↔ mounted-dataset list**, so a UDF can reference several mounted datasets by name (e.g. `open(f"{A}/file.csv")`).
   
   - **Operator** — replace the `mountDataset` string with a `datasetVariables` list of `{ variableName, datasetPath }`; variable names validated as Python identifiers, each path resolved to a `repository:commitHash` locator.
   - **Engine** — carry a `variableName → locator` map through `PhysicalOp` and `WorkerConfig`; before the Python process starts, the worker ensures each dataset is mounted (idempotent — converges with any explicit per-CU mount) and passes a `{ variableName → localPath }` map in the startup config.
   - **Python runtime** — inject each binding into the UDF module as a module-level variable holding its local path.
   - **Property editor** — a table widget for variable/dataset rows, options drawn from the datasets mounted on the active computing unit.
   
   The feature is only usable once this lands (mounting alone does nothing without a consumer), so the old single-dataset property is replaced outright — no backward-compatibility shim is needed.
   
   ### Task Type
   - [x] Other (feature implementation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Python UDF dataset-variable bindings [texera]

Posted by "aicam (via GitHub)" <gi...@apache.org>.
aicam commented on issue #6864:
URL: https://github.com/apache/texera/issues/6864#issuecomment-5074419591

   Folded into the two-PR structure (see #6606): the mount API, UI, and UDF variable bindings now ship together as **Platform dataset mount integration** (#6863). Closing as superseded.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Python UDF dataset-variable bindings [texera]

Posted by "aicam (via GitHub)" <gi...@apache.org>.
aicam closed issue #6864: Python UDF dataset-variable bindings
URL: https://github.com/apache/texera/issues/6864


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org