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

Creating mapping from cassandra table fails on float value #17

Closed
albroscani opened this issue May 3, 2016 · 3 comments
Closed

Creating mapping from cassandra table fails on float value #17

albroscani opened this issue May 3, 2016 · 3 comments

Comments

@albroscani
Copy link

Hi Vincent,
I've created a table in Cassandra with several data types (text, timestamp, bigint, double, boolean, float) and I've done a synchronization to create a Mapping in Elasticsearch with CURL

curl -XPUT "http://localhost:9200/my_keyspace/_mapping/my_table" -d '{ "my_table" : { "columns_regexp" : "a.*", "properties" : { "name" : { "type" : "string", "index" : "not_analyzed" } } } }'

All fields are mapped well except the FLOAT value (I can't see the value querying Elasticsearch where the field exists but empty).

Let me know if you are able to reproduce the issue.
Thanks,

Alberto

@vroyer
Copy link
Collaborator

vroyer commented May 3, 2016

Hi Alberto,
Sorry but i can't reproduce this issue, float colum is correctly mapped to a float field in elasticsearch.
Could you share your cassandra schema or check your logs (debug level can be set in conf/logback.xml).
Thanks,
Vincent.

@albroscani
Copy link
Author

Hi Vincent,
sorry for the delay. The float column is correctly mapped to a float field in elasticsearch but when I try to discover the values of the index in Kibana the float value is not returned by Elasticsearch.
Let me know if you are able to reproduce this issue and if you need other details.
Thanks,
Alberto

@vroyer
Copy link
Collaborator

vroyer commented May 10, 2016

Fixed in release 2.1.1-9 (float was not implemented in the internal cassandra query, change in org/apache/cassandra/cql3/UntypedResultSet.java )

@vroyer vroyer closed this as completed May 10, 2016
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

2 participants