We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm not able to generate the correct schema in the discovery / etl process, here is a simple example
Using mongo 5, standalone server.
I have this collection
{ "_id": { "$oid": "62c4373ebed325d5aecd7598" }, "name": "Todos los Hosts ", "description": "Este grupo será usado para todos los hosts", "createdBy": { "$oid": "62c425f81e1177ed03fb693b" }, "createdAt": { "$date": { "$numberLong": "1657026366116" } }, "updatedAt": { "$date": { "$numberLong": "1657026366116" } }, "__v": 0 }
meltano invoke tap-mongodb --discover > ~/catalog.json
outputs the following schema
{ "table_name": "groups", "stream": "groups", "metadata": [ { "breadcrumb": [], "metadata": { "table-key-properties": [ "_id" ], "database-name": "go-product", "row-count": 1, "is-view": false, "valid-replication-keys": [ "_id" ] } } ], "tap_stream_id": "go-product-groups", "schema": { "type": "object" } }
The text was updated successfully, but these errors were encountered:
so the schema is output like "schema": { "type": "object" }
"schema": { "type": "object" }
i was expecting the keys of each column
Sorry, something went wrong.
No branches or pull requests
Hi,
I'm not able to generate the correct schema in the discovery / etl process, here is a simple example
Using mongo 5, standalone server.
I have this collection
{ "_id": { "$oid": "62c4373ebed325d5aecd7598" }, "name": "Todos los Hosts ", "description": "Este grupo será usado para todos los hosts", "createdBy": { "$oid": "62c425f81e1177ed03fb693b" }, "createdAt": { "$date": { "$numberLong": "1657026366116" } }, "updatedAt": { "$date": { "$numberLong": "1657026366116" } }, "__v": 0 }
meltano invoke tap-mongodb --discover > ~/catalog.json
outputs the following schema
{ "table_name": "groups", "stream": "groups", "metadata": [ { "breadcrumb": [], "metadata": { "table-key-properties": [ "_id" ], "database-name": "go-product", "row-count": 1, "is-view": false, "valid-replication-keys": [ "_id" ] } } ], "tap_stream_id": "go-product-groups", "schema": { "type": "object" } }
The text was updated successfully, but these errors were encountered: