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

Enable DATE conversions #115

Merged
merged 5 commits into from
Feb 20, 2019
Merged

Conversation

bpintea
Copy link
Collaborator

@bpintea bpintea commented Feb 19, 2019

This PR enables the DATE data type conversion.

It also updates the advertised available standard scalars and adds a fetched pages counter.

- change to METATYPE_DATE_TIME after ES/SQL's timestamp data type
renaming to DATETIME
- rename function that parses date/time/timestamp
- add a page counter to track how many pages have been fetched from ES
- current day has been added
- allow the new DATE type be converted to timestamp and date structs.
Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bpintea bpintea merged commit 029d794 into elastic:master Feb 20, 2019
@bpintea bpintea deleted the feature/date_conversions branch February 20, 2019 12:57
bpintea added a commit that referenced this pull request Feb 20, 2019
* rename meta type for date/time/timestamp

- change to METATYPE_DATE_TIME after ES/SQL's timestamp data type
renaming to DATETIME

* s/parse_datetime/parse_date_time_ts/

- rename function that parses date/time/timestamp

* add a resultset / page counter

- add a page counter to track how many pages have been fetched from ES

* update advertized supported scalars

- current day has been added

* enable DATE conversion

- allow the new DATE type be converted to timestamp and date structs.

(cherry picked from commit 029d794)
@bpintea bpintea mentioned this pull request Mar 11, 2019
@bpintea bpintea added >feature Applicable to PRs adding new functionality and removed >enhancement labels May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>feature Applicable to PRs adding new functionality v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants