DanielLeens commented on issue #13378:
URL: https://github.com/apache/seatunnel/issues/13378#issuecomment-7041962486

   Classification: F / Transform-V2 SQL binary character conversion.
   
   This is a useful compatibility feature and is distinct from the existing 
Base64 functions. `ENCODE` must produce the SQL binary value, not a Base64 
string, while `DECODE` must consume that binary value; the Oracle-style 
conditional `DECODE` remains out of scope as proposed.
   
   Please make the engine boundary explicit in the PR. SeaTunnel has separate 
SQL execution/type paths, so the feature must either provide the same binary 
contract in each supported SQL transform engine or document an intentional 
availability boundary rather than silently accepting the query in one path and 
rejecting it in another. Reuse the existing binary conversion path where it is 
safe, but keep Base64 semantics independent.
   
   The focused regression matrix should cover all six declared charsets, 
string-to-binary-to-string round trips, direct binary input to `DECODE`, null 
propagation, unsupported charsets, incorrect argument types/counts, and the 
absence of conditional-`DECODE` semantics. Please include EN/ZH function 
documentation and a job-level integration test alongside the unit tests before 
requesting review.
   


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