You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Quintin Kerby (JIRA)" <ji...@apache.org> on 2018/06/15 01:05: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=16513194#comment-16513194 ]
Quintin Kerby commented on CALCITE-2301:
----------------------------------------
I just ran into this issue, found this bit of code in the stack trace, manually changed the value to 100 in Eclipse debug and the query finally returned successfully.
As a Calcite user, I would like to be able to override the 10 second limit through config. 10 seconds is fine as a default, but I would like to have the option to override it.
> 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)