Skip to content

Attribute Invalid Warning - #1747

Merged
zuozhiw merged 9 commits into
masterfrom
cli-attribute-nonexistence-warning
Dec 5, 2022
Merged

zuozhiw merged 9 commits into
masterfrom
cli-attribute-nonexistence-warning

Conversation

@aahei

@aahei aahei commented Nov 28, 2022

Copy link
Copy Markdown
Contributor

Problem:

  • Take the CSV file scan operator as an example. If a user selects X.csv in the operator and then deletes the file from the dashboard, the operator will not invalidate the operator and the file selection field.
  • Take the "projection -> sentiment analysis" workflow as an example. If a user selects attribute X in the sentiment analysis operator and deletes attribute X through the projection operator, the sentiment analysis operator will not invalidate the operator and the file selection field.

Solution:
This PR enables operators to detect invalid attribute values, e.g., deleted files or nonexistent attributes. When the attribute value is invalid, the operator and the relevant field will be invalidated.

image

@aahei

aahei commented Nov 28, 2022

Copy link
Copy Markdown
Contributor Author

Now, invalidating operators and fields is successful for non-input operators. However, an invalid file selection will not trigger a warning message in a file scan operator, which will need to be addressed.
image

@aahei
aahei requested a review from zuozhiw November 28, 2022 20:14
@aahei aahei self-assigned this Nov 28, 2022
@zuozhiw
zuozhiw merged commit 3ab81ba into master Dec 5, 2022
@zuozhiw
zuozhiw deleted the cli-attribute-nonexistence-warning branch December 5, 2022 22:37
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
Problem:
- Take the CSV file scan operator as an example. If a user selects X.csv in the operator and then deletes the file from the dashboard, the operator will not invalidate the operator and the file selection field.
- Take the "projection -> sentiment analysis" workflow as an example. If a user selects attribute X in the sentiment analysis operator and deletes attribute X through the projection operator, the sentiment analysis operator will not invalidate the operator and the file selection field.

Solution:
This PR enables operators to detect invalid attribute values, e.g., deleted files or nonexistent attributes. When the attribute value is invalid, the operator and the relevant field will be invalidated.

![image](https://user-images.githubusercontent.com/18681247/204371404-0b48771b-4cea-435b-80c6-6ae8676a3735.png)

Co-authored-by: Zuozhi Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants