[ https://issues.apache.org/jira/browse/CALCITE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738621#comment-16738621 ]
Julian Hyde commented on CALCITE-2301: -------------------------------------- Yes, CURRENT_TIMESTAMP should be in the connection's time zone, not UTC. See [https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions037.htm] and also the SQL standard. Please log it. > JDBC adapter: use query timeout from the top-level statement > ------------------------------------------------------------ > > 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 > Labels: pull-request-available > 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)