Skip to main content

Community

Transformations: FileFormat action to replicate Oracle LOB into S3 files without changing the file content at the end.

Answered

Please sign in to leave a comment.

Comments

4 comments

    I hope we can get this in new patching cycle.

  • Mark Van de Wiel User

    Hi Max,

    Thank you for submitting this request.

    You should include an action TableProperties and set MapBinary on the target (https://fivetran.com/docs/hvr6/action-reference/tableproperties#mapbinary). I recommend you use BASE64.

    Hope this helps.

    Mark.

    Hi @Mark Van de Wiel, could you please help me with some use case article to understand how this configuration will avoid unwanted columns to be into the real binary exported file into bucket?. I read link, but still unsure how to use it.

  • Mark Van de Wiel User

    Max,

    The documentation highlights:

    "Available options for policy are:

    • COPY (default for CSV and databases): Memory copy of the binary data. This can cause invalid characters in the output.
    • HEX: The binary value is represented as HEX string.
    • BASE64 (default for Json): The binary value is represented as Base64 string."

    You said that you have unwanted characters at the end of your binary value, which I figured is likely due to the default COPY being applied. You should instead encode the binary values. Then when you access the data you should use a (reverse) decoder.

    Hope this makes sense.

    Mark.