Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36605

Update Error Code for Vector Dimensionality Mis-Alignment

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • 11.8.0, 11.8.1
    • N/A
    • Vector search
    • None

    Description

      Currently, there is an issue with insert of a vector embedding that has a different length than what the table expects, the error code does not indicate the exact issue.

      Please update the error code language to the following:
      "Vector dimensionality mismatch: attempted to insert a vector with

      {actual_dim}

      dimensions into a column defined with

      {expected_dim}

      dimensions. Please ensure the vector matches the expected dimensionality."

      Attachments

        Activity

          We have a common error for all data types when a value cannot be stored, it's the same for storing invalid date in a date or datetime column, for storing integer values outside of the allowed range. For decimal. And for vector columns too.

          It would be strange and inconsistent to have a dedicated error message specifically for one data type.

          serg Sergei Golubchik added a comment - We have a common error for all data types when a value cannot be stored, it's the same for storing invalid date in a date or datetime column, for storing integer values outside of the allowed range. For decimal. And for vector columns too. It would be strange and inconsistent to have a dedicated error message specifically for one data type.
          adamluciano Adam Luciano added a comment - - edited

          Moved to a docs issue

          adamluciano Adam Luciano added a comment - - edited Moved to a docs issue

          People

            Unassigned Unassigned
            adamluciano Adam Luciano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.