FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: add failing regression suite for property names colliding with standardized columns by rjurney · Pull Request #5 · SemyonSinchenko/graphframes · GitHub

test: add failing regression suite for property names colliding with standardized columns - #5

Open
rjurney wants to merge 1 commit into
SemyonSinchenko:829-schema-and-exportfrom
rjurney:rjurney/829-schema-and-expert
Open

test: add failing regression suite for property names colliding with standardized columns#5
rjurney wants to merge 1 commit into
SemyonSinchenko:829-schema-and-exportfrom
rjurney:rjurney/829-schema-and-expert

Conversation

rjurney commented Aug 23, 2026

Copy link
Copy Markdown

PropertyGroup.getData appends requested properties to a fixed base projection without checking them against the aliases that same select already emits (id / property_group on vertices, src / dst / weight on edges). The duplicate survives into QueryExecutor.renameAll, which maps both copies to the same prefixed name, so the ambiguity reaches Spark.

The suite documents the expected behavior -- a.id is the raw key property, distinct from the masked graph id getData derives from it. It includes two non-colliding controls plus the two aggravated shapes: a colliding property carried by a predicate (breaks the adjacency join rather than the terminal join-back) and a colliding property on an undirected group (fails inside getData's two-orientation union).

Currently red: 2 of 9 pass. The failures are COLUMN_ALREADY_EXISTS from renameAll and AMBIGUOUS_REFERENCE from the undirected union -- the bug these tests describe is not yet fixed.

Also reflow a GraphStatistics scaladoc paragraph to satisfy scalafmt.

…standardized columns

PropertyGroup.getData appends requested properties to a fixed base
projection without checking them against the aliases that same select
already emits (id / property_group on vertices, src / dst / weight on
edges). The duplicate survives into QueryExecutor.renameAll, which maps
both copies to the same prefixed name, so the ambiguity reaches Spark.

The suite documents the expected behavior -- a.id is the raw key
property, distinct from the masked graph id getData derives from it.
It includes two non-colliding controls plus the two aggravated shapes:
a colliding property carried by a predicate (breaks the adjacency join
rather than the terminal join-back) and a colliding property on an
undirected group (fails inside getData's two-orientation union).

Currently red: 2 of 9 pass. The failures are COLUMN_ALREADY_EXISTS from
renameAll and AMBIGUOUS_REFERENCE from the undirected union -- the bug
these tests describe is not yet fixed.

Also reflow a GraphStatistics scaladoc paragraph to satisfy scalafmt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL