[ 
https://issues.apache.org/jira/browse/BEAM-10473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194797#comment-17194797
 ] 

Beam JIRA Bot commented on BEAM-10473:
--------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> RowJson should support DATETIME
> -------------------------------
>
>                 Key: BEAM-10473
>                 URL: https://issues.apache.org/jira/browse/BEAM-10473
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-core
>            Reporter: Jacob Ferriero
>            Priority: P2
>              Labels: stale-P2
>
> Add support for DATETIME types to support adding an 
>  interface to JsonToRow that accepts a joda DateTimeFormatter for parsing 
> DateTime JSON string fields or specifies a behavior for treating numbers as 
> unix timestamps.
> This is crucial for SQL pipelines processing streaming data with timestamps.
> The interface might look something lik this:
> {code:java}
> /** For parsing JSON string fields containing dates to DATETIME in the target 
> schema */
> JsonToRow::withDateTimeFormatter(org.joda.time.format.DateTimeFormatter)
> /** For parsing JSON number fields containing milliseconds since UNIX epoch 
> that are listed as DATETIME in the target schema*/
> JsonToRow::usingUnixMillis()
> /** For parsing JSON number fields containing seconds since UNIX epoch that 
> are listed as DATETIME in the target schema*/
> JsonToRow::usingUnixSeconds()
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to