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

Operator <> is not working properly #778

Open
bigdatasourav opened this issue Apr 1, 2024 · 0 comments
Open

Operator <> is not working properly #778

bigdatasourav opened this issue Apr 1, 2024 · 0 comments

Comments

@bigdatasourav
Copy link

When using the operator <> in a query, the field value does not generate in d.EqualsQualString.

Sample field with query- 
{
    Name:      "id",
    Require:   plugin.Optional,
    Operators: []string{"=", "<>"},
},

select id, is_public, resource from aws_accessanalyzer_finding where id = '8dff57f1-1c18-4ebb-9287-7388a0db678b'
select id, is_public, resource from aws_accessanalyzer_finding where id <> '8dff57f1-1c18-4ebb-9287-7388a0db678b'
2024-04-01 07:52:57.444 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1711957974959: Operator:: EXTRA_VALUE_AT_END=<>
2024-04-01 07:52:57.446 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1711957974959: Inside Operator <>:: EXTRA_VALUE_AT_END=""


2024-04-01 07:53:44.001 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1711958023190: Operator:: EXTRA_VALUE_AT_END==
2024-04-01 07:53:44.002 UTC [ERROR] steampipe-plugin-aws.plugin: [ERROR] 1711958023190: Inside Operator =:: EXTRA_VALUE_AT_END=8dff57f1-1c18-4ebb-9287-7388a0db678b
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

No branches or pull requests

1 participant