Using Hive with Pig
Asked Answered
C

1

4

My hive query has multiple outer joins and takes very long to execute. I was wondering if it would make sense to break it into multiple smaller queries and use pig to work the transformations.

Is there a way I could query hive tables or read hive table data within a pig script?

Thanks

Clatter answered 27/9, 2010 at 5:31 Comment(0)
O
2

The goal of the Howl project is to allow Pig and Hive to share a single metadata repository. Once Howl is mature, you'll be able to run PigLatin and HiveQL queries over the same tables. For now, you can try to work with the data as it is stored in HDFS.

Note that Howl has been renamed to HCatalog.

Outbuilding answered 4/10, 2010 at 11:22 Comment(1)
Thanks, will wait for Howl :)Clatter

© 2022 - 2024 — McMap. All rights reserved.