Wrong syntax of cache hints in the documentation
-------------------------------------------------
Key: TEIID-3481
URL:
https://issues.jboss.org/browse/TEIID-3481
Project: Teiid
Issue Type: Bug
Components: Documentation
Affects Versions: 8.7
Reporter: Juraj DurĂ¡ni
Assignee: Steven Hawkins
The syntax for cache hint is as follows:
(1) cache[([pref_mem] [ttl:n] [updatable])] [scope:(session|user|vdb)]
So if user wants to use cache for specific scope (e.g. session) according to declared
syntax it should be:
(2) cache scope:session
But using (2) teiid ignores the scope. What teiid accepts is:
cache(scope:session)
So I suggest to update (1) to:
cache[([pref_mem] [ttl:n] [updatable] [scope:(session|user|vdb)]*)]*