Incorrect column mapping in S3 dataset on Automation Node after redeployment

yasmine
yasmine Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 16 ✭✭✭✭

Hello,

We are facing an unexpected issue with an S3 dataset on the Automation Node.

The project uses S3 datasets:

  • Design Node: S3 connections pointing to pre-production data.
  • Automation Node: S3 connections pointing to production data.

The project had already been deployed several times successfully. However, after the 7th deployment, some columns of an input S3 dataset are no longer displayed correctly on the Automation Node.

More specifically, values belonging to one column appear under another column in Dataiku, as if the columns were shifted or incorrectly mapped.

The same production S3 data is displayed correctly in QuickSight. I also directly accessed and checked the input data in the production S3 bucket and confirmed that the data is correct. This suggests that the issue is specific to Dataiku on the Automation Node.

These columns are used in a downstream join recipe, and because of this incorrect mapping, the join no longer finds matching records and the output dataset is empty.

Could you please help us understand the cause of this behavior and identify a solution to correct the column mapping on the Automation Node?

Thank you in advance for your support.

Best regards,
Yasmine

Dataiku version used: 14.7.2

Answers

  • tgb417
    tgb417 Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Dataiku Frontrunner Awards 2021 Participant, Frontrunner 2022 Participant, Neuron 2023 Posts: 1,650 Neuron

    so I’ve seen things like this in the past.

    If this is a large important and not easily reproduced dataset, I’d open up a support ticket. The support team can be very helpful.

    if it feels ok to mess with this dataset because it is smallish and if you end up blowing it away it’s not a big issue. Then here are several things to consider.

    1. Go to the schema tab. Check the schema and reset it if necessary.
    2. Consider the format you are saving the dataset on S3. Saving as CSV if I remember correctly is default, but it is subject to characters in the file throwing off columns in the data. I prefer parquet files for this reason. (An extra tab or line feed or carriage returns can some times cause problems.)
    3. there is an ability to resync with the S3 infrastructure I forget what the button is labeled. . But sometimes that can be helpful
    4. finally The problem may not be in the dataset where you actually notice the problem. I’ve sometimes found that i’v had to look at the Prior dataset to resolve data presentation issue.

    Good luck, let us know how this goes for you.

  • rachelwilson
    rachelwilson Registered Posts: 3 ✭

    one test that helped me narrow this kind of thing down is to create a throwaway dataset on the automation node pointing at the same s3 prefix, and let it detect the schema fresh. if that one reads fine, the deployed dataset is probably carrying a stale stored schema or format setting from the bundle, so compare separator, header and column order against design. if the throwaway one shifts too, the issue is more likely in the file format itself. either way it splits the problem in half pretty quickly.

Setup Info
    Tags
      Help me…