You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "joseaio (JIRA)" <ji...@apache.org> on 2016/02/14 20:04:18 UTC

[jira] [Commented] (CALCITE-1089) Allows mapping ObjectId as VARCHAR(24)

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

joseaio commented on CALCITE-1089:
----------------------------------

An example of native ID ("_id") as stored in mongo:

db.Companies.save({ "_id" : ObjectId("566eb3cd0000000000010000"), "name" : "ACME", "_types" : [ "Companies" ], "_lastModified" : "2016-01-01T00:00:00.000Z" })



> Allows mapping ObjectId as VARCHAR(24)
> --------------------------------------
>
>                 Key: CALCITE-1089
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1089
>             Project: Calcite
>          Issue Type: New Feature
>          Components: mongodb
>    Affects Versions: 1.6.0
>         Environment: Mongo 3.2.1
>            Reporter: joseaio
>            Assignee: Julian Hyde
>
> Allows "automatic" mapping from mongo id (ObjectId) as varchar(24)



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