Skip to content

Commit

Permalink
Merge pull request #38 from SandhraSokhal/PLFM-8051
Browse files Browse the repository at this point in the history
PLFM-8051
  • Loading branch information
marcomarasca authored Sep 25, 2023
2 parents 541462b + ac2d92d commit 7f79e6d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/glue_jobs/team_member_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def main():
mapped_frame = input_frame.apply_mapping(
[
("changeTimestamp", "bigint", "change_timestamp", "timestamp"),
("changeType", "string", "change_type", "string"),
("userId", "bigint", "change_user_id", "bigint"),
("snapshotTimestamp", "bigint", "snapshot_timestamp", "timestamp"),
# Note that we map the same timestamp into a bigint so that we can extract the partition date
("snapshotTimestamp", "bigint", "snapshot_date", "bigint"),
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/glue_jobs/team_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def main():
mapped_frame = input_frame.apply_mapping(
[
("changeTimestamp", "bigint", "change_timestamp", "timestamp"),
("changeType", "string", "change_type", "string"),
("userId", "bigint", "change_user_id", "bigint"),
("snapshotTimestamp", "bigint", "snapshot_timestamp", "timestamp"),
# Note that we map the same timestamp into a bigint so that we can extract the partition date
("snapshotTimestamp", "bigint", "snapshot_date", "bigint"),
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/glue_jobs/user_group_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def main():
mapped_frame = input_frame.apply_mapping(
[
("changeTimestamp", "bigint", "change_timestamp", "timestamp"),
("changeType", "string", "change_type", "string"),
("userId", "bigint", "change_user_id", "bigint"),
("snapshotTimestamp", "bigint", "snapshot_timestamp", "timestamp"),
# Note that we map the same timestamp into a bigint so that we can extract the partition date
("snapshotTimestamp", "bigint", "snapshot_date", "bigint"),
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/glue_jobs/user_profile_snapshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
mapped_frame = input_frame.apply_mapping(
[
("changeTimestamp", "bigint", "change_timestamp", "timestamp"),
("changeType", "string", "change_type", "string"),
("userId", "bigint", "change_user_id", "bigint"),
("snapshotTimestamp", "bigint", "snapshot_timestamp", "timestamp"),
# Note that we map the same timestamp into a bigint so that we can extract the partition date
("snapshotTimestamp", "bigint", "snapshot_date", "bigint"),
Expand Down

0 comments on commit 7f79e6d

Please sign in to comment.