Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSQL: Implement DATE_PARSE #54962
SQL: Implement DATE_PARSE #54962
Comments
|
Pinging @elastic/es-ql (:Query Languages/SQL) |
|
Hi @matriv, I want to know that what's the different between <date_str>, <datetime_str>, <time_str>. |
|
|
|
@matriv Thank you for explaining. Let me try. |
|
@Patrick0308 Thank you! |
|
@Patrick0308 I would suggest though to wait for #55095 since this will re-arrange some code, with the introduction of an enum, or simpler a new argument to the Processor so that TIME and then DATE can be parsed with 2 new separate functions. |
|
@Patrick0308 Would you like to take over #55095 ? or you could just implement the DATE_PARSE with similar approach as described in my comments there. |
|
I would like to contribute to fix this issue. Could I get assigned? This would be my first issue. |
|
Can I Contribute to fix this issue? Please let me know if it is open. This would be my first issue. |
Implement DATE_PARSE(<date_str>, <pattern_str>) function
which allows to parse a date string according to the specified
pattern into a date object. The patterns allowed are those of
java.time.format.DateTimeFormatter.Follows: #54960