Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-31-2016 06:17 PM
Can pig load data into HAWQ?
Created 03-31-2016 06:25 PM
great question man, apparently yes http://pivotal-field-engineering.github.io/pmr-common/pmr/apidocs/index.html?com/gopivotal/pig/HawqL...
Created 03-31-2016 06:25 PM
great question man, apparently yes http://pivotal-field-engineering.github.io/pmr-common/pmr/apidocs/index.html?com/gopivotal/pig/HawqL...
Created 04-06-2016 09:08 PM
straight out of the docs:
SET pig.splitCombination false; A = LOAD 'hawq://mdw1:5432/gpadmin' USING com.gopivotal.pig.HawqLoader('retail_demo.products_dim', 'gpadmin'); DESCRIBE A; A: {product_id: int,category_id: int,price: bigdecimal,product_name: chararray} B = LOAD 'hawq://mdw1:5432/gpadmin' USING com.gopivotal.pig.HawqLoader('retail_demo.vinyl_counts', 'gpadmin'); DESCRIBE B; B: {category_id: int,count: int} C = JOIN A BY category_id, B by category_id USING 'replicated'; STORE C INTO '$output';
Created 05-23-2016 03:07 PM
With PXF, you can do anything. Not sure PIG + HAWQ is the best combo though
Created 05-27-2016 01:40 AM
@Timothy Spann @Artem Ervits I got confirmation Pig CAN NOT load directly into HAWQ. it is not supported.
Created 05-27-2016 02:24 AM
Not supported and not possible is two different things. Docs have a clear example.