Skip to content

Please enable cancel operation for teradata sql execution. #98

Open

Description

@praveen-kanamarlapudi

We are using PyTd with jupyter notebooks. Interrupting the kernel generated KeyboardInterrupt exception. But PyTd is ignoring the KeyboardInterrupt exception and not canceling the sql submitted and waiting for the sql to be completed.

Sample code:

import teradata

udaExec = teradata.UdaExec(appName="Jupyter Notebooks", version="1.0",
                                   logConsole=False)

connection = udaExec.connect(method="odbc",
                             system='teradata_host_name',
                             username=username,
                             password=password.replace('$', '$$'))

result = connection.execute(LONG_RUNNING_SQL)

It waits for the sql to be completed and doesn't cancel the executing sql.

Activity

  1. praveen-kanamarlapudi commented on Aug 9, 2018

    @praveen-kanamarlapudi
    Author

    @escheie Any thoughts on this issue?

  2. pkasinathan commented on Sep 13, 2018

    @pkasinathan

    Any updates on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions