[
https://issues.apache.org/jira/browse/DRILL-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245887#comment-15245887
]
ASF GitHub Bot commented on DRILL-4613:
---------------------------------------
Github user jaltekruse commented on the pull request:
https://github.com/apache/drill/pull/483#issuecomment-211443568
We have talked about the possibility of providing a message to users when
they try using a malformed UDF, by providing a placeholder that will give them
back the message that was captured during failed registration. Would it be
useful to do that instead of logging an error? This is a reasonable behavior
for now, but it might be worth opening a follow up JIRA to get this information
back to users as soon as possible. I think it would generally adopt the idea
that sending people to the logs is something that should be avoided.
> Skip the plugin if it throws errors when registering schemas
> ------------------------------------------------------------
>
> Key: DRILL-4613
> URL: https://issues.apache.org/jira/browse/DRILL-4613
> Project: Apache Drill
> Issue Type: Improvement
> Components: Storage - Other
> Reporter: Venki Korukanti
> Assignee: Venki Korukanti
> Priority: Minor
> Fix For: 1.7.0
>
>
> Currently when registering schemas in root schema, if a plugin throws an
> exception we fail the query. This causes every query to fail as every query
> needs a complete schema tree. Plugins could throw exceptions due to transient
> errors (storage server is temporarily not reachable).
> If a plugin throws an exception during schema registration, log an error,
> skip the plugin and continue registering schemas from rest of the plugins. If
> the user is querying tables from other plugins, the query should succeed. If
> the user is querying the tables in skipped plugin, a table not found
> exception is thrown.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)