This is an automated email from the ASF dual-hosted git repository.
isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new ffcae74702e IGNITE-25249 Add FORCE_INDEX hint error description for
non-existent … (#5712)
ffcae74702e is described below
commit ffcae74702ecc93d97216a66f0bc49f0995b3d40
Author: jinxxxoid <[email protected]>
AuthorDate: Tue Sep 23 20:01:27 2025 +0400
IGNITE-25249 Add FORCE_INDEX hint error description for non-existent …
(#5712)
---
docs/_docs/sql-tuning/sql-tuning.adoc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/docs/_docs/sql-tuning/sql-tuning.adoc
b/docs/_docs/sql-tuning/sql-tuning.adoc
index dbfc8f70db5..81125e8ebcf 100644
--- a/docs/_docs/sql-tuning/sql-tuning.adoc
+++ b/docs/_docs/sql-tuning/sql-tuning.adoc
@@ -60,6 +60,13 @@ The optimizer tries to apply every hint and its parameters,
if possible. But it
* The hint parameter is incorrect or refers to a nonexistent object, such as a
nonexistent index or table.
* The current hints or current parameters are incompatible with the previous
ones, such as forcing the use and disabling of the same index.
+If a `FORCE_INDEX` hint references an index that does not exist, the following
error will be thrown:
+
+[source, java]
+----
+Hints mentioned indexes "IDX_NOT_FOUND1", "IDX_NOT_FOUND2" were not found.
+----
+
=== Supported hints
==== FORCE_INDEX / NO_INDEX