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

   ## What happened?
   
   The Python VFS decoder lowercases the resource suffix before matching it 
against the canonical resource enum. Texera produces the camel-case suffixes 
runtimeStatistics and consoleMessages, so both valid URI types are rejected as 
unknown. The Scala decoder accepts the same canonical suffixes.
   
   Before: runtimeStatistics and consoleMessages raise ValueError, while result 
and state decode.
   
   After: all four canonical Texera resource suffixes decode, and unknown 
suffixes remain rejected.
   
   ## How to reproduce?
   
   1. Call VFSURIFactory.decode_uri with vfs:///wid/1/eid/2/runtimeStatistics.
   2. Observe Unknown resource type: runtimestatistics.
   3. Call it with vfs:///wid/1/eid/2/opid/demo/consoleMessages.
   4. Observe Unknown resource type: consolemessages.
   5. Use result or state as a control and observe successful decoding.
   
   ## Version/Branch
   
   1.3.0-incubating-SNAPSHOT (main)
   
   ## Commit Hash
   
   70c21145887920528d7d5540e3fb790b43e8b759
   
   ## Relevant log output
   
   ValueError: Unknown resource type: runtimestatistics
   ValueError: Unknown resource type: consolemessages


-- 
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