Skip to content
New issue

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

showed {"type": "STATE", "value": {"currently_syncing": null}} even though table rows not empty #11

Open
Diogospm opened this issue Aug 3, 2021 · 1 comment

Comments

@Diogospm
Copy link

Diogospm commented Aug 3, 2021

Hey! Hope all fine there....

I'm a new Singer.io user and I'm trying to get some data from a deb2 as400 database using tap-db2.

I was able to connect to the database and get the catalog, but when I try to sync I'm getting:
{"type": "STATE", "value": {"currently_syncing": null}}

I tried to update the catalog and make sure the stream was selected.
"metadata": [
{
"breadcrumb": [],
"metadata": {
"table-key-properties": [],
"selected-by-default": true,
"selected": true,
"replication-method": "FULL_TABLE",
"valid-replication-keys": [
"Id"
]
But I'm getting the same result, if I submit a query direcly using pyodbc I able to get data.

thanks.

@Diogospm
Copy link
Author

Diogospm commented Aug 4, 2021

the complete catalog:

{
"streams": [
{
"tap_stream_id": "$$ILH45O-UKROLL",
"database_name": "$$ILH45O",
"table_name": "UKROLL",
"schema": {
"properties": {
"RMORTI": {
"inclusion": "available",
"maxLength": 15,
"type": [
"null",
"string"
]
},
"RMLOJO": {
"inclusion": "available",
"maxLength": 3,
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"is_view": false,
"stream": "UKROLL",
"metadata": [
{
"breadcrumb": [],
"metadata": {
"table-key-properties": [],
"selected-by-default": true,
"valid-replication-keys": [],
"selected": true,
"replication-method": "FULL_TABLE"
}
},
{
"breadcrumb": [
"properties",
"RMORTI"
],
"metadata": {
"selected-by-default": true,
"sql-datatype": "char"
}
},
{
"breadcrumb": [
"properties",
"RMLOJO"
],
"metadata": {
"selected-by-default": true,
"sql-datatype": "char"
}
}
]
}
]
}

comparing with a test done using tap postgres, I don't have the schema object here in db2, should I?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant