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

Remove non-array type hint when creating array. #7363

Merged
merged 1 commit into from
May 22, 2024
Merged

Remove non-array type hint when creating array. #7363

merged 1 commit into from
May 22, 2024

Conversation

dnwpark
Copy link
Contributor

@dnwpark dnwpark commented May 18, 2024

When compiling pointers in a mutating statement (ie. insert and update), a type hint is provided so that empty sets and arrays can be meaningfully interpreted.

This PR fixes the following issues caused by the hint being propagated through the entire pointer compilation:

  • assert failures when an untyped array is used anywhere in a non-array pointer's expression
  • the wrong array type being used if an inner select statement also uses an untyped array

close #7356

@dnwpark dnwpark merged commit cebb8de into master May 22, 2024
24 checks passed
@dnwpark dnwpark deleted the array-hint branch May 22, 2024 14:08
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.

InternalServerError when trying to coalesce with an existing link property value
2 participants