Skip to content

Module : Libraries (lib)

Nuwan Waidyanatha edited this page Sep 7, 2023 · 2 revisions

Introduction

The lib module offers supporting libraries for the functional modules.

execSession

Apache Spark requires a session instance. For example, for creating a spark Dataframe. While sparkRDBM and sparkNoSQL create specific sessions, this package doesn't require all the database connection information.

   from rezaware.modules.lib.spark import execSession
   mySession = execSession.session