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.

Wildcards not working in postgres engine #7

@WakeMeAtThree

Description

@WakeMeAtThree

Hello,
I have a postgres database that I connected to in jupyter, and when I query using LIKE '%1' like this:

SELECT topic_title
FROM engagement
WHERE url LIKE '%/1' AND is_pm = 'No';

I get: <sql_magic.exceptions.EmptyResult at 0x8dc35b0>

Now here's the thing. I know that this query will get be several results because I queried it successfully in pgadmin. But I would love to have it working it in jupyter. I tried restarting the kernel and running the cells again, and I tried it on a difference database, and LIKE % wildcards just don't work.

Any idea how to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions