There are two ways Pig can work with relational datasets.
Load relational data directly into the Hadoop framework, where Pig can access it.
Using database connectors, Pig can load data directly from a relational database system and we can access it.