Using PySpark to calculate Orders and Promotion in Incorta


First of all, I have an OnlineBookStore database. I have Orderitems and Promotion tables.



Orderitems Table:


Promotion Table:


I want to calculate the total price of each order from the Orderitems table. Then compare with promotion and find the corresponding gift. So I used PySpark calculate Order Amount in Incorta.






OrderAmount Table:

Comments

Popular posts from this blog

How to create fiscal calendar in Incorta?(Part 2)

How to create histogram in Incorta use bin function.

Using Incorta and PySpark Linear Regression ML package to predict eCommerce Customer