hazelcast / hazelcast/hazelcast-cpp-client

[TRACKING ISSUE] Provide CREATE MAPPING suggestion on existing but not mapped IMap exception

Open
#928 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
91
Forks
54
Avg merge
1d 12m
Merged PRs (30d)
5

Description

The tracking issue for the Java side PR.

See https://github.com/hazelcast/hazelcast/pull/19484 for details.

---

`HazelcastSqlException` gains `suggestion` (suggested SQL statement to remediate experienced error).
In a situation when an `IMap` exists but is not mapped, `suggestion` contains `CREATE MAPPING` statement for this particular `IMap`.

Added SqlMappingDdl client operation - one can pass a name of an `IMap` and get `CREATE MAPPING` statement for it.

Depends upon [#391](https://github.com/hazelcast/hazelcast-client-protocol/pull/391)

Fixes #19464

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.