You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ildar Absalyamov (JIRA)" <ji...@apache.org> on 2016/01/08 00:13:39 UTC

[jira] [Commented] (ASTERIXDB-1253) A warning can be printed if a user-provided hint is not applied.

    [ https://issues.apache.org/jira/browse/ASTERIXDB-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15088355#comment-15088355 ] 

Ildar Absalyamov commented on ASTERIXDB-1253:
---------------------------------------------

I believe that we should not treat hints any different from the other comments, thus not generate any user-facing warnings (might log something internal though).
>From user perspective hint is merely a metainformation, rather then a request. It's up to the system to pick some other plan based on other information like heuristics or exact stats.

> A warning can be printed if a user-provided hint is not applied.
> ----------------------------------------------------------------
>
>                 Key: ASTERIXDB-1253
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1253
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Taewoo Kim
>
> When a user provides a certain hint (e.g., index_nl), a user expects that the given hint will be applied. If somehow the optimizer decides that the given hint is not applicable, we can print out a message that the hint was disabled during the execution of a query. Maybe we can return this warning along with the result. So, a client can print out this message. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)