Open cobolbaby opened 11 months ago
All of pgspider FDWs is sons and daughters of one of old versions mysql_fdw
as maintainers explained me. Hence ~
operators is not supported by default. For example partially enable of this operator in sqlite_fdw
was in my commit about bitstrings, see https://github.com/pgspider/sqlite_fdw/blob/91a915fb6fc4bd179c4a148d04457089525347a5/deparse.c#L2892C10.
@cobolbaby , do you know what is normal InfluxDB query form for the PostgreSQL predicate sensor ~ '^A'
? Is this example normal? Do you know, do we need any translation at all or we can fully borrow the predicate?
do you know what is normal InfluxDB query form for the PostgreSQL predicate sensor ~ '^A' ? Is this example normal?
From
SELECT * FROM "sensor" WHERE SensorName =~ /abcd*/ AND time > now() - 5m
To
SELECT * FROM "sensor" WHERE SensorName =~ /^abcd*/ AND time > now() - 5m
Official doc:
@cobolbaby , I think here is possible simple translation of regexp to InfluxDB with /
quoting. Isn't it?
I think here is possible simple translation of regexp to InfluxDB with / quoting. Isn't it?
Yes