apache / apache/texera

Read the schema's constraints in the property panel

Open
#8,510 0 comments 0 reactions 1 assignee Claimed by @kz930 View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### Task Summary

The schema annotations this work declares, so that a configuration can be derived from an operator's own metadata, describe more than the verification needs: which columns a property may name, which values a hyperparameter accepts, which properties may not repeat across rows. The property panel does not read them, so a user still gets a free text box where the schema knows the answer, and learns a value was wrong only when the workflow fails to compile.

A column property is checked against the attribute type rule for every column it names rather than only the first. A hyperparameter's value renders as the control its parameter implies: a dropdown where the accepted set is known, a number input where it is numeric, a plain text box where the rules say nothing. A property declared unique among rows says which row already holds the value, and a row deleted clears the error it left behind, since deleting a row changes no surviving control's value.

Step 26 of 27 in #8325. It touches no Scala and stands on its own.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.