Skip to content

Conversation

@ex172000
Copy link

Update simple executor to return Cypher dot notation (e.g., p.name) instead of double underscore format (e.g., p__name) for column names. This ensures consistency with the DataFusion executor output.

Changes:

  • Add to_cypher_column_name() function to convert to dot notation
  • Update apply_return_with_qualifier() to apply conversion for final output
  • Add unit tests for the new function
  • Preserve explicit user-provided aliases

Fixes #30

Update simple executor to return Cypher dot notation (e.g., p.name)
instead of double underscore format (e.g., p__name) for column names.
This ensures consistency with the DataFusion executor output.

Changes:
- Add to_cypher_column_name() function to convert to dot notation
- Update apply_return_with_qualifier() to apply conversion for final output
- Add unit tests for the new function
- Preserve explicit user-provided aliases

Fixes lance-format#30

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Collaborator

@ChunxuTang ChunxuTang left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution. Since the current simple executor mainly focuses on basic queries, such as property filtering and one- or two-hop queries, the implementation is sufficient for now.

@ChunxuTang
Copy link
Collaborator

@ex172000 Could you fix the style check error?

@ex172000
Copy link
Author

@ex172000 Could you fix the style check error?

Sure, let me fix that

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.

Inconsistent column names returned from the execute method

4 participants