Answered Questions

  • How to achieve the below scenario in abinitio

    Input file has below contents: Ball Run 1 1 2 1 3 1 4 1 5 1 6 1 1 0 2 1 3 1 4 1 5 1 6 1 1 1 2 1 3 1 4 1 5 1 6 0 Required Output : 1 6 2 5 3 5

    Nishad

    • Nov 1st, 2023

    Input -> rollup -> output
    rollup transformation:
    out :: rollup(in) =
    begin
    out.over :: next_in_sequence();
    out.run :: sum(in.run);
    end;
    out :: key_change(in1, in2) =
    begin
    out :: in1.ball==6;
    end;

    MJ

    • Sep 12th, 2019

    It will give wrong result. You should use "in2.ball%6==0"