GithubHelp home page GithubHelp logo

Comments (5)

EMCP avatar EMCP commented on June 22, 2024 1

im going to close this as I cannot dedicate time to sorting this out more... and focusing instead on using parquet

from target-jsonl-blob.

EMCP avatar EMCP commented on June 22, 2024

I built the blob and now just.. taking a look how to run it properly.. wire in the config.. so thats cool.. one issue is at first run the help menu is expecting files which.. might be counter intuitive

 ./target-jsonl-blob --help
JSONLines Singer target for blob storages

Usage:
  target-jsonl-blob [flags]

Flags:
  -c, --config string   Config file
  -h, --help            help for target-jsonl-blob
  -i, --input string    Input file
2022/03/19 10:24:42 unable to decode into struct, Config File "config" Not Found in "[]"


from target-jsonl-blob.

EMCP avatar EMCP commented on June 22, 2024

ah I see now in meltano I have the following in my config

loaders:
  - name: target-jsonl-blog
    namespace: target_jsonl_blog
    pip_url: target-jsonl-blog
    executable: target-jsonl-blog

i will move the executable somewhere and wire it into this loader .. and start debugging the docs.. for wiring this into S3.. but it would be good to maybe confirm what I should do installation wise (like are those errors expected and I should ignore them ? )

from target-jsonl-blob.

EMCP avatar EMCP commented on June 22, 2024

okay nice,

I wired in the full target path.. and now seeing something that makes sense

$  meltano invoke  target-jsonl-blob
2022/03/19 11:02:49 Using config file /home/.meltano/run/target-jsonl-blob/target.60f9783b-b941-45ba-993a-c32a0d0eb7e4.config.json
2022/03/19 11:02:49 unable to decode into struct, bucket is required

EDIT: I now have a config that i think is valid .. but wondering where/how to wire in AWS credentials? or is this something I need to add in source?

  - name: target-jsonl-blob
    namespace: target_jsonl_blob
    executable: /home/target-jsonl-blob/target-jsonl-blob
    config:
      bucket: file:///home/meltano-project-ib/load

from target-jsonl-blob.

edgarrmondragon avatar edgarrmondragon commented on June 22, 2024

Hi @EMCP sorry for the delay, I was out for a couple of weeks and this got buried below other notifications.

one issue is at first run the help menu is expecting files which.. might be counter intuitive

That looks like a 🐛: #4

I wired in the full target path.. and now seeing something that makes sense

Yup, the executable has to be an absolute path. I don't think you can plug the project path but that would be helpful, e.g. $MELTANO_PROJECT_ROOT/loaders/target-jsonl-blob.

wondering where/how to wire in AWS credentials? or is this something I need to add in source?

The options are

* Environment Variables
* Shared Credentials file
* Shared Configuration file (if SharedConfig is enabled)
* EC2 Instance Metadata (credentials only)

from https://docs.aws.amazon.com/sdk-for-go/api/aws/session/

from target-jsonl-blob.

Related Issues (4)

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.