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

   ### Current behavior
   
   The Python GlobalPortIdentity decoder treats every boolean token other than 
`true` as false. Malformed port metadata can therefore change the internal-port 
or input-port flags silently. The matching Scala decoder rejects invalid 
boolean tokens.
   
   Before: malformed boolean token is decoded as false
   
   After: malformed boolean token raises a clear value error
   
   ### Steps to reproduce
   
   Decode this value on `50321e403c82df299a13deb50a7f9849dd93bdba`:
   
   ```text
   (logicalOpId=op,layerName=main,portId=0,isInternal=maybe,isInput=yes)
   ```
   
   Observed result:
   
   ```text
   isInternal=False, isInput=False
   ```
   
   ### Expected behavior
   
   Only case-insensitive true and false tokens should be accepted, matching the 
Scala protocol decoder.


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