You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2018/05/07 18:16:00 UTC

[jira] [Commented] (CALCITE-2301) Remove the 10-second-timeout restriction in ResultSetEnumerable

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

Julian Hyde commented on CALCITE-2301:
--------------------------------------

I agree that a magic number is not great. But removing the timeout is not great either.

What, in your opinion, would be the ideal behavior?

> Remove the 10-second-timeout restriction in ResultSetEnumerable
> ---------------------------------------------------------------
>
>                 Key: CALCITE-2301
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2301
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.16.0
>            Reporter: Fan Yang
>            Assignee: Julian Hyde
>            Priority: Minor
>             Fix For: next
>
>
> It's not a good idea to have the magic number here. Also, databases may not get back within 10 second for various reasons (e.g., in the case of JDBC schema).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)