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

Date issues #36

Open
RaniRaven opened this issue May 9, 2017 · 3 comments
Open

Date issues #36

RaniRaven opened this issue May 9, 2017 · 3 comments

Comments

@RaniRaven
Copy link

I notices that a java.sql.Date is returned when date type is declared on the mapping. However, in this java version the ability of Date to return time also is deprecated.
It seems like ElasticSearch's date type should be exposed as java.sql.Timestamp

@sudhirkumar1980
Copy link

Are you able to resolve this issue?

@RaniRaven
Copy link
Author

Yes, by changing the return type to Timestamp, although it will work for application which is not a strict 3rd party one.

@mallim
Copy link
Contributor

mallim commented Sep 19, 2018

Testing 6.4.0 and having the same issue, I have to change to timestamp to pass the test case

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

3 participants