Giter VIP home page Giter VIP logo

Comments (2)

jlloyd-widen avatar jlloyd-widen commented on August 25, 2024 1

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.

daigotanaka avatar daigotanaka commented on August 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.