- Check data/raw directory for all
raw product sales
data. Each file is in csv format
, and each entry follow below spark
schema:
root
|-- ProductName: string (nullable = true)
|-- Category: string (nullable = true)
|-- Price: double (nullable = true)
|-- Quantity: integer (nullable = true)
|-- Date: date (nullable = true)
root
|-- TotalSalesQuantity: long (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- TotalSalesDay: long (nullable = false)
root
|-- Category: string (nullable = true)
|-- TotalSalesQuantity: long (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- TotalSalesDay: long (nullable = false)
root
|-- Date: date (nullable = true)
|-- TotalSalesQuantity: long (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
root
|-- ProductName: string (nullable = true)
|-- TotalSalesQuantity: long (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- TotalSalesDay: long (nullable = false)
|-- AverageSellingPrice: double (nullable = true)
root
|-- Date: date (nullable = true)
|-- TotalSalesQuantity: integer (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- RunningTotalSalesQuantity: long (nullable = true)
|-- RunningTotalSalesAmount: double (nullable = true)
root
|-- Date: date (nullable = true)
|-- TotalSalesQuantity: integer (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- RunningTotalSalesQuantity: long (nullable = true)
|-- RunningTotalSalesAmount: double (nullable = true)
root
|-- Date: date (nullable = true)
|-- TotalSalesQuantity: integer (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- RollingAverageSalesQuantity: double (nullable = true)
|-- RollingAverageSalesAmount: double (nullable = true)
root
|-- Date: date (nullable = true)
|-- TotalSalesQuantity: integer (nullable = true)
|-- TotalSalesAmount: double (nullable = true)
|-- RollingAverageSalesQuantity: double (nullable = true)
|-- RollingAverageSalesAmount: double (nullable = true)