PG1204 commented on PR #7299:
URL: https://github.com/apache/texera/pull/7299#issuecomment-5233676646

   > @PG1204 Any reasonable screenshot that can improve the readability of the 
PR will be appreciated. If you don't think that's doable, that's fine.
   
   @chenlica both sides are the operator's real generated Python run against 
the same input with the same config
   <img width="864" height="423" alt="image" 
src="https://github.com/user-attachments/assets/97bc5a8d-e2f7-4218-90f7-834abf112dfb";
 />
   Before/after of the error message for an image task (image-to-text) whose 
Input Image Column is set to a column that isn't in the input (img, while the 
input table has only prompt), with no image upload.
   
   Before: Image task configuration error: No image source. Set an Input Image 
Column or upload an image. This is misleading, since a column was set.
   
   After (this PR): Image task configuration error: Input Image Column 'img' 
not found in the input table. Available columns: ['prompt'], which names the 
missing column and lists the available ones.
   
   Captured by running the operator's generated Python headlessly against a 
one-column table (this state is reached via API/headless/stored-workflow 
execution; the GUI clears out-of-schema column references, so it isn't 
reproducible by clicking through the editor).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to