[YSQL] Unexpected error " unexpected varattno 5 in expression to be mapped" after columns are dropped in table and a new partition is added #22393
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/bug
This issue is a bug
priority/medium
Medium priority issue
status/awaiting-triage
Issue awaiting triage
Projects
Jira Link: DB-11292
Description
Given the following schema:
If I apply the following script to it that drops the 'useless_x' columns and adds a secondary partial index, and then add partition to the table, I get a "unexpected varattno 5 in expression to be mapped" error.
Script:
Output:
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: