forked from opensearch-project/sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Support Alternate Datetime Formats #268
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
Merged
GumpacG
merged 81 commits into
integ-support-datetime-formats
from
dev-support-datetime
May 29, 2023
Merged
Changes from 71 commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
8b2f65d
Add OpenSearchDateType as a datatype for matching with Date/Time Open…
acarbonetto c5ad8e0
Added IT Test
GabeFernandez310 a64b93e
Added Basic Implementation
GabeFernandez310 cbf3c38
Added A Comment
GabeFernandez310 a780bbd
Added Support For Default OpenSearch Formats
GabeFernandez310 ffede70
Code Cleanup
GabeFernandez310 3708a6f
Refactored 'parsetimestamp' Function
GabeFernandez310 bc15e3a
Cleanup
GabeFernandez310 a5fac5c
Removed Unnecessary Try-Catch Block
GabeFernandez310 9c2a7c8
Fixed Unit Tests
GabeFernandez310 0f01283
Fixed IT Test
GabeFernandez310 5c63d7f
Fixed Text Type and Disabled JSON Format Test
GabeFernandez310 675aa02
Fix Mapping Type Reporting As Date Instead Of Timestamp In Schema
GabeFernandez310 09d420b
Revert Breaking Test Changes
GabeFernandez310 a519501
Fixed Returned ExprCoreTypes
GabeFernandez310 ed2bcbb
Fixed OpenSearch Type Names In Mapping
GabeFernandez310 ef90ad6
Fixed LegacyTypeName Function And Refactored Code To Fix Calculations…
GabeFernandez310 418dc98
Changed Support For Passing Fields Into Text Type
GabeFernandez310 0670812
Reverted Some Changes And Commented Out A Test
GabeFernandez310 5543fd8
Commented Out A Breaking Change
GabeFernandez310 9325d24
Minor Refactoring Changes
GabeFernandez310 89cb4ce
Reworked parseTimestamp Function To Format Return Based On Enum
GabeFernandez310 2ab67ed
Fixed Returned ExprValue
GabeFernandez310 bbc6526
Reverted Changes To Test Files
GabeFernandez310 e07b4ca
Reverted Some Changes To Enum And Reworked Code
GabeFernandez310 dc5ef5b
Added Type Mapping To Allow Query To Be Parsed
GabeFernandez310 2f45ced
Fixed Some Unit Tests
GabeFernandez310 d1057e3
Fixed TypeActionMap To Still Support ExprCoreTypes
GabeFernandez310 225e8a9
Wrapped Some Function Returns in ExprValueFactory
GabeFernandez310 a7801f4
Fixed Integration Test Bug
GabeFernandez310 25e9f11
Slight Refactoring And Code Cleanup
GabeFernandez310 ebbcad2
Removed Unneeded Class Member
GabeFernandez310 dabf8bc
Removed Unneccessary MappingType Parameters
GabeFernandez310 be06b94
Refactored Code To Fix Integration Test
GabeFernandez310 5b879de
Merge branch 'integ-support-date-formats' into dev-support-date-formats
GabeFernandez310 282cc76
Merge branch 'dev-support-date-formats' of github.com:Bit-Quill/opens…
GabeFernandez310 0fe9ea0
Addressed JaCoCo Issues
GabeFernandez310 debda6a
Fixed Checkstyle
GabeFernandez310 9d4cbfc
Changed gradle version and removed values iterator
GumpacG 568bbf3
Merge branch 'dev-fix-build' of github.com:Bit-Quill/opensearch-proje…
GabeFernandez310 0fba818
Addressed PR Comments
GabeFernandez310 c2f7391
Update a test to match new indexResponse.aliases() type.
6f7e633
Changed To Throw Exception When Encountering Parsing Failures
GabeFernandez310 a6341ac
Merge branch 'dev-fix-build' of github.com:Bit-Quill/opensearch-proje…
GabeFernandez310 7fa682e
Fixed Checkstyle
GabeFernandez310 2a74234
Pull Changes From Upstream
GabeFernandez310 752a718
Merge branch 'integ-support-date-formats' of github.com:Bit-Quill/ope…
GabeFernandez310 ace81ea
Removed Unneeded Imports
GabeFernandez310 2ccebd9
Re-enabled Some Tests
GabeFernandez310 93f212a
Merge branch 'main' of https://github.com/opensearch-project/sql into…
GumpacG a3de4e5
Merge branch 'opensearch-project:main' into dev-support-date-formats
GabeFernandez310 0df21dd
Addressed PR Comments
GabeFernandez310 28c1bca
Merge branch 'dev-support-date-formats' of github.com:Bit-Quill/opens…
GumpacG b140170
Changed test data
GumpacG e95fdde
Pulled out support for user-defined datetime formats
GumpacG 4394315
Modified IT test data
GumpacG 4e9bb15
Added IT tests
GumpacG 53f4968
Merge branch 'dev-support-date-formats' of github.com:Bit-Quill/opens…
GumpacG 31a1acc
Removed support for just time and just date formats
GumpacG c1dd5d0
Removed unsupported formats from IT
GumpacG 6dc675c
Removed unit tests for date only or time only formats
GumpacG 9667574
Addressed PR comments from previous PR
GumpacG 1fafa8d
Addressed PR comment regarding unnecessary OpenSearchDateType instanc…
GumpacG d57ab91
Updates to include build-in date and time formats for OpenSearchDateT…
acarbonetto 5ddae77
Add tests and fix checkstyle
acarbonetto c33fcf0
Fixed bugs regarding custom formats
GumpacG 0b83204
Add unit test to cover custom formats
acarbonetto ca9925e
Fixed rebase conflicts
GumpacG 52892d0
Addressed PR comments
GumpacG 80618a8
Fixed checkstyle errors
GumpacG 2148030
Modified integration test
GumpacG 21ed35f
Fixed Date and time aggregation
GumpacG dde61c1
Fixed failing integ tests
GumpacG 414159f
Modified integ test based on date format changes
GumpacG 9250020
Added default formatters for date and time. Added unit tests for cove…
GumpacG 5f34b39
Some minor review comments
acarbonetto c978699
Addressed PR comments
GumpacG 27c9dd5
Fixed checktsyle and jacoco
GumpacG 0f0dc96
Changed link in rst file
GumpacG 2672a79
Changed link in rst file
GumpacG 58a8f19
Addressed PR comments
GumpacG File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| {"index": {}} | ||
| {"epoch_millis": "450608862000.123456", "epoch_second": "450608862.000123456", "date_optional_time": "1984-04-12T09:07:42.000Z", "strict_date_optional_time": "1984-04-12T09:07:42.000Z", "strict_date_optional_time_nanos": "1984-04-12T09:07:42.000123456Z", "basic_date": "19840412", "basic_date_time": "19840412T090742.000Z", "basic_date_time_no_millis": "19840412T090742Z", "basic_ordinal_date": "1984103", "basic_ordinal_date_time": "1984103T090742.000Z", "basic_ordinal_date_time_no_millis": "1984103T090742Z", "basic_time": "090742.000Z", "basic_time_no_millis": "090742Z", "basic_t_time": "T090742.000Z", "basic_t_time_no_millis": "T090742Z", "basic_week_date": "1984W154", "strict_basic_week_date": "1984W154", "basic_week_date_time": "1984W154T090742.000Z", "strict_basic_week_date_time": "1984W154T090742.000Z", "basic_week_date_time_no_millis": "1984W154T090742Z", "strict_basic_week_date_time_no_millis": "1984W154T090742Z", "date": "1984-04-12", "strict_date": "1984-04-12", "date_hour": "1984-04-12T09", "strict_date_hour": "1984-04-12T09", "date_hour_minute": "1984-04-12T09:07", "strict_date_hour_minute": "1984-04-12T09:07", "date_hour_minute_second": "1984-04-12T09:07:42", "strict_date_hour_minute_second": "1984-04-12T09:07:42", "date_hour_minute_second_fraction": "1984-04-12T09:07:42.000", "strict_date_hour_minute_second_fraction": "1984-04-12T09:07:42.000", "date_hour_minute_second_millis": "1984-04-12T09:07:42.000", "strict_date_hour_minute_second_millis": "1984-04-12T09:07:42.000", "date_time": "1984-04-12T09:07:42.000Z", "strict_date_time": "1984-04-12T09:07:42.000123456Z", "date_time_no_millis": "1984-04-12T09:07:42Z", "strict_date_time_no_millis": "1984-04-12T09:07:42Z", "hour": "09", "strict_hour": "09", "hour_minute": "09:07", "strict_hour_minute": "09:07", "hour_minute_second": "09:07:42", "strict_hour_minute_second": "09:07:42", "hour_minute_second_fraction": "09:07:42.000", "strict_hour_minute_second_fraction": "09:07:42.000", "hour_minute_second_millis": "09:07:42.000", "strict_hour_minute_second_millis": "09:07:42.000", "ordinal_date": "1984-103", "strict_ordinal_date": "1984-103", "ordinal_date_time": "1984-103T09:07:42.000123456Z", "strict_ordinal_date_time": "1984-103T09:07:42.000123456Z", "ordinal_date_time_no_millis": "1984-103T09:07:42Z", "strict_ordinal_date_time_no_millis": "1984-103T09:07:42Z", "time": "09:07:42.000Z", "strict_time": "09:07:42.000Z", "time_no_millis": "09:07:42Z", "strict_time_no_millis": "09:07:42Z", "t_time": "T09:07:42.000Z", "strict_t_time": "T09:07:42.000Z", "t_time_no_millis": "T09:07:42Z", "strict_t_time_no_millis": "T09:07:42Z", "week_date": "1984-W15-4", "strict_week_date": "1984-W15-4", "week_date_time": "1984-W15-4T09:07:42.000Z", "strict_week_date_time": "1984-W15-4T09:07:42.000Z", "week_date_time_no_millis": "1984-W15-4T09:07:42Z", "strict_week_date_time_no_millis": "1984-W15-4T09:07:42Z", "weekyear_week_day": "1984-W15-4", "strict_weekyear_week_day": "1984-W15-4", "year_month_day": "1984-04-12", "strict_year_month_day": "1984-04-12", "yyyy-MM-dd": "1984-04-12", "HH:mm:ss": "09:07:42", "yyyy-MM-dd_OR_epoch_millis": "1984-04-12", "hour_minute_second_OR_t_time": "09:07:42"} | ||
| {"index": {}} | ||
| {"epoch_millis": "450608862000.123456", "epoch_second": "450608862.000123456", "date_optional_time": "1984-04-12T09:07:42.000Z", "strict_date_optional_time": "1984-04-12T09:07:42.000Z", "strict_date_optional_time_nanos": "1984-04-12T09:07:42.000123456Z", "basic_date": "19840412", "basic_date_time": "19840412T090742.000Z", "basic_date_time_no_millis": "19840412T090742Z", "basic_ordinal_date": "1984103", "basic_ordinal_date_time": "1984103T090742.000Z", "basic_ordinal_date_time_no_millis": "1984103T090742Z", "basic_time": "090742.000Z", "basic_time_no_millis": "090742Z", "basic_t_time": "T090742.000Z", "basic_t_time_no_millis": "T090742Z", "basic_week_date": "1984W154", "strict_basic_week_date": "1984W154", "basic_week_date_time": "1984W154T090742.000Z", "strict_basic_week_date_time": "1984W154T090742.000Z", "basic_week_date_time_no_millis": "1984W154T090742Z", "strict_basic_week_date_time_no_millis": "1984W154T090742Z", "date": "1984-04-12", "strict_date": "1984-04-12", "date_hour": "1984-04-12T09", "strict_date_hour": "1984-04-12T09", "date_hour_minute": "1984-04-12T09:07", "strict_date_hour_minute": "1984-04-12T09:07", "date_hour_minute_second": "1984-04-12T09:07:42", "strict_date_hour_minute_second": "1984-04-12T09:07:42", "date_hour_minute_second_fraction": "1984-04-12T09:07:42.000", "strict_date_hour_minute_second_fraction": "1984-04-12T09:07:42.000", "date_hour_minute_second_millis": "1984-04-12T09:07:42.000", "strict_date_hour_minute_second_millis": "1984-04-12T09:07:42.000", "date_time": "1984-04-12T09:07:42.000Z", "strict_date_time": "1984-04-12T09:07:42.000123456Z", "date_time_no_millis": "1984-04-12T09:07:42Z", "strict_date_time_no_millis": "1984-04-12T09:07:42Z", "hour": "09", "strict_hour": "09", "hour_minute": "09:07", "strict_hour_minute": "09:07", "hour_minute_second": "09:07:42", "strict_hour_minute_second": "09:07:42", "hour_minute_second_fraction": "09:07:42.000", "strict_hour_minute_second_fraction": "09:07:42.000", "hour_minute_second_millis": "09:07:42.000", "strict_hour_minute_second_millis": "09:07:42.000", "ordinal_date": "1984-103", "strict_ordinal_date": "1984-103", "ordinal_date_time": "1984-103T09:07:42.000123456Z", "strict_ordinal_date_time": "1984-103T09:07:42.000123456Z", "ordinal_date_time_no_millis": "1984-103T09:07:42Z", "strict_ordinal_date_time_no_millis": "1984-103T09:07:42Z", "time": "09:07:42.000Z", "strict_time": "09:07:42.000Z", "time_no_millis": "09:07:42Z", "strict_time_no_millis": "09:07:42Z", "t_time": "T09:07:42.000Z", "strict_t_time": "T09:07:42.000Z", "t_time_no_millis": "T09:07:42Z", "strict_t_time_no_millis": "T09:07:42Z", "week_date": "1984-W15-4", "strict_week_date": "1984-W15-4", "week_date_time": "1984-W15-4T09:07:42.000Z", "strict_week_date_time": "1984-W15-4T09:07:42.000Z", "week_date_time_no_millis": "1984-W15-4T09:07:42Z", "strict_week_date_time_no_millis": "1984-W15-4T09:07:42Z", "weekyear_week_day": "1984-W15-4", "strict_weekyear_week_day": "1984-W15-4", "year_month_day": "1984-04-12", "strict_year_month_day": "1984-04-12", "yyyy-MM-dd": "1984-04-12", "HH:mm:ss": "09:07:42", "yyyy-MM-dd_OR_epoch_millis": "450608862000.123456", "hour_minute_second_OR_t_time": "T09:07:42.000Z"} |
306 changes: 306 additions & 0 deletions
306
integ-test/src/test/resources/indexDefinitions/date_formats_index_mapping.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,306 @@ | ||
| { | ||
| "mappings" : { | ||
| "properties" : { | ||
| "epoch_millis" : { | ||
| "type" : "date", | ||
| "format" : "epoch_millis" | ||
| }, | ||
| "epoch_second" : { | ||
| "type" : "date", | ||
| "format" : "epoch_second" | ||
| }, | ||
| "date_optional_time" : { | ||
| "type" : "date", | ||
| "format" : "date_optional_time" | ||
| }, | ||
| "strict_date_optional_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_optional_time" | ||
| }, | ||
| "strict_date_optional_time_nanos" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_optional_time_nanos" | ||
| }, | ||
| "basic_date" : { | ||
| "type" : "date", | ||
| "format" : "basic_date" | ||
| }, | ||
| "basic_date_time" : { | ||
| "type" : "date", | ||
| "format" : "basic_date_time" | ||
| }, | ||
| "basic_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "basic_date_time_no_millis" | ||
| }, | ||
| "basic_ordinal_date" : { | ||
| "type" : "date", | ||
| "format" : "basic_ordinal_date" | ||
| }, | ||
| "basic_ordinal_date_time" : { | ||
| "type" : "date", | ||
| "format" : "basic_ordinal_date_time" | ||
| }, | ||
| "basic_ordinal_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "basic_ordinal_date_time_no_millis" | ||
| }, | ||
| "basic_time" : { | ||
| "type" : "date", | ||
| "format" : "basic_time" | ||
| }, | ||
| "basic_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "basic_time_no_millis" | ||
| }, | ||
| "basic_t_time" : { | ||
| "type" : "date", | ||
| "format" : "basic_t_time" | ||
| }, | ||
| "basic_t_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "basic_t_time_no_millis" | ||
| }, | ||
| "basic_week_date" : { | ||
| "type" : "date", | ||
| "format" : "basic_week_date" | ||
| }, | ||
| "strict_basic_week_date" : { | ||
| "type" : "date", | ||
| "format" : "strict_basic_week_date" | ||
| }, | ||
| "basic_week_date_time" : { | ||
| "type" : "date", | ||
| "format" : "basic_week_date_time" | ||
| }, | ||
| "strict_basic_week_date_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_basic_week_date_time" | ||
| }, | ||
| "basic_week_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "basic_week_date_time_no_millis" | ||
| }, | ||
| "strict_basic_week_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_basic_week_date_time_no_millis" | ||
| }, | ||
| "date" : { | ||
| "type" : "date", | ||
| "format" : "date" | ||
| }, | ||
| "strict_date" : { | ||
| "type" : "date", | ||
| "format" : "strict_date" | ||
| }, | ||
| "date_hour" : { | ||
| "type" : "date", | ||
| "format" : "date_hour" | ||
| }, | ||
| "strict_date_hour" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_hour" | ||
| }, | ||
| "date_hour_minute" : { | ||
| "type" : "date", | ||
| "format" : "date_hour_minute" | ||
| }, | ||
| "strict_date_hour_minute" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_hour_minute" | ||
| }, | ||
| "date_hour_minute_second" : { | ||
| "type" : "date", | ||
| "format" : "date_hour_minute_second" | ||
| }, | ||
| "strict_date_hour_minute_second" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_hour_minute_second" | ||
| }, | ||
| "date_hour_minute_second_fraction" : { | ||
| "type" : "date", | ||
| "format" : "date_hour_minute_second_fraction" | ||
| }, | ||
| "strict_date_hour_minute_second_fraction" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_hour_minute_second_fraction" | ||
| }, | ||
| "date_hour_minute_second_millis" : { | ||
| "type" : "date", | ||
| "format" : "date_hour_minute_second_millis" | ||
| }, | ||
| "strict_date_hour_minute_second_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_hour_minute_second_millis" | ||
| }, | ||
| "date_time" : { | ||
| "type" : "date", | ||
| "format" : "date_time" | ||
| }, | ||
| "strict_date_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_time" | ||
| }, | ||
| "date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "date_time_no_millis" | ||
| }, | ||
| "strict_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_date_time_no_millis" | ||
| }, | ||
| "hour" : { | ||
| "type" : "date", | ||
| "format" : "hour" | ||
| }, | ||
| "strict_hour" : { | ||
| "type" : "date", | ||
| "format" : "strict_hour" | ||
| }, | ||
| "hour_minute" : { | ||
| "type" : "date", | ||
| "format" : "hour_minute" | ||
| }, | ||
| "strict_hour_minute" : { | ||
| "type" : "date", | ||
| "format" : "strict_hour_minute" | ||
| }, | ||
| "hour_minute_second" : { | ||
| "type" : "date", | ||
| "format" : "hour_minute_second" | ||
| }, | ||
| "strict_hour_minute_second" : { | ||
| "type" : "date", | ||
| "format" : "strict_hour_minute_second" | ||
| }, | ||
| "hour_minute_second_fraction" : { | ||
| "type" : "date", | ||
| "format" : "hour_minute_second_fraction" | ||
| }, | ||
| "strict_hour_minute_second_fraction" : { | ||
| "type" : "date", | ||
| "format" : "strict_hour_minute_second_fraction" | ||
| }, | ||
| "hour_minute_second_millis" : { | ||
| "type" : "date", | ||
| "format" : "hour_minute_second_millis" | ||
| }, | ||
| "strict_hour_minute_second_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_hour_minute_second_millis" | ||
| }, | ||
| "ordinal_date" : { | ||
| "type" : "date", | ||
| "format" : "ordinal_date" | ||
| }, | ||
| "strict_ordinal_date" : { | ||
| "type" : "date", | ||
| "format" : "strict_ordinal_date" | ||
| }, | ||
| "ordinal_date_time" : { | ||
| "type" : "date", | ||
| "format" : "ordinal_date_time" | ||
| }, | ||
| "strict_ordinal_date_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_ordinal_date_time" | ||
| }, | ||
| "ordinal_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "ordinal_date_time_no_millis" | ||
| }, | ||
| "strict_ordinal_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_ordinal_date_time_no_millis" | ||
| }, | ||
| "time" : { | ||
| "type" : "date", | ||
| "format" : "time" | ||
| }, | ||
| "strict_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_time" | ||
| }, | ||
| "time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "time_no_millis" | ||
| }, | ||
| "strict_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_time_no_millis" | ||
| }, | ||
| "t_time" : { | ||
| "type" : "date", | ||
| "format" : "t_time" | ||
| }, | ||
| "strict_t_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_t_time" | ||
| }, | ||
| "t_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "t_time_no_millis" | ||
| }, | ||
| "strict_t_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_t_time_no_millis" | ||
| }, | ||
| "week_date" : { | ||
| "type" : "date", | ||
| "format" : "week_date" | ||
| }, | ||
| "strict_week_date" : { | ||
| "type" : "date", | ||
| "format" : "strict_week_date" | ||
| }, | ||
| "week_date_time" : { | ||
| "type" : "date", | ||
| "format" : "week_date_time" | ||
| }, | ||
| "strict_week_date_time" : { | ||
| "type" : "date", | ||
| "format" : "strict_week_date_time" | ||
| }, | ||
| "week_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "week_date_time_no_millis" | ||
| }, | ||
| "strict_week_date_time_no_millis" : { | ||
| "type" : "date", | ||
| "format" : "strict_week_date_time_no_millis" | ||
| }, | ||
| "weekyear_week_day" : { | ||
| "type" : "date", | ||
| "format" : "weekyear_week_day" | ||
| }, | ||
| "strict_weekyear_week_day" : { | ||
| "type" : "date", | ||
| "format" : "strict_weekyear_week_day" | ||
| }, | ||
| "year_month_day" : { | ||
| "type" : "date", | ||
| "format" : "year_month_day" | ||
| }, | ||
| "strict_year_month_day" : { | ||
| "type" : "date", | ||
| "format" : "strict_year_month_day" | ||
| }, | ||
| "yyyy-MM-dd" : { | ||
| "type" : "date", | ||
| "format": "yyyy-MM-dd" | ||
| }, | ||
| "HH:mm:ss" : { | ||
| "type" : "date", | ||
| "format": "HH:mm:ss" | ||
| }, | ||
| "yyyy-MM-dd_OR_epoch_millis" : { | ||
| "type" : "date", | ||
| "format": "yyyy-MM-dd||epoch_millis" | ||
| }, | ||
| "hour_minute_second_OR_t_time" : { | ||
| "type" : "date", | ||
| "format": "hour_minute_second||t_time" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.