hazelcast / hazelcast/hazelcast-cpp-client

Cannot print SQL TIMESTAMP column [API-2356]

Open
#1,126 1 comment 0 reactions 0 assignees View on GitHub
to-jira Type: Enhancement
Dominant language
C++
Stars
91
Forks
54
Avg merge
1d 12m
Merged PRs (30d)
5

Description

Hazelcast Cpp client version: 5.1.0

Expected behaviour
Iterating on the result of an SQL query, this should work

if (sql_column_type == hazelcast::client::sql::sql_column_type::timestamp) {
auto ts = row.get_object(i);
std::cout << ts;
}
but fails as hazelcast::client::local_date_time does not overload <<

Steps to reproduce the behaviour
Query a mapping with a TIMESTAMP column,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.