Code Monkey home page Code Monkey logo

Comments (7)

lucrussell avatar lucrussell commented on June 15, 2024 1

I'm using 4.1.0.

from ksql-python.

davit555 avatar davit555 commented on June 15, 2024 1

thanks for the fix ;)

from ksql-python.

lucrussell avatar lucrussell commented on June 15, 2024 1

thanks! 👍

from ksql-python.

bryanyang0528 avatar bryanyang0528 commented on June 15, 2024

@lucrussell Which version of KSQL server do you use?

from ksql-python.

davit555 avatar davit555 commented on June 15, 2024

Guys any updates on this ?

from ksql-python.

bryanyang0528 avatar bryanyang0528 commented on June 15, 2024

@davit555 Yap, I found that key is required when creating a table but create_table didn't be allowed receive key as a parameter. I'll update it in this few days. Thx

from ksql-python.

bryanyang0528 avatar bryanyang0528 commented on June 15, 2024

It's seem fine now

>>> client = KSQLAPI('http://ksql-server:8088')
>>> client.create_table(table_name='mytable',
...                     columns_type=['viewtime bigint', 'userid varchar', 'pageid varchar'],
...                     topic='mytopic',
...                     value_format='JSON', key='viewtime')
True
>>> client.ksql('show tables')
[{'tables': {'statementText': 'show tables;', 'tables': [{'name': 'MYTABLE', 'topic': 'mytopic', 'format': 'JSON', 'isWindowed': False}]}}]
>>>

from ksql-python.

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.