Commit c49c050
fix(simple-executor): return consistent column names using dot notation (#84)
* fix(simple-executor): return consistent column names using dot notation
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
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* cargo fmt
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent cf358f4 commit c49c050
2 files changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
0 commit comments