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

Columns of type double don't appear to work as key column quals? #243

Closed
e-gineer opened this issue Aug 27, 2022 · 1 comment
Closed

Columns of type double don't appear to work as key column quals? #243

e-gineer opened this issue Aug 27, 2022 · 1 comment
Assignees

Comments

@e-gineer
Copy link
Contributor

@ellisvalentiner is trying to use columns of type double as key quals in the weatherkit plugin - https://github.com/ellisvalentiner/steampipe-plugin-weatherkit/blob/fix/lat-lng-should-be-floats/weatherkit/table_weatherkit_current_weather.go

The code looks correct, and works when the column type is string instead, but fails to see the quals when they are of type double:

> select * from weatherkit_current_weather where latitude=43.2683199 and longitude=-70.8635506;
Error: rpc error: code = Internal desc = 'Get' call for table 'weatherkit_current_weather' is missing 2 required quals: 
    column:'latitude' operator: =
    column:'longitude' operator: =
 (SQLSTATE HV000)
@kaidaguerre kaidaguerre transferred this issue from turbot/steampipe-plugin-sdk Sep 16, 2022
@kaidaguerre
Copy link
Contributor

@e-gineer @ellisvalentiner found the issue - small bug in the FDW qual conversion code.

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

3 participants