Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: schema for persistence provenance and function to store the dataflow graph #75

Merged
merged 15 commits into from
Dec 11, 2024

Conversation

Shofiya2003
Copy link
Contributor

  • This PR adds a command to store the provenance in SQL database
  • Created tables for persistent provenance

@Shofiya2003 Shofiya2003 marked this pull request as draft November 15, 2024 14:59
@Shofiya2003 Shofiya2003 changed the title feat:created a command to store the provenance of a command in sql db feat: schema for persistence provenance and function to store the dataflow graph Nov 22, 2024
@Shofiya2003
Copy link
Contributor Author

  • Removed the inode, process_id as composite primary keys as different versions have the same value for these attributes.

@Shofiya2003 Shofiya2003 marked this pull request as ready for review November 22, 2024 22:34
@Shofiya2003
Copy link
Contributor Author

Shofiya2003 commented Nov 22, 2024

Tested using the command:

probe record -f sh -c '
  sh -c "echo hello > A.txt"
  sh -c "echo world > B.txt"
  sh -c "cat A.txt B.txt > C.txt"
'

Creates 4 processes:
image
2 inpute nodes: (ProcessInputs)
image
and multiple versions of A.txt, B.txt and C.txt are in ProcessThatWrites (Output Nodes)

Copy link
Owner

@charmoniumQ charmoniumQ left a comment

Choose a reason for hiding this comment

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

Minor changes (wip)

@charmoniumQ charmoniumQ merged commit 86c3dce into charmoniumQ:main Dec 11, 2024
1 check passed
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