Steve Carlin created IMPALA-14464:
-------------------------------------

             Summary: Calcite planner: allow semi-colon in direct connection
                 Key: IMPALA-14464
                 URL: https://issues.apache.org/jira/browse/IMPALA-14464
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Steve Carlin


The following python produces an error for the Calcite planner (running 
impala-python3 with this script):
{code:java}
from impala.dbapi import connect
conn = connect(host='localhost', port=21050)
cursor = conn.cursor()
# Running with regular Impala planner (as use_calcite_planner query option is 
false)
# This works:
cursor.execute('select 4;')
# Running with Calcite, the same statement fails to parse.
cursor.execute('set use_calcite_planner=true')
cursor.execute('select 4;')
{code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to