joshua_janicas
06/22/2023, 6:37 PMtap-mssql
extractor (BuzzCutNorman Variant). I have been able to connect to the database and see a set of tables. I am then trying to use the target-jsonl
loader defined in the getting started tutorials to confirm that these loads are performing!
It gets through a few of the tables, then blows up on me with an Event Loop is Closed
Error. Any insight or tips would be appreciated! Further details in ๐งตjoshua_janicas
06/22/2023, 6:40 PMextractors:
- name: tap-mssql
variant: buzzcutnorman
pip_url: git+<https://github.com/BuzzCutNorman/tap-mssql.git>
config:
dialect: mssql
driver_type: pyodbc
host: 127.0.0.1,4433
port: 1433
user: ABC
password: XYZ
database: DB
sqlalchemy_eng_params:
fast_executemany: 'True'
sqlalchemy_url_query:
driver: ODBC Driver 17 for SQL Server
TrustServerCertificate: yes
- name: tap-mssql-content
inherit_from: tap-mssql
select:
- Content-*.*
- name: tap-mssql-admin
inherit_from: tap-mssql
select:
- Admin-*.*
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
joshua_janicas
06/22/2023, 6:46 PMmeltano run tap-mssql-content target-jsonl
does produce a few files and then has a bad time. Log dump also includedjoshua_janicas
06/22/2023, 6:48 PMjoshua_janicas
06/22/2023, 6:52 PMmeltano config test
also repeats an IO Operation on closed pipe /Event Loop Closed errorBuzzCutNorman
06/22/2023, 7:14 PMmeltano invoke tap-mssql-admin
joshua_janicas
06/22/2023, 7:23 PMBuzzCutNorman
06/22/2023, 7:25 PMtarget-jsonl
is getting the column`IsFilterable` from the stream Content-AttibuteDefinitionUpdate
. This is what target-jsonl
is giving the the traceback.
jsonschema.exceptions.ValidationError: True is not of type 'string'
Failed validating 'type' in schema['properties']['IsFilterable']:
{'type': ['string']} On instance['IsFilterable']: True
BuzzCutNorman
06/22/2023, 7:36 PMisFilterable
of data type BIT
by any chance?joshua_janicas
06/22/2023, 7:36 PM[IsFilterable] BIT NOT NULL,
That's a bingoBuzzCutNorman
06/22/2023, 7:48 PMjoshua_janicas
06/22/2023, 8:01 PMmeltano invoke tap-mssql-admin
and meltano invoke tap-mssql-content
Both commands worked and went through the entire domains.BuzzCutNorman
06/22/2023, 8:02 PMjoshua_janicas
06/22/2023, 8:03 PMmeltano run tap-mssql-admin target-jsonl
. And it also died on a similar error stack, on a table with the BIT.
Good to hear - thank you for such a quick turnaround Dan!BuzzCutNorman
06/22/2023, 8:06 PMjoshua_janicas
06/22/2023, 8:09 PMBuzzCutNorman
06/22/2023, 8:42 PMmeltano install extractor tap-mssql --clean
then try the extract again.joshua_janicas
06/23/2023, 1:37 PMjoshua_janicas
06/23/2023, 1:45 PMjoshua_janicas
06/23/2023, 1:53 PMBuzzCutNorman
06/23/2023, 2:53 PM