Skip to content

Python postgres Range impl missed intersection method #9509

Closed
@uriyyo

Description

@uriyyo
Contributor

Describe the use case

Python postgres Range impl missed intersection method:

SELECT '[1, 10]'::int4range * '[5, 15]'::int4range  -- [5, 11)

Databases / Backends / Drivers targeted

postgresql

Example Use

a = Range(1, 10)
b = Range(5, 15)

c = a * b

Additional context

No response

Activity

added
requires triageNew issue that requires categorization
use casenot really a feature or a bug; can be support for new DB features or user use cases not anticipated
on Mar 19, 2023
changed the title [-]Python postgres `Range` missed `intersection` method[/-] [+]Python postgres `Range` impl missed `intersection` method[/+] on Mar 19, 2023
added and removed
requires triageNew issue that requires categorization
on Mar 19, 2023
sqla-tester

sqla-tester commented on Mar 20, 2023

@sqla-tester
Collaborator

Yurii Karabas has proposed a fix for this issue in the main branch:

Add intersection method to Range class https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/4523

added a commit that references this issue on Feb 9, 2024
609f432
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

    postgresqluse casenot really a feature or a bug; can be support for new DB features or user use cases not anticipated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @sqla-tester@CaselIT@uriyyo

      Issue actions

        Python postgres `Range` impl missed `intersection` method · Issue #9509 · sqlalchemy/sqlalchemy