Comments (2)
I just chatted with the folks at Meltano. This is definitely a compatibility issue. Currently Meltano defaults to running discovery before running a separate command with the provided args. I'll be filing an issue with them to change this default behavior.
I tried manually generating the schema and catalog files. I first removed the - discover
from capabilities
. Then I ran meltano invoke tap-rest-api --infer_schema
. The first error I got was Applying catalog rules failed: catalog file is missing.
which I thought was odd because I thought --infer_schema
was supposed to generate that. Regardless I got passed that by also removing the - catalog
capability.
I ran meltano invoke tap-rest-api --infer_schema
again. This time it gave me this error: CRITICAL local variable 'end_from_config' referenced before assignment
. Some feedback on this, my endpoint doesn't need any time or index information to be provided. Fortunately, my endpoint doesn't still respond even if you do provide it.
So I added index_key
and end_index
to my config with some dummy values and then ran meltano invoke tap-rest-api --infer_schema
again. This generated both the catalog and schema.
from tap-rest-api.
It's probably incompatibility that can be overcome. I'm not a user of Meltano, but can you first try removing discover from capabilities section in meltano.yml and run infer_schema separately (don't know how you can do this from Meltano...you might need to manually run tap-rest-api) to generate the schema and catalog files before running the sync in Meltano?
from tap-rest-api.
Related Issues (17)
- OAuth refresh token support
- end_datetime is not honored when timestamp_key is used
- missing variable for max_page logging
- Infer schema mode produces null record that causes "CRITICAL list index out of range" error HOT 1
- Fully support multiple streams
- Prevent auto-conversion from null to false, 0, 0.0, '' and etc
- Invalid type on json schema causes crash HOT 6
- OpenAPI specification input HOT 2
- Migrate to SDK HOT 1
- UnboundLocalError: local variable 'streams' referenced before assignment HOT 2
- Use digest for dup check instead of raw record HOT 1
- Wrong params for singer.utils.backoff decorator
- Fully support multiple stream sync
- Pagination by unique keys
- Support record_level & record_list_level at arbitrary levels
- Support POST as HTTP method HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tap-rest-api.