DanielLeens commented on issue #13377: URL: https://github.com/apache/seatunnel/issues/13377#issuecomment-7162161931
Classification: F / Transform-V2 cryptographic SQL-function contract. Please keep `AES_ENCRYPT` and `AES_DECRYPT` unchanged in the SM4 proposal. Current `dev` returns a Base64 `String` from `CryptoFunction` and exposes both AES functions as `STRING` in `ZetaSQLType`; changing that would alter an already published SQL and storage contract for existing jobs. A future AES migration would need a separate proposal, explicit incompatible-change documentation, migration guidance, and independent cross-engine compatibility evidence. It is not a follow-up scope for this SM4 feature. That does not yet approve the BINARY SM4 implementation. Before opening an implementation PR, please close the remaining evidence gaps from the provider and packaging gate: 1. Name one exact `bcprov-jdk18on` version to pin, and identify the required ASF LICENSE/NOTICE and distribution changes for its relocated classes. 2. Prove the published-vector, Zeta, and Calcite cases execute against the shaded and relocated artifact in the packaged runtime, rather than an unshaded test classpath. 3. Keep the binary contract proof concrete: the same raw bytes and observable binary type through the Zeta dispatcher and Calcite `byte[]` bridge, with no secrets or derived key material in logs, exceptions, or diagnostics. Once those items are documented and reviewed, a focused SM4 PR can be assessed on its own merits. The intentional AES/SM4 envelope difference must be stated in the SM4 documentation. -- 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]
