timeplus-io / timeplus-cpp

Timeplus C++ client
Apache License 2.0
1 stars 0 forks source link

Supports a parameterless constructor for the datetime64 data type. #7

Closed Jax-YHH closed 1 month ago

Jax-YHH commented 1 month ago

When using the datetime64 type in the Timeplus-cpp client, precision must be specified, and direct use without parameters is not supported. Consider implementing a parameterless constructor with a default precision of 3. (like timeplusd-client)

/usr/include/c++/11/ext/new_allocator.h:162:11: error: no matching function for call to ‘timeplus::ColumnDateTime64::ColumnDateTime64()’
  162 |         { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jax-YHH commented 1 month ago

already done