Giter VIP home page Giter VIP logo

Comments (4)

berkai avatar berkai commented on September 6, 2024 1

I was also getting the same error on Ververica Platform CE. I noticed that the column names in the tables I created are not the same as the names of the fields from Kinesis. Even the difference between upper and lower case letters matters.

from amazon-kinesis-data-analytics-examples.

daMichaelB avatar daMichaelB commented on September 6, 2024 1

I guess I found a workaround by using an additional timestamp that is provided by the Kinesis-Connector and use it for the watermark:

CREATE TABLE {0} (
    ....
    StreamInsertTime TIMESTAMP_LTZ(3) METADATA FROM 'timestamp' VIRTUAL,
    WATERMARK FOR StreamInsertTime AS StreamInsertTime - INTERVAL '10' SECOND
)

from amazon-kinesis-data-analytics-examples.

jreyeshdez avatar jreyeshdez commented on September 6, 2024

Closing it as the issue seemed to be related to this line ts_time AS TO_TIMESTAMP(FROM_UNIXTIME(ts)), which yielded null, it should be ts_time AS TO_TIMESTAMP(FROM_UNIXTIME(ts/1000)), instead.

from amazon-kinesis-data-analytics-examples.

daMichaelB avatar daMichaelB commented on September 6, 2024

I am facing the same error. If the TIMESTAMP-Field is not available or it contains an invalid timestamp ( like a random string ), then this error appears.

The problem even gets bigger after deploying it to AWS Kinesis Analytics. Everytime an event with invalid timestamp comes in, the App crashes with this error. Then it restarts and crashes again on the same event. Also the following settings do not solve the problem

      'json.fail-on-missing-field' = 'false',
      'json.ignore-parse-errors' = 'true'

A solution would be to filter out invalid events with AWS Lambda, but is there no easy solution for this to ignore such events?

from amazon-kinesis-data-analytics-examples.

Related Issues (19)

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.