Skip to content

[Backport] Select query failing if miliseconds used as time for indexing (#6937)#7140

Merged
fjy merged 1 commit intoapache:0.14.0-incubatingfrom
jon-wei:backport-6937-to-0.14.0-incubating
Feb 26, 2019
Merged

[Backport] Select query failing if miliseconds used as time for indexing (#6937)#7140
fjy merged 1 commit intoapache:0.14.0-incubatingfrom
jon-wei:backport-6937-to-0.14.0-incubating

Conversation

@jon-wei
Copy link
Copy Markdown
Contributor

@jon-wei jon-wei commented Feb 25, 2019

Backport of #6937 to 0.14.0-incubating

…#6937)

* [apache#1332] Fix - select failing if milis used for idx.

* Formating correction.

* Address comment: throw original exception.

* Using constant values in tests

- Try converting to Integer and then multiply by 1000L to achieve milis.
- If not successful try converting to Long or rethrow original
exception.

* DateTime#of has to support "2011-01-01T00:00:00"

- in addition to seconds and milisecs, this method currently supports
even a date string.

* Handle only milisec timestamps and ISO8601 strings
@jon-wei jon-wei added this to the 0.14.0 milestone Feb 25, 2019
@fjy fjy merged commit 86040e2 into apache:0.14.0-incubating Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants