Skip to content

#24 Local Postgres to Dune task#35

Merged
mooster531 merged 4 commits intomainfrom
dune-sync-24
Nov 3, 2024
Merged

#24 Local Postgres to Dune task#35
mooster531 merged 4 commits intomainfrom
dune-sync-24

Conversation

@mooster531
Copy link
Copy Markdown
Collaborator

No description provided.

@mooster531 mooster531 marked this pull request as ready for review November 3, 2024 14:09
@mooster531 mooster531 requested a review from bh2smith November 3, 2024 14:09
Copy link
Copy Markdown
Owner

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good pending bytea consideration.

Comment on lines +38 to +39
df = extract_data_from_postgres(env, job)
return load_data_into_dune(df, env, job)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only thing missing here is a transformation of bytea columns to 0x prefixed hex strings. And a test for such a type.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added that transformation and reflected it in the test fixture.

@mooster531 mooster531 merged commit e5282ca into main Nov 3, 2024
@mooster531 mooster531 deleted the dune-sync-24 branch November 3, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants