Closed lamduongngoc closed 3 years ago
The following query works well on Postgres 9.6.17. Not OK on Postgres 12
Actual result on Postgres 12
select ten, count(four), sum(DISTINCT four) from onek group by ten order by ten; ERROR: influxdb_fdw : expected field argument in sum()
Actual result on Postgres 9.6.17
select ten, count(four), sum(DISTINCT four) from onek group by ten order by ten; ten | count | sum -----+-------+----- 0 | 100 | 2 1 | 100 | 4 2 | 100 | 2 3 | 100 | 4 4 | 100 | 2 5 | 100 | 4 6 | 100 | 2 7 | 100 | 4 8 | 100 | 2 9 | 100 | 4 (10 rows)
We have fixed in Release v0.3.0. So we'd like to close this issue.
The following query works well on Postgres 9.6.17. Not OK on Postgres 12
Actual result on Postgres 12
Actual result on Postgres 9.6.17