Sorry folks I just started using PIG a few days ago. I have no Idea how to fix this problem. Any help would be really appreciated.

is there a way to make this code independent from the number of columns? As I am trying to put it all in one column but each cell as a single cell.

```
    C= FOREACH A GENERATE FLATTEN ($1);
    D= FOREACH A GENERATE FLATTEN ($2);
    E= FOREACH A GENERATE FLATTEN ($3);
    F= FOREACH A GENERATE FLATTEN ($4);
    G= FOREACH A GENERATE FLATTEN ($5);

X= UNION C,D,E,F,G;

DESCRIBE X;
DUMP X;

```

Cheers Joe