You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2016/11/18 04:22:58 UTC

[jira] [Commented] (METAMODEL-1129) JSON - Parsing Date Columns

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

Kasper Sørensen commented on METAMODEL-1129:
--------------------------------------------

+1 from me for doing it. I think the schema detector could probe strings if they are parseable as dates (see [1] for format suggestions). Or maybe it could be a manual setting if you're not detecting schema, but defining it manually.

[1] http://stackoverflow.com/questions/10286204/the-right-json-date-format

> JSON - Parsing Date Columns
> ---------------------------
>
>                 Key: METAMODEL-1129
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-1129
>             Project: Apache MetaModel
>          Issue Type: Improvement
>    Affects Versions: 4.5.4
>            Reporter: Justin Lim Wei Kit
>            Priority: Minor
>
> When parsing JSON currently, MetaModel is able to accurately get String columns, Integer columns, Double columns and Boolean columns. However, AFAIK, columns with dates will be parsed as a String column. 
> Should we extend it so that Metamodel will be able to detect and parse date columns as well?
> Thanks,
> Justin Lim



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)