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

   ### Current behavior
   
   `VFSURIFactory.decode_uri` lowercases the resource suffix before 
constructing `VFSResourceType`, but two valid shared protocol values are camel 
case. Python therefore rejects Scala-produced runtime statistics and console 
message URIs.
   
   Before: `runtimeStatistics` or `consoleMessages` -> lowercase suffix -> 
unknown resource type
   
   After: preserve the encoded suffix -> valid resource type is decoded
   
   ### Steps to reproduce
   
   Decode the four resource URI suffixes defined by `VFSResourceType`.
   
   Observed on `50321e403c82df299a13deb50a7f9849dd93bdba`:
   
   ```text
   result=result
   state=state
   runtimeStatistics_error=ValueError: Unknown resource type: runtimestatistics
   consoleMessages_error=ValueError: Unknown resource type: consolemessages
   ```
   
   ### Expected behavior
   
   Every resource suffix emitted by the shared Scala VFS protocol should decode 
to the matching Python enum value.


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