Coder Social home page Coder Social logo

Comments (4)

brenorc avatar brenorc commented on August 21, 2024 2

If you take a look at the table "ADMIN"."COPY$23_LOG" you will find the reason for your error. I had the same issue, read the log and found out the database was trying to import the header row from the .csv file as data, what caused an error. You can change the input command to skip the first row or manually delete the header row from the .csv file and it will probably work.

from learning-library.

m1nka avatar m1nka commented on August 21, 2024

There are two errors in the tutorial. The first one as mentioned, and also the object storage URL is wrong in the tutorial.

from learning-library.

jdruizperea avatar jdruizperea commented on August 21, 2024

you can add 'skipheaders' value '1' in the format section of the copy_data statement to avoid this error. So format would be like this:
format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true', 'dateformat' value 'YYYY-MM-DD HH24:MI:SS', 'blankasnull' value 'true', 'delimiter' value ',', 'skipheaders' value '1')

Still the notebook should be updated to correct this

from learning-library.

tmcginn avatar tmcginn commented on August 21, 2024

Hello, I am closing this issue due to its age. If this is still an issue, please reopen it.

from learning-library.

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.