Hive's function explode is documented here It is essentially a very practical function that generates many rows from a single one. Its basic version takes a column whose value is an array of values and produces a copy of the same row for each of those values.
I wonder whether such a thing exists in Impala. I haven't been able to find it in the documentation.