hive UDTF generating always a single row