Skip to content

Commit

Permalink
etl
Browse files Browse the repository at this point in the history
  • Loading branch information
siliconshells committed Dec 14, 2024
1 parent 13c1dce commit 01bbcdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions my_lib/lib.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import sys

sys.path.append("/Workspace/Workspace/Shared/Leonard_Eshun_Mini_Project_Eleven/my_lib/")

from util import log_tests
from load import static_data
from pyspark.sql import SparkSession
Expand All @@ -12,6 +9,8 @@
FloatType,
)

sys.path.append("/Workspace/Workspace/Shared/Leonard_Eshun_Mini_Project_Eleven/my_lib/")


def get_a_session():
spark = SparkSession.builder.appName("CreateDataFrameWithSchema").getOrCreate()
Expand Down
4 changes: 0 additions & 4 deletions my_lib/load.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
"""
Transform the extracted data
"""

import json
from pyspark.sql import SparkSession
from pyspark.sql.types import (
Expand Down

0 comments on commit 01bbcdd

Please sign in to comment.