Skip to content

Jupysql overrides Databricks %sql magic despite alias #1047

@danielsparing

Description

@danielsparing

What happens?

In Databricks, once jupysql is loaded, the original Databricks %sql magics are unusable, even though the docs say "you can use both".

Probably in a Databricks enviromnent only the %jupysql alias should be added.

To Reproduce

In a Databricks notebook:

%pip install jupysql --quiet

%load_ext sql
%sql
select 1
# Returns UsageError: No active connection.

The above error hints that %sql was trying to call jupysql.

OS:

Linux

JupySQL Version:

0.10.17

Full Name:

Daniel Sparing

Affiliation:

Goudappel

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