Skip to content

Use file streaming endpoint to parse queries #1572

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

Merged
merged 4 commits into from
Feb 13, 2021
Merged

Conversation

jeffreylovitz
Copy link
Contributor

Resolves erroneous query rejections due to buffer overflows.
#760 #1486

swilly22
swilly22 previously approved these changes Feb 13, 2021
# Test a query that allocates a large buffer.
def test35_large_query(self):
retval = "abcdef" * 1_000
query = """RETURN """ + "'" + retval + "'"
Copy link
Contributor

Choose a reason for hiding this comment

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

query = "RETURN " + "'" + retval + "'"

@swilly22 swilly22 merged commit 15ae0a7 into master Feb 13, 2021
This was referenced Feb 13, 2021
swilly22 added a commit that referenced this pull request Feb 14, 2021
* Use file streaming endpoint to parse queries

* Revert change to default parse buffer size

* Address PR comments

Co-authored-by: Roi Lipman <[email protected]>
This was referenced Feb 14, 2021
swilly22 added a commit that referenced this pull request Feb 16, 2021
* Avoid postponed array (#1569)

* WIP

* persist projected values

* remove emit record

* Lock on write proc (#1573)

* write lock when invoking write procedure

* replicate index modifications

* Use file streaming endpoint to parse queries (#1572)

* Use file streaming endpoint to parse queries

* Revert change to default parse buffer size

* Address PR comments

Co-authored-by: Roi Lipman <[email protected]>

Co-authored-by: Jeffrey Lovitz <[email protected]>
@gkorland gkorland deleted the stream-query-to-parser branch August 24, 2021 14:48
pnxguide pushed a commit to CMU-SPEED/RedisGraph that referenced this pull request Mar 22, 2023
* Use file streaming endpoint to parse queries

* Revert change to default parse buffer size

* Address PR comments

Co-authored-by: Roi Lipman <[email protected]>
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.

2 participants