Full text
Article Advancing Logistics 4.0 with the implementation of a Big Data Warehouse: a Demonstration Case at the Automotive Industry Nuno Silva 1,* , Júlio Barros 1, Maribel Y. Santos 1, Carlos Costa 1, Paulo Cortez 1, M. Sameiro Carvalho 1, João N. C. Gonçalves 1 Citation: Lastname, F.; Lastname, F.; Lastname, F. Title. Electronics 2021,1, 0. https://doi.org/ Received: Accepted: Published: Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Submitted to Electronics for possible open access publication under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/ 4.0/). 1ALGORITMI Research Centre, University of Minho, Guimarães 4800–058, Portugal *Correspondence: [email protected] Abstract: The constant advancements in Information Technology have been the main driver of 1 the Big Data concept’s success. With it, new concepts like Industry 4.0 and Logistics 4.0 are rising. 2 Due to the increase in data volume, velocity, and variety, organizations are now looking to their 3 data analytics infrastructures and searching for approaches to improve their decision-making 4 capabilities, in order to enhance their results using new approaches such as Big Data and Machine 5 Learning. The implementation of a Big Data Warehouse can be the first step to improve the 6 organizations’ data analysis infrastructure and start retrieving value from the usage of Big Data 7 technologies. Moving to Big Data technologies can provide several opportunities for organizations, 8 such as the capability of analysing an enormous quantity of data from different data sources 9 in an efficient way. However, at the same time, different challenges can arise, including data 10 quality, data management, lack of knowledge within the organization, among others. In this work, 11 we propose an approach that can be adopted in the logistics department of any organization 12 in order to promote the Logistics 4.0 movement, while highlighting the main challenges and 13 opportunities associated with the development and implementation of a Big Data Warehouse in a 14 real demonstration case at a multinational automotive organization.15 Keywords: Big Data; Data Warehouse; Logistics 4.0; Industry 4.0; Implementation.16 1. Introduction17 The explosion of the Information Technologies area has been the driver that launched 18 new concepts such as Big Data and Industry 4.0 into the spotlights. The concept of In- 19 dustry 4.0 relies in the digitization of the production systems to provide the capability 20 of producing customized products within a short time and with costs similar to mass 21 production scenarios [ 1 ]. This factor has a tremendous impact in the organizations’ 22 logistics due to the need of reacting to the sudden changes made by the customers.23 Logistics 4.0 can be defined as ”... the logistical system that enables the sustainable 24 satisfaction of individualized customer demands without an increase in costs and supports this 25 development in industry and trade using digital technologies”[ 2 ]. Such initiative is needed 26 to improve the link between the manufacturers and the customers, in order to avoid 27 failures in the manufacturing system [2].28 Big Data technologies, with their capability of analysing massive volumes of diverse 29 data flowing at high velocity, has an important role in the implementation of these new 30 concepts (Industry 4.0 and Logistics 4.0) and in the resolution of their main associated 31 challenges [3].32 With the implementation of Big Data technologies became possible to perform tasks 33 that involves a massive quantity of data at high speeds such as providing a supply chain 34 control with real-time data, inventory control and management, improving forecasting35 models, among others [1].36 Along with the influence of concepts like Industry 4.0 and Logistics 4.0, the in- 37 vestments in Big Data technologies are being stimulated making them more stable and 38 Version July 28, 2021 submitted to Electronics https://www.mdpi.com/journal/electronics
Version July 28, 2021 submitted to Electronics 2 of 17 mature, ready to be implemented inside the organizations and became part of their 39 business.40 A vast range of organizations, from diverse types of business, are now trying 41 to evolve their data analyses infrastructures to this new era, advancing their Data 42 Warehouses (DWs) based on a more rigid data model to the new concept of Big Data 43 Warehouses (BDWs) with a more dynamic data model.44 This work aims to demonstrate how the implementation of a Big Data Warehouse 45 (BDW) in a logistics context can drive forward the concept of Logistics 4.0 and improve 46 the organization performance. The contributions of this work are: Propose a general 47 approach that can be adopted in the logistics departments of several organizations; 48 Propose a logical and technological architecture that supports the BDW and data analysis; 49 Propose a data model for a logistics BDW; Demonstrate the challenges and opportunities 50 that emerge throughout the development and implementation of a BDW in the logistics 51 department.52 A demonstration case will be presented, having been the same developed inside 53 of a multinational automotive organization by taking advantage of their existing data 54 platform.55 This work is structured as follow: Section 2provides the published works related to 56 BDW and their architectures; Section 3presents the suggested architecture to solve this 57 problem; Section 4describes the organization reality and the tasks performed to accom- 58 plish the goal; Section 5presents the results accomplished fowled by a discussion where 59 the challenges and opportunities are highlighted; Section 6shows the final conclusions60 and future work.61 2. Related work62 With the implementation of concepts like Industry 4.0 and Logistics 4.0, it becomes 63 important to endow the organizations’ data analyses infrastructure with the capability 64 of retrieving, transforming and analysing massive amounts of data at high velocity. 65 Before the establishment of the Big Data concept, organizations had their data analyses 66 infrastructure based in DWs where the data model was rigid and structured in order to 67 provide the best performance when data were inquired.68 Nowadays, Big Data technologies, due to their capacity for distributed processing69 and storage, allow us to have more dynamic data models with less rigid structures, 70 maintaining high performance even with massive volumes of data.71 To implement Big Data technologies, we can follow two different approaches: “the 72 lift and shift” and the “rip and replace”. “The lift and shift” strategy means that we 73 replace or extend parts of the existing infrastructure with Big Data technology to improve 74 its capabilities and to solve specific problems. This may result in a use case approach 75 instead of a data-driven approach, which can lead to uncoordinated data silos. The “rip 76 and replace” approach means that the existing Data Warehouse (DW) is totally replaced 77 by Big Data technologies [4].78 Independently of these two strategies, there are several architectures and technolo- 79 gies, that can be used to implement a BDW. The use of different types of Not Only SQL 80 (NoSQL) databases, such as document-oriented and column-oriented [ 5 ] or graph mod- 81 els [ 6 ] can be used to store the different types of data in the BDW. In the literature, we can 82 find different architectures that can be used in a BDW, such as the Lambda architecture 83 [ 7 ] and the NIST Big Data Reference Architecture (NBDRA) [ 8 ]. The Lambda architecture 84 has three layers and unifies, in a single software design pattern, the batch and real-time 85 data processing concerns. The three layers presented in the Lambda architecture are 86 batch processing, real-time computing, and a layer to query the data. This division 87 between batch processing and real-time processing allows differentiating data according 88 to their nature and relevance to the business. In this way, it is possible to immediately 89 process the data that is needed in time, while data that is only needed in the long run 90 can be processed later [7].91
Version July 28, 2021 submitted to Electronics 3 of 17 The NBDRA is presented by its authors as a common reference that can be im- 92 plemented using any Big Data technology or service provider. It is divided into the 93 following five components: System orchestrator; Data provider; Big Data application 94 provider; Big Data framework provider; and Data consumer. The system orchestrator 95 is the component that establishes the requirements for all the infrastructure, including, 96 among others, architectural design, business requirements, and governance. The data 97 provider is the component that makes data accessible through different interfaces. The 98 Big Data application provider deals with all the necessary tasks to manipulate data 99 through its life cycle. The Big Data framework provider consists of several services or 100 resources that are used by the Big Data application provider. The data consumer is the 101 entity that will take advantage of all the data processing made by the Big Data system 102 [ 9 ]. Using the NBDRA and the Lambda Architecture as a reference, Santos and Costa [ 9 ] 103 created an approach to develop BDWs.104 Several examples demonstrate the capacity of Big Data technologies for improving 105 the analytical capabilities of organizations. Chou et al [ 10 ] propose a system architecture 106 based on Hadoop, Sqoop, Spark, Hive and Impala to analyse data from electrical grids. 107 Sebaa et al [ 11 ] present an architecture based on the Hadoop ecosystem and a conceptual 108 model to develop a BDW in the Healthcare field. Santos et al [ 12 ] present a demonstration 109 case where it was applied a Big Data architecture and a set of rules to evolve from a 110 traditional DW to a BDW.111 These examples demonstrate how Big Data technologies can be used in collabora- 112 tion with traditional DWs or even replacing them, both aiming to improve the analytical 113 capabilities of the organizations.114 3. Propose Architecture for a Logistics 4.0 Big Data Warehouse115 In this section, it is presented the logical (3.1) and technological (3.2) architectures 116 that can be used to implement a BDW for the Logistics 4.0 movement.117 3.1. Logical Architecture118 The main goal of this BDW is to be an analytical repository containing a substantial 119 amount of data, in order to support the daily activities of the logistics decision-makers 120 in the logistics 4.0 era.121 Two of the key factors in Logistics 4.0 are the real-time exchange of information 122 between all the actors in the supply chain and the real-time Big Data analytics of vehicles, 123 products and facilities location [3].124 The exchange of information between all actors in the supply chain can originate 125 diverse data sources with different types of data that need to be stored and analysed in 126 one central repository in order to be easily accessible by practitioners. The same happens 127 with the real-time Big Data analytics of the diverse supply chain components (vehicles, 128 products, and facilities location). Considering this, the real-time characteristics can be 129 important, nevertheless, it is necessary to adapt to the organizational requirements. Real- 130 time analytics can be a different concept from one organization to other. For example, 131 for one organization, the requirements of real-time can be to have access to data in less 132 than ten seconds, but for other organization, it can be to access the data in less than 133 two minutes. Moreover, some organizations still do not have the need of creating an 134 architecture that takes into consideration the real-time requirements.135 In our demonstration case, the organization does not have the requirement of 136 real-time analysis, so the architecture presented in Figure 1does not incorporate that 137 component. Nevertheless, due to the relevance of real-time in Logistics 4.0, it may be 138 relevant to implement and validate that component in future work.139 As can be seen in Figure 1, the logical architecture has the following components:140 • Sandbox Storage: where the raw data is stored in a distributed file system before 141 any transformation. This component is divided into two layers: Update Layer and 142 Backup Layer. The Update Layer contains the up-to-date data retrieved from the 143
Version July 28, 2021 submitted to Electronics 4 of 17 Big Data Cluster Enrichment Sandbox Storage Big Data Warehouse Data Transformations Import data Visualization Tools Data Connector Storage Metadata DFS Coordinator ; Resources Manager ; Workflows Data Source Databases Web Applications Files Enrichment Enrichment Machine Learning Metastore Data Layer Entity B Entity CEntity A Application Layer Application A Join A-C Application B Join B-C Update Layer Uncompressed files Backup Layer Compressed files DFS Update Layer Uncompressed files Backup Layer Compressed files Figure 1. Logical architecture sources, while the Backup Layer contains compressed outdated data to be used in 144 case of necessity.145 • BDW Storage: where data is stored in the distributed file system and accessible 146 using the metastore after being transformed. This component has two layers with 147 the same functionality as the Sandbox Storage layers: i) a layer that provides 148 updated data, ii) and another layer to provide a backup in case of problems with 149 the new data.150 • Machine Learning component: uses raw data from the Sandbox storage or clean 151 data from the BDW to create predictions, in order to enrich the data and store 152 it in the Sandbox Storage or in the BDW to provide predictive capabilities for 153 the organization. This component can increase the organization’s capabilities to 154 understand and predict changes in their supply chain and be capable to adapt 155 quickly.156 • Metastore: provides an interface to access the stored data. This component is 157 divided into two layers: i) the data layer where the data is modelled using a 158 data-driven approach, and; ii) the application layer where we have the necessary 159 materialized objects or views to answer the needs of specific applications. The 160 existence of these two layers provides some advantages. One of these advantages 161 is the capability of creating several abstractions on top of the data layer, providing 162 a simple and fast way to access the data. In this application layer, each application 163 can have its own views or tables (materialized objects), increasing the performance 164 when accessing the data. Moreover, if the organization has different teams working 165 in different applications, if necessary, each team can create the necessary tables or 166 views for their own application, providing higher business agility.167 • The Coordinator, Resources Management and Workflows provide functionalities to 168 manage the Big Data Cluster and the data life cycle. The Coordinator and Workflow 169 allow the creation of diverse jobs or tasks that can be submitted in the desired order. 170 The Resource Manager distributes the clusters resources to process the jobs.171 Outside the BD Cluster, we can find the data sources that provide the raw data to 172 be used in the BDW and the Visualizations Tools where dashboards are developed to 173 present the results to the users.174 3.2. Technological Architecture175 Due to the need of analysing big quantities of data in the most efficient way, new 176 technologies that use the power of distributed processing and storage have gained 177 significant attention. Probably the most well-known technology in this context, which 178
Version July 28, 2021 submitted to Electronics 5 of 17 can arguably be seen as the originating driver of the Big Data movement, is Apache 179 Hadoop 1 , where data can be stored in the Hadoop Distributed File System (HDFS) [ 13 ] 180 and then processed using the Map and Reduce [ 14 ] programming model. Several other 181 technologies such as Sqoop 2 , Hive [ 15 ], Spark [ 16 ], and Impala 3 [ 17 ], among others, are 182 being constantly developed to tackle specific problems in the Big Data ecosystem. These 183 technologies allow the practitioners to retrieve data from the data sources, store it with184 appropriate metadata and then processing it, in order to provide useful knowledge to 185 the end-users.186 Currently, in the Big Data world, the amount of Big Data technologies is overwhelm- 187 ing and sometimes can be difficult to understand and choose the right technology for the 188 right job. For example, for data collection, technologies such as Flume, Kafka, or Talend 189 can be used. For data preparation and enrichment, we can use Spark or Storm. For data 190 storage, Hive with HDFS, NoSQL databases, or Kudu can be used. For machine learning 191 tasks, we can use Spark, H2O, and TensorFlow [ 18 ]. For query engines, Impala, Presto, 192 or Drill can be used. For data visualization, tools like Tableau, Power BI, JavaScript can 193 be used [19].194 Due to the organizational requirements and due to the technologies available in 195 the organization depicted in this demonstration case, the technological architecture 196 presented in Figure 2was used to support this demonstration case. Nerveless this 197 technological architecture can be used inside others organization’s logistics departments, 198 assuming the goals and requirements are similar to the ones depicted in this work. In 199 case of distinct requirements, some technologies could be adjusted. Regarding data 200 ingestion from the sources, this work uses Sqoop. Despite the fact that Sqoop can only 201 connect to structured databases [ 20 ], due to the fact that, for this demonstration case, the 202 organization’s data sources were only SQL databases, there was no need to use another 203 technology to ingest the data. After the data is retrieved from the sources, the same 204 is stored in HDFS, using the Parquet format, which is one of the several formats that 205 can be used to store data in HDFS. Other formats that can be used are, for example, 206 ORC or AVRO [ 21 ]. Parquet was chosen not only due to its adequate compatibility 207 with Spark and Impala technology but also due to its read-oriented format and with 208 adequate compression, which will bring advantages when we need to query the data [ 22 ]. 209 Moreover, it was necessary to develop a Bash script in order to provide a mechanism to 210 create data backups in the Sandbox Storage and in the BDW.211 Spark was the chosen framework due to its data cleansing and transformation 212 capabilities and due to the capability to develop several machine learning models. Spark 213 has the SparkSQL [ 23 ] library that allows the use of SQL functions in conjunction with 214 the Spark programming API and complex libraries such as Spark MlLib [ 24 ]. Being able 215 to perform all these tasks in one unique framework is a significant advantage, since, in 216 this way, it is not necessary to spend more time using and learning different technologies. 217 Moreover, Spark is compatible with Parquet files and Hive, which will be used to provide 218 the data and metadata to the end-users.219 Hive includes the Hive Metastore (the system catalog) where the metadata (schema 220 and other statistics) are stored, allowing proper data exploration and query optimizations 221 [ 15 ]. Hive allows the creation of external tables where data is stored in HDFS directories 222 and its life cycle is not managed by Hive [ 15 ]. Within Hive, we create two levels of 223 interaction with the data. In the first level, the data is modelled using a data-driven 224 approach where the core entities (such as Needs, Stocks, Products, among others) and 225 other entities like Date and Time are stored. This layer allows ad hoc access to the data 226 from these entities to be used by any team or project. In the second layer, the application 227 layer, a new set of objects (materialized tables or views), oriented to the applications’ 228 1https://hadoop.apache.org/ 2https://sqoop.apache.org/ 3https://impala.apache.org/
Version July 28, 2021 submitted to Electronics 6 of 17 Enrichment Sandbox Storage Big Data Warehouse Data Transformations Import data Visualization Tools SQL on Hadoop Storage Metadata Coordinator ; Workflows Enrichment Enrichment Machine Learning Resources Manager Metastore Data Layer Entity B Entity CEntity A Application Layer Application A Join A-C Application B Join B-C Update Layer Uncompressed files Update Layer Uncompressed files Data Source Databases Bash Script Backup Layer Compressed files Bash Script Backup Layer Compressed files Figure 2. Technological architecture needs, are created to provide access to the specific data that each application or project 229 needs. This will provide more personalized access to the data that will increase the 230 application performance and higher business agility, thus each team can create their own 231 tables or views as they need.232 Impala provides a massively parallel processing (MPP) SQL engine that combines 233 the flexibility and scalability of Hadoop with the familiarity of SQL and has proven 234 to be generally faster than Spark or Hive according to Qin et al [ 25 ] and to Bittorf et 235 al [ 17 ]. Impala can too be used to query data from HBase and provide a connection 236 to visualization applications, such as Tableau or Power BI, where dashboards can be 237 developed to present to the end-user the knowledge retrieved from the data [17].238 This technological architecture supports all the requirements of this project, granting 239 that we can allow the data analysis team to provide knowledge to be used by the end- 240 users, in order to support their decisions and therefore improving the organization’s 241 results. Moreover, it can be used in other Logistics 4.0 projects to create a new centralized 242 repository that aggregates different data sources and requires predictive capabilities.243 4. Demonstration Case244 The application domain addressed in this paper is the Logistics Innovation Depart- 245 ment of an automotive factory. In this context, the logistics department handles large 246 volumes of data related to nearly 7000 raw materials from a set of about 400 suppliers 247 spread all over the globe, which impact the production of about 1100 finished products. 248 With regard to internal logistics management, the department is responsible for moni- 249 toring and analysing data and material movements referring to approximately 85 daily 250 scheduled deliveries, in order to ensure the supply of material necessary for the proper 251 functioning of about 100 production lines associated with various high-service level 252 customers. In light of the complexity of the organization’s supply chain topology, the 253 organization intends to foster the proposal, development and evaluation of Big Data 254 Analytics tools capable of integrating and automating a large part of the logistics pro- 255 cesses that, until now, are managed by conventional spreadsheets extracted from classic 256 and parameterizable material requirements planning (MRP) methodologies existing in a 257 given enterprise resource planning (ERP) system.258 It is an essential department inside of a production facility and deals on a daily 259 basis with orders, deliveries, delays, production plans, inventory, among other processes. 260 These business processes are crucial to maintain the production lines working and to 261 deliver in time the finished goods to the clients. It is a complex and enormous department 262 with countless business processes.263
Version July 28, 2021 submitted to Electronics 7 of 17 Due to this complexity, the implementation of a BDW needs to be addressed in an 264 interactive way, choosing one process at a time, looking at the data sources, selecting the 265 appropriated attributes and modelling the data in a data-driven approach that has as a 266 final goal an integrated BDW supporting Logistics 4.0.267 Therefore, in this specific case, to start the BDW proposal we analysed the processes 268 that should be considered the core component of this BDW. With the collaboration of 269 key experts in the logistics department, the following processes were selected: Product 270 Inventory, Delivery, Purchase Order, and Needs. This is the first task in the development 271 process presented in Figure 3272 These processes will be the main drivers of the analytical objects in the BDW. Besides 273 these objects, other objects will be created, such as a spatial object with information 274 related to countries, Date and Time objects, and complementary analytical objects such275 as Product, Plant and Vendor. Each one of these processes are supported by one or 276 more tables in the Enterprise Resource Planning (ERP) used by the organization. These 277 different types of objects are explained later in this section.278 The understanding and selection of the business processes, together with the under- 279 standing and selection of the data sources compose the first activity of the development 280 process (Figure 3) called Data Understanding. In this activity it is necessary to under- 281 stand the data from the data sources, namely the tables associated to each business 282 process, how they are related, their private and foreign keys, the meaning and possible283 values of each attribute, among other steps. The second task is to select what tables will 284 be used to develop the BDW.285 The next activity is related to the "Data Quality" activity. Data quality is one of the 286 most important tasks in data-related projects. In this case, this activity has significant 287 importance due to the complexity of the data sources and their high number of attributes. 288 For example, some transactional tables have more than 200 attributes, although many 289 of them are not used. In our demonstration case, data quality criteria were defined to 290 verify if an attribute will be used in the BDW. In this specific case, we established that 291 any attribute with more than 90% of empty or nulls values will not be used. This rule 292 was essential to limit the number of used attributes, excluding the ones that have low 293 analytical value. Another rule that was used was to manually verify if the attributes 294 with only one or two distinct values were worth to use. All these rules were defined 295 considering the organizational and decision-making context. The next step was to 296 produce the data quality reports through the execution of several spark jobs that analysed 297 the data extracted from HDFS. The attributes that will be part of the BDW are selected 298 applying the previously defined data quality criteria.299 Data Modeling Data Quality Data Understanding Understand and select business processes Understand and select data sources Define data quality criteria Produce data quality reports Apply data quality criteria Select relevant attributes Identify Analytical Objects Identify Complementary Analytical Objects Identify Descriptive and Analytical Families Identify Spatial Objects Identify Time Objects Identify partition keys Figure 3. Development process After the Data Understanding and the Data Quality, it was possible to model the 300 BDW. To do that, the modelling methodology presented by Santos and Costa [ 9 ] was 301 applied in order to propose a data model capable of integrate a significant amount of 302
Version July 28, 2021 submitted to Electronics 8 of 17 data. The methodology is based on the creation of the following objects: Analytical 303 Objects, Complementary Analytical Objects, Spatial Objects, Time Object, and Date 304 Object.305 An Analytical Object is a subject of interest, highly denormalized and that can 306 answer queries by itself avoiding joins with other objects. These objects are directly 307 related to the business processes such as sales or deliveries and should be the firsts to 308 be analysed and identified in order to verify if it is necessary, or not, to create Com- 309 plementary Analytical Objects. A Complementary Analytical Object is an object that 310 includes attributes usually used or shared by different Analytical Objects and that can 311 be used to complement the analysis of other objects, such as the Analytical Objects. Each 312 object can be divided into two distinct parts, the descriptive and analytical families. 313 These families provide a logical group for the object attributes depending on their type 314 and purpose. The descriptive family group all the attributes that can provide different 315 views of analysis, while the analytical family group the attributes with values to analyse 316 the object. These objects can be integrated with the use of join operations [ 9 ]. Figure 317 4presents the data model identified with the application of this methodology. Due to 318 privacy concerns, it is only possible to disclose some of the attributes present in the 319 several objects This data model was developed in the logistics context of this specific 320 factory but can be used as starting point for any logistics department of any organization. 321 The Analytical Objects used in this work are: Product Inventory that has all infor- 322 mation about the stocks of each product; Deliveries that has information about when 323 each order is delivered; Purchase Order that has information about how many products 324 are ordered; and Needs that has information about production lines needs.325 The Time and Date objects were created from scratch and populated with informa- 326 tion related to each one. For example, in the Date object, we created boolean attributes 327 such as week_day, weekend, summer, winter, monday, tuesday, and others. In the Time 328 object, attributes such as lunch-time, in-office, out-office, rush hour, were created. This 329 allowed us to analyse the relevant information and contextualize it in time and date.330 The Complementary Analytical Objects had emerged in the data modelling process 331 due to the need of analysing different Analytical Objects using data from the Complemen- 332 tary Analytical Objects. In these objects were stored relevant and specific information 333 that can provide useful information when used together with data from several Analyti- 334 cal Objects. From these objects, we can highlight the following: Plant, Product Valuation, 335 and Vendor.336 The object Country is a Spatial Object due to the geographical domain that includes 337 information from the transactional database and from a JSON file (already stored in 338 HDFS) with more information, such as the continent name.339 The implementation process presented in Figure 5starts with the data extraction 340 performed using Sqoop and Oozie Workflows and all data was stored in a HDFS directory 341 called Sandbox. This Sandbox directory allows the storage of all raw data and it is 342 divided into sub-directories where each data source has its own directory and is divided 343 into tables or entities. In this demonstration case, two data sources were used, the 344 transactional database and a JSON file.345
Version July 28, 2021 submitted to Electronics 9 of 17 << Analytical Object >> Needs Outsourced Descriptive Families + Plant + Product Descriptive Families + Needs reservation_number (GK) reservation_item_number (GK) requirement_type material_number plant_key storage_location production_supply_area base_unit_measure (...) + Date component_requirement_date latest_requirement_date (...) Analytical Families requirement_quantity quantity_withdrawn value_withdrawn quantity_entry_unit (...) << Complementary Analytical Object >> Product Outsourced Descriptive Families + Plant (GK) Descriptive Families + Product material_number (GK) complete_material_maint_status maintenance_status material_type industry_sector material_group (...) + Date created_on last_change_date (...) Analytical Families gross_weight net_weight volume length (...) << Complementary Analytical Object >> Plant Outsourced Descriptive Families + Country Descriptive Families + Plant plant_key (GK) valuation_area factory_calendar_key street_and_number postal_code city (...) + Date valid_from (...) << Spatial Object >> Country Descriptive Families + Country country_key (G.K) vehicle_country_key language_key country_version_flag print_country_name_flag (...) << Complementary Analytical Object >> Vendor Outsourced Descriptive Families + Plant (GK) Descriptive Families vendor_number (GK) country_key name city postal_office_box postal_office_box_postal_code (...) + Date master_record_creation_date record_creation_date (...) Analytical Families minimum_order_value (...) << Time Object >> Time Descriptive Families + Time time (GK) hour minute lunch_time in_office out_of_office rush_hour << Analytical Object >> Product_Inventory Outsourced Descriptive Families + Plant + Product Descriptive Families + Product_Inventory warehouse_number (GK) quant_code (GK) material_number plant_key stock_cat_warehouse_mngmt_sys special_stock_indicator special_stock_number storage_type (...) + Date last_movement_date last_placement_stock_date last_stock_removal_date (...) + Time last_movement_time last_placement_stock_time (...) Analytical Families total_quantity available_stock remove_quantity (...) << Analytical Object >> Purchase_Order Outsourced Descriptive Families + Plant + Vendor Descriptive Families + Purchase_Order purchasing_doc_number (GK) purchasing_document_item_number (GK) deliver_schedule_line_counter (GK) company_code_header purchasing_doc_category purchasing_doc_type purchasing_doc_status item_number_interval last_item_number vendor_number (...) + Date record_creation_date purchasing_doc_date start_validity_period + Time time creation_time Analytical Families cash_discount_days_1 cash_discount_days_2 cash_discount_days_3 cash_discount_percentage_1 (...) << Date Object >> Date Descriptive Families + Date date (GK) year month day week_day weekend winter spring summer fall << Analytical Object >> Delivery Outsourced Descriptive Families + Plant + Vendor + Product Descriptive Families + Delivery delivery_num (GK) delivery_item_num (GK) shipping_receiving_point delivery_type order_combination_indicator delivery_item_cat material_number (...) + Date planned_goods_movement_date loading_date record_creation_date material_availability_date manufacture_date (...) + Time time_of_delivery local_goods_issue_time (...) Analytical Families total_weight statistics_exchange_rate delivered_qty_sales_unit net_weight (...) Figure 4. BDW Data Model
Version July 28, 2021 submitted to Electronics 16 of 17 Funding: This work has been supported by FCT – Fundação para a Ciência e Tecnologia within 598 the R&D Units Project Scope: UIDB/00319/2020, the doctoral scholarship grant:599 PD/BDE/142895/2018 and PD/BDE/142900/2018.600 Acknowledgments: This work has been designed using resources made by: Those Icons, Pixel 601 perfect, DinosoftLabs, Becris, Smashicons, and Freepik from www.flaticon.com.602 Conflicts of Interest: The authors declare no conflict of interest.603 References 1. Panetto, H.; Iung, B.; Ivanov, D.; Weichhart, G.; Wang, X. Challenges for the cyber-physical manufacturing enterprises of the future. Annual Reviews in Control 2019,47, 200–213. 2. Winkelhaus, S.; Grosse, E.H. Logistics 4.0: a systematic review towards a new logistics system. International Journal of Production Research 2020,58, 18–43. 3. Strandhagen, J.O.; Vallandingham, L.R.; Fragapane, G.; Strandhagen, J.W.; Stangeland, A.B.H.; Sharma, N. Logistics 4.0 and emerging sustainable business models. Advances in Manufacturing 2017,5, 359–369. 4. Costa, C.; Santos, M.Y. Evaluating several design patterns and trends in big data warehousing systems. International Conference on Advanced Information Systems Engineering. Springer, 2018, pp. 459–473. 5. Chevalier, M.; Malki, M.E.; Kopliku, A.; Teste, O.; Tournier, R. Implementing Multidimensional Data Warehouses into NoSQL. 17th International Conference on Enterprise Information Systems (ICEIS 2015) held in conjunction with ENASE 2015 and GISTAM 2015. INSTICC - Institute for Systems and Technologies of Information, Control and Communication, 2015, pp. 172–183. 6. Gröger, C.; Schwarz, H.; Mitschang, B. The Deep Data Warehouse: Link-Based Integration and Enrichment of Warehouse Data and Unstructured Content. 2014 IEEE 18th International Enterprise Distributed Object Computing Conference, 2014, pp. 210–217. doi:10.1109/EDOC.2014.36. 7. Kiran, M.; Murphy, P.; Monga, I.; Dugan, J.; Baveja, S.S. Lambda architecture for cost-effective batch and speed big data processing. Proceedings - 2015 IEEE International Conference on Big Data, IEEE Big Data 2015 2015 , pp. 2785–2792. doi:10.1109/BigData.2015.7364082. 8. NBD-PWG. NIST Big Data Interoperability Framework: Volume 6, Reference Architecture. Technical Report NIST SP 1500-6, National Institute of Standards and Technology, 2015. 9. Santos, M.Y.; Costa, C., Big Data: Concepts, Warehousing, and Analytics. In Big Data: Concepts, Warehousing, and Analytics; River Publishers, 2020; pp. 1–284. 10. Chou, S.; Yang, C.; Jiang, F.; Chang, C. The Implementation of a Data-Accessing Platform Built from Big Data Warehouse of Electric Loads. 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC), 2018, Vol. 02, pp. 87–92. doi:10.1109/COMPSAC.2018.10208. 11. Sebaa, A.; Chikh, F.; Nouicer, A.; Tari, A. Medical Big Data Warehouse: Architecture and System Design, a Case Study: Improving Healthcare Resources Distribution. Journal of medical systems 2018,42, 59. doi:10.1007/s10916-018-0894-9. 12. Santos, M.Y.; Martinho, B.; Costa, C. Modelling and implementing big data warehouses for decision support. Journal of Management Analytics 2017,4, 111–129. doi:10.1080/23270012.2017.1304292. 13. Shvachko, K.; Kuang, H.; Radia, S.; Chansler, R. The Hadoop Distributed File System. 2010 IEEE 26th Symposium on Mass Storage Systems and Technologies (MSST), 2010, pp. 1–10. doi:10.1109/MSST.2010.5496972. 14. Dean, J.; Ghemawat, S. MapReduce: Simplified Data Processing on Large Clusters. Commun. ACM 2008 ,51, 107–113. doi:10.1145/1327452.1327492. 15. Thusoo, A.; Sarma, J.S.; Jain, N.; Shao, Z.; Chakka, P.; Anthony, S.; Liu, H.; Wyckoff, P.; Murthy, R. Hive: a warehousing solution over a map-reduce framework. Proceedings of the VLDB Endowment 2009,2, 1626–1629. 16. Spark, A. Apache spark. Retrieved January 2018,17, 2018. 17. Bittorf, M.; Bobrovytsky, T.; Erickson, C.; Hecht, M.G.D.; Kuff, M.; Leblang, D.K.A.; Robinson, N.; Rus, D.R.S.; Wanderman, J.; Yoder, M.M. Impala: A modern, open-source sql engine for hadoop. Proceedings of the 7th biennial conference on innovative data systems research, 2015. 18. L’Heureux, A.; Grolinger, K.; Elyamany, H.F.; Capretz, M.A.M. Machine Learning With Big Data: Challenges and Approaches. IEEE Access 2017,5, 7776–7797. doi:10.1109/ACCESS.2017.2696365. 19. Costa, C.; Andrade, C.; Santos, M.Y., Big Data Warehouses for Smart Industries. In Encyclopedia of Big Data Technologies; Springer International Publishing: Cham, 2018; pp. 1–11. doi:10.1007/978-3-319-63962-8_204-1. 20. Aravinth, S.; Begam, A.H.; Shanmugapriyaa, S.; Sowmya, S.; Arun, E. An efficient HADOOP frameworks SQOOP and ambari for big data processing. International Journal for Innovative Research in Science and Technology 2015,1, 252–255. 21. Ivanov, T.; Pergolesi, M. The impact of columnar file formats on SQL-on-hadoop engine performance: A study on ORC and Parquet. Concurrency and Computation: Practice and Experience 2020,32, e5523. 22. Baranowski, Z.; Grzybek, M.; Canali, L.; Garcia, D.L.; Surdy, K. Scale out databases for CERN use cases. J. Phys. Conf. Ser, 2015, Vol. 664, pp. 042–002.
Version July 28, 2021 submitted to Electronics 17 of 17 23. Armbrust, M.; Xin, R.S.; Lian, C.; Huai, Y.; Liu, D.; Bradley, J.K.; Meng, X.; Kaftan, T.; Franklin, M.J.; Ghodsi, A.; Zaharia, M. Spark SQL: Relational Data Processing in Spark. Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data; Association for Computing Machinery: New York, NY, USA, 2015; SIGMOD ’15, p. 1383–1394. doi:10.1145/2723372.2742797. 24. Meng, X.; Bradley, J.; Yavuz, B.; Sparks, E.; Venkataraman, S.; Liu, D.; Freeman, J.; Tsai, D.; Amde, M.; Owen, S.; Xin, D.; Xin, R.; Franklin, M.J.; Zadeh, R.; Zaharia, M.; Talwalkar, A. MLlib: Machine Learning in Apache Spark. J. Mach. Learn. Res. 2016 , 17, 1235–1241. 25. Qin, X.; Chen, Y.; Chen, J.; Li, S.; Liu, J.; Zhang, H. The Performance of SQL-on-Hadoop Systems - An Experimental Study. 2017 IEEE International Congress on Big Data (BigData Congress), 2017, pp. 464–471. doi:10.1109/BigDataCongress.2017.68.