Giter Club home page Giter Club logo

chdb's People

Contributors

jille avatar lcastelli avatar sebcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

chdb's Issues

Minor fix.

From trying version 1.0.3, quick notes:

Bad version:

 $ grep PHP_CHDB_VERSION chdb-1.0.3/*h
 chdb-1.0.3/php_chdb.h:#define PHP_CHDB_VERSION "1.0.1"

Bad archive (bad Archive_Tar used to generate the package)

 $ tar tf chdb-1.0.3.tgz 
 package.xml

Shoud use $PHP_LIBDIR instead of "lib" in config .m4 (could be "lib64"), so --with-libdir will be honoured.

 sed -e 's:/lib:/$PHP_LIBDIR:'  -i config.m4

All are trivial.
Thanks

Invalid exception class used by chdb constructor.

Currently, chdb throws "Exception" class object, when it cannot find the memory-mapped file. However, this exception is semantically incorrect in this place which forces us to wrap it in try{ }catch{} just to rewrite it into a different object, if our system relies on the exception types to decide what to do with them.

The valid exception is RuntimeException: http://docs.php.net/manual/en/class.runtimeexception.php

The change does not break the backward compatibility.

chdb generates warnings when trying to store arrays as values.

I tried to store an array as the value in the chdb. It is not said that I can't, and this is something I needed. Unfortunately, chdb thrown lots of warnings "Array to string conversion" when saving the array with chdb_create(). I think that automatic serialization of compound data types would be very useful feature.

The problem is that chdb would have to remember which values are serialized and which ones are not in order not to unserialize an ordinary string by accident.

If this feature is not going to be added, it should be clearly marked that the array values must be scalar types and chdb_create() should fail immediately when something is going wrong.

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.