Jira (PDB-5518) Query Engine Improvements

5 views
Skip to first unread message

Austin Blatt (Jira)

unread,
Aug 4, 2022, 4:04:03 PM8/4/22
to puppe...@googlegroups.com
Austin Blatt created an issue
 
PuppetDB / Epic PDB-5518
Query Engine Improvements
Issue Type: Epic Epic
Assignee: Unassigned
Created: 2022/08/04 1:03 PM
Priority: Normal Normal
Reporter: Austin Blatt
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Austin Blatt (Jira)

unread,
Aug 4, 2022, 4:26:03 PM8/4/22
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
There are two main benefits to doing the query engine work.

1. The query engine is an entangled and complicated multi-pass compiler, so seemingly easy/small changes in one place can break subsequent passes. This work will move us towards a simpler less entangled query engine, which should be easier for non-experts to work on.

2. The PuppetDB query engine has many places where SQL injection are a concern, this work will allow us to rely on honeysql and jdbc for more robust security guarantees by removing JSONB operator queries that we currently construct by hand.
Reply all
Reply to author
Forward
0 new messages