Reltio Connect

 View Only
  • 1.  Not able to uncompress file stored in S3 in RIH

    This message was posted by a user wishing to remain anonymous
    Posted 07-30-2024 07:21
    This message was posted by a user wishing to remain anonymous

    Hi Team,

    I want to uncompressed the file stored in s3 bucket, but getting the below error.

    Can anyone help me to understand how to resolve this?



  • 2.  RE: Not able to uncompress file stored in S3 in RIH

    Reltio Employee
    Posted 08-02-2024 13:15

    Hello

    As I can see, you have some path in S3 to the file in the field of file content.

    However, for uncompression purposes, you should use the compressed content. If your file is in S3, you should:

    1.  first create the S3 connection
    2.  then download the file from S3 using the S3 connector
    3.  and then use that compressed content as file contents for uncompression. 

    Let me show you a short example. I just created a recipe to demonstrate the entire process.

    In S3 connection i used a bucket with file so here i just need a file name

    test input

    test output

    Than i uncompress the downloaded content

    test input

    test output

    then i print in log uncompressed file content

    content of csv file

    uncompressed content that was downloaded from s3

    Screenshot of entire recipe



    ------------------------------
    Dmitry Ishmitov
    Software engineer
    Reltio
    Lisbon
    ------------------------------