Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Q: Way to use a conn at line magic? #9

@tkang007

Description

@tkang007

Hi,
Wonderful project for SQL at Jupyter. Let me add a question with below usage case.

Usage senario:
With cell magic, "drop if exist tmptab; creat temp tab" failed as no table. it might be failed as it execute as a statement i
postgres+psycopg2 env.

With two cell magic using a connection, it is okay.

With two line magic, how to specify a specific connection.

When engine configed with threadlocal and max 1, overflow 0, this case can be solved.

But, I like to use line magic in a function(not in cell magic) and parallel model for this case.

Thanks,
Taewon

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