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 07-15-2022 07:35 PM
Hi folks,
Can I use the below script in Ozzie workflow?
WITH order_data (order_date, product_name, amount)
AS (
SELECT
order_date,
product_name,
SUM(i.quantity * i.list_price * (1 - discount))
FROM sales.orders o
INNER JOIN sales.order_items i
ON i.order_id = o.order_id
INNER JOIN production.products p
ON p.product_id = i.product_id
GROUP BY order_date,
product_name
)
SELECT * FROM order_data;
Created 07-26-2022 06:01 PM
@newbieoneWas the above query working fine in hs2(beeline) ? If yes then you can use the oozie-hive action to run the query.
Created 07-26-2022 06:01 PM
@newbieoneWas the above query working fine in hs2(beeline) ? If yes then you can use the oozie-hive action to run the query.
Created 07-27-2022 04:24 AM
Created 07-27-2022 07:44 AM
@newbieone, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.
Regards,
Vidya Sargur,