Groups
Groups
Sign in
Groups
Groups
Puppet Bugs
Conversations
About
Send feedback
Help
Jira (PDB-4511) PQL fact path projection whitespace sensitive
16 views
Skip to first unread message
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:22:03 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
created
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Issue Type:
Bug
Assignee:
Unassigned
Created:
2019/09/23 1:21 PM
Priority:
Normal
Reporter:
Austin Blatt
Add Comment
This message was sent by Atlassian JIRA
(v7.7.1#77002-
sha1:e75ca93
)
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:24:03 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
The currently working PQL query for fact path projection looks like. The extra spaces are problematic and error-prone
{code}
curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=inventory[fact.os.family , facts.os ]{}'
> []
{code}
Add Comment
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:24:04 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
Acceptance Criteria:
{code}
curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=inventory[fact.os.family, facts.os]{}'
> []
{code}
Add Comment
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:25:04 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
Fix Version/s:
PDB 6.7.0
Add Comment
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:26:03 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
The currently working PQL query for fact path projection looks like. The extra spaces are problematic and error-prone
{code}
curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=inventory[fact.os.family , facts.os ]{}'
> []
{code}
For the sake of backwards compatibility we will not fix the query fields until PDB 7.0.0
Add Comment
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:26:04 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
Acceptance Criteria:
{code}
❯
curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=inventory[fact.os.family, facts.os]{}'
>
[]
{code}
{code}
❯ curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=resources { parameters.content= "a"}'
PQL parse error at line 1, column 33:
resources { parameters.content= "a"}
^
Expected one of:
is not null
is null
in
=
>
<
<=
>=
~>
~
{code}
Add Comment
Austin Blatt (JIRA)
unread,
Sep 23, 2019, 4:27:02 PM
9/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
Acceptance Criteria:
This query should now work, where it previously failed.
{code}
❯ curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=inventory[fact.os.family, facts.os]{}'
[]
{code}
This query should continue to fail.
{code}
❯ curl -sSXGET '
http://localhost:8080/pdb/query/v4
' \
-d 'query=resources { parameters.content= "a"}'
PQL parse error at line 1, column 33:
resources { parameters.content= "a"}
^
Expected one of:
is not null
is null
in
=
>
<
<=
>=
~>
~
{code}
Add Comment
Austin Blatt (JIRA)
unread,
Sep 25, 2019, 7:48:03 PM
9/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
assigned
an issue to
Austin Blatt
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
Assignee:
Austin Blatt
Add Comment
Austin Blatt (JIRA)
unread,
Sep 25, 2019, 7:49:03 PM
9/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
We decided to do the whole fix, so this is a duplicate.
Add Comment
Austin Blatt (JIRA)
unread,
Sep 25, 2019, 7:50:05 PM
9/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
Austin Blatt
updated
an issue
PuppetDB
/
PDB-4511
PQL fact path projection whitespace sensitive
Change By:
Austin Blatt
Fix Version/s:
PDB 6.7.0
Add Comment
Reply all
Reply to author
Forward
0 new messages