STACK recipe changes the datatype

Sujata
Sujata Registered Posts: 5 ✭✭

Hi Team,

Stack recipe is behaving strangely. It changes the datatype of output dataset column based on the column values. How can we retain the datatype of input dataset

Comments

  • Yasmine_T
    Yasmine_T Dataiker, Registered, Moderator Posts: 100 Dataiker

    Hi @Sujata ,

    I hope that you are doing well. Would you mind providing a detailed example to illustrate the behavior>

    Best,

    Yasmine

  • clarket
    clarket Registered Posts: 6 ✭✭✭

    You should rather set the column types in the Stack recipe's output schema. Since by default it infers the types from the data. Therefore, locking the schema will preserve your input data types.

  • ikr_am
    ikr_am Registered Posts: 2 ✭✭

    Hi community

    I'm experiencing the same issue. From a recipe to an other the type of my columns changes, sometimes from String to Double and others to BIGINT. BIGINT turns the columns red, Dataiku doent mention any error at the end of my scenario but my datapreparation is not correct. Do you have any alternative solution to lock the scema from the import of my datasource untill the end of the scenario?

Setup Info
    Tags
      Help me…