[
https://issues.apache.org/jira/browse/CASSANDRA-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021780#comment-13021780
]
Jonathan Ellis commented on CASSANDRA-2508:
-------------------------------------------
You're right re NSE. Fixed.
InternalError is for _database_ errors not driver errors. Left re-close() as
ok; changed cursor()-from-closed-conn to ProgrammingError, matching the sqlite3
behavior.
committed w/ above changes.
> missing imports in CQL Python driver
> ------------------------------------
>
> Key: CASSANDRA-2508
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2508
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.8
> Reporter: Eric Evans
> Assignee: Jonathan Ellis
> Labels: cql
> Fix For: 0.8
>
> Attachments: 2508.txt
>
>
> Try:
> bq. cd drivers/py && python -c 'from cql import DateFromTicks;
> DateFromTicks(1)'
> Also:
> {{cql.connection}} is missing an import of {{AuthenticationRequest}} from
> {{ttypes}}, and the exceptions {{NotSupportedError}}, and {{InternalError}}.
> Also:
> {{marshal.unmarshal_long}} has a NameError waiting to happen in the form of
> "unpack"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira