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

Bytecode removal in gremlin-python #2702

Merged
merged 4 commits into from
Aug 12, 2024
Merged

Conversation

xiazcy
Copy link
Contributor

@xiazcy xiazcy commented Aug 1, 2024

Replaced bytecode with gremlin lang scripts in gremlin-python, similar to what's been implemented in gremlin-java.

Groovy translators are no longer needed, as well as some other code left over from WebSocket; will be cleaning them up along with bytecode codes in a separate PR after this is merged.

Some TODOs are pending core changes, e.g. bulking, transactions.

Local unit and integration tests pass, next step is to implement authentication interface, and modifying docker-compose set up to enable tests during build/GitHub actions.

Also added set in gremlin-java gremlin lang as set is now supported in grammar (can separate that into different PR/CTR if preferred). Will open set changes for gremlin-java in separate PR due to additional changes needed.

Copy link
Contributor

@vkagamlyk vkagamlyk left a comment

Choose a reason for hiding this comment

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

thank you, great job! with a couple of small nits

@xiazcy xiazcy force-pushed the python-remove-bytecode branch from 7510387 to c4c2367 Compare August 1, 2024 19:35
@xiazcy xiazcy force-pushed the python-remove-bytecode branch from c4c2367 to 54713b2 Compare August 8, 2024 16:05
@vkagamlyk
Copy link
Contributor

python GLV build is broken, but it seems not because of changes in this PR, the same problem is in other branches.

VOTE+1

@Cole-Greer
Copy link
Contributor

VOTE +1

@xiazcy
Copy link
Contributor Author

xiazcy commented Aug 12, 2024

Thank you for all the reviews! VOTE +1

@xiazcy xiazcy merged commit 9281b2c into master-http Aug 12, 2024
25 of 36 checks passed
@xiazcy xiazcy deleted the python-remove-bytecode branch August 12, 2024 17:53
xiazcy added a commit that referenced this pull request Aug 28, 2024
removed bytecode in gremlin-python, and replaced with gremlin lang scripts
kenhuuu pushed a commit that referenced this pull request Nov 2, 2024
removed bytecode in gremlin-python, and replaced with gremlin lang scripts
kenhuuu pushed a commit that referenced this pull request Nov 3, 2024
removed bytecode in gremlin-python, and replaced with gremlin lang scripts
kenhuuu pushed a commit that referenced this pull request Nov 3, 2024
removed bytecode in gremlin-python, and replaced with gremlin lang scripts
kenhuuu pushed a commit that referenced this pull request Nov 3, 2024
removed bytecode in gremlin-python, and replaced with gremlin lang scripts
kenhuuu pushed a commit that referenced this pull request Nov 3, 2024
removed bytecode in gremlin-python, and replaced with gremlin lang scripts
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.

3 participants