Filtering out Duplicate data from source file.

Comments

3 comments

  • Sachin Goud Godishela Software Engineer
    Answer Pro
    Great Answer
    Celigo University Level 4: Legendary

    Hi Dibyojyoti,

    For an FTP export, you can group rows together.

    Example:

    Before:

    {
      "page_of_records": [
        {
          "record": {
            "Column0": "US",
            "Column1": "CA",
            "Column2": "2"
          }
        },
        {
          "record": {
            "Column0": "US",
            "Column1": "AZ",
            "Column2": "3"
          }
        },
        {
          "record": {
            "Column0": "US",
            "Column1": "AR",
            "Column2": "5"
          }
        },
        {
          "record": {
            "Column0": "IN",
            "Column1": "AR",
            "Column2": "5"
          }
        },
        {
          "record": {
            "Column0": "IN",
            "Column1": "TS",
            "Column2": "8"
          }
        }
      ]
    }

    After:

    {
      "page_of_records": [
        {
          "rows": [
            {
              "Column0": "US",
              "Column1": "CA",
              "Column2": "2"
            },
            {
              "Column0": "US",
              "Column1": "AZ",
              "Column2": "3"
            },
            {
              "Column0": "US",
              "Column1": "AR",
              "Column2": "5"
            }
          ]
        },
        {
          "rows": [
            {
              "Column0": "IN",
              "Column1": "AR",
              "Column2": "5"
            },
            {
              "Column0": "IN",
              "Column1": "TS",
              "Column2": "8"
            }
          ]
        }
      ]
    }

    Let us know if this works for you. Feel free to revert back if you have any queries.

    0
  • Anitha Abraham Community moderator Principal Technical Writer
    Celigo University Level 3: Master

    Thanks Dibyojyoti Samanta for the post and Sachin Goud Godishela for the prompt response!
    (I've moved this post from "Welcome to our community" to "Troubleshoot custom flows")

    0
  • Dibyojyoti Samanta
    Engaged
    Celigo University Level 2: Seasoned

    Hi Sachin, Thanks for your valuable reply, It worked. 

    0

Please sign in to leave a comment.