SEPURI-SAI-KRISHNA commented on issue #13022: URL: https://github.com/apache/seatunnel/issues/13022#issuecomment-7242768628
The BINARY part left over from #13023 is now in #13674. `BINARY` and `VARBINARY` map to `BYTES`, and the source decodes the hex text databend-jdbc 0.3.7 returns into the bytes. The sink now writes a `BYTES` value as hex text. Before, it sent the raw bytes, which the server parsed as hex: most inserts failed, and the text `CAFE` was stored as the bytes `CA FE`. Two settings could still change the bytes without an error, so the job now stops with a message naming the fix: - the source, when the server's `binary_output_format` is not `hex` (under `base64`, `00 00 00` arrives as `AAAA`, which is also valid hex) - a non CDC sink, when the `url` sets `binary_format` to something other than `hex` The E2E tests run on the nightly image in `DatabendCDCSinkIT`, where `BINARY` is a real type. -- 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]
