Skip to content

bug: cARDINALITY() function not working in CUBRID 11.2 #3

Closed

Description

@yeongseon

Upstream Bug (cubrid/cubrid — issues disabled)

CARDINALITY() for collection columns (SET/MULTISET/LIST) does not work in CUBRID 11.2 despite documentation.

SELECT CARDINALITY(tags) FROM test_coll;  -- ERROR

Workaround: Application-level counting.
Discovered in: cubrid-cookbook pycubrid recipe 10

Activity

  1. yeongseon commented on Aug 6, 2026

    @yeongseon
    ContributorAuthor

    Already documented in sqlalchemy-cubrid README Known Limitations:

    CARDINALITY() broken — func.cardinality() raises CompileError with workaround guidance; the CUBRID server has a known bug

    This is an upstream CUBRID server bug (11.2). The dialect layer raises a clear CompileError with workaround guidance instead of crashing. Closing as documented — will reopen if CUBRID fixes the server-side bug.

  2. changed the title [-][Upstream] CARDINALITY() function not working in CUBRID 11.2[/-] [+]bug: cARDINALITY() function not working in CUBRID 11.2[/+] on Oct 27, 2026
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