You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2020. It is now read-only.
When we add extra predicate on a column used in the index, cassandra returns 0 records despite the predicate returns True.
We have the issue with spark-cassandra-connector:2.3.1-s_2.11 and spark 2.2.0 and cassandra-lucene-index-plugin-3.11.1.0. To repeat it just use earthquakes.csv from: https://docs.datastax.com/en/tutorials/gis.zip
Query 2 (should also return 28 records, return 0 records):
cqlsh:gis> SELECT * FROM earthquakes WHERE lucene = '{ filter: { type: "geo_bbox", field: "geo_point", min_latitude: 40.0, max_latitude: 50.0, min_longitude: 50.0, max_longitude: 60.0 } }' and latitude > 0.0 ALLOW FILTERING;
The predicate and latitude > 0.0 returns True, we do not understand why it leads to a result of 0 records.
The text was updated successfully, but these errors were encountered:
romulogoncalves
changed the title
When a column from the index is used in a predicate cassandra returns always 0 records.
When a column from the index is used in a predicate cassandra always returns 0 records.
Aug 29, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When we add extra predicate on a column used in the index, cassandra returns 0 records despite the predicate returns
True
.We have the issue with
spark-cassandra-connector:2.3.1-s_2.11
andspark 2.2.0
andcassandra-lucene-index-plugin-3.11.1.0
. To repeat it just useearthquakes.csv
from: https://docs.datastax.com/en/tutorials/gis.zipThen
To create the index:
Query 1 (returns 28 records):
Query 2 (should also return 28 records, return 0 records):
The predicate
and latitude > 0.0
returnsTrue
, we do not understand why it leads to a result of 0 records.The text was updated successfully, but these errors were encountered: