Giter VIP home page Giter VIP logo

Comments (4)

dluftspring avatar dluftspring commented on May 20, 2024 1

Testing with the pre-release this looks like it's working properly to me!

from sling-cli.

flarco avatar flarco commented on May 20, 2024

Not sure if this is feasible... What types of non-utf8 encodings are you thinking of?

from sling-cli.

dluftspring avatar dluftspring commented on May 20, 2024

latin-1 is the one I encounter most but I understand if this isn't worth pursuing or isn't possible. At a certain point you can just say data in the databases should be utf-8 and there should be processes to make sure weird characters don't get in there

from sling-cli.

flarco avatar flarco commented on May 20, 2024

Hey, I pre-released a new version: https://github.com/slingdata-io/sling-cli/releases/tag/v1.0.31
Can you download the binary, test and let me know if it works? You can use the transforms: [ decode_latin1 ] option like this:

source: SNOWFLAKE_DEV
target: DOCKER_POSTGRES

defaults:
  mode: truncate
  source_options:
    transforms: [ decode_latin1 ]

streams:
  snowflake_schema.snowflake_table:
    object: public.my_postgres_table

Here are the options: https://github.com/slingdata-io/sling-cli/blob/main/core/sling/tranforms.go#L20-L27

from sling-cli.

Related Issues (20)

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.