Filtering float column doesn't work
zhibor opened this issue · comments
Zhibo commented
.env
NEO4J_VERSION=4.4.4-community
POSTGRES_VERSION=14
PYTHON_VERSION=3.9-dev
MULTICORN_VERSION=1.4.0
- Steps to reproduce
CREATE FOREIGN TABLE actedIn (
actor varchar NOT NULL,
born float,
movie varchar NOT NULL
) SERVER multicorn_neo4j OPTIONS (
cypher 'MATCH (p:Person) /*WHERE{"actor":"p.name", "born":"p.born"}*/ WITH p MATCH (p)-[:ACTED_IN]->(m:Movie) /*WHERE{"movie":"m.title"}*/ RETURN p.name AS actor, p.born AS born, m.title AS movie'
);
SELECT * FROM actedIn WHERE born > 1980.0 AND movie = "The Matrix"
- Expected behavior: return actors born after 1980 and acted in the movie "The Matrix"
- Actual behavior: return empty
But it works if we set born
data type to int
.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.