DataTypeEnum enumeration cannot be empty
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
It raises the error of ERROR 1105 (HY000): DataTypeEnum enumeration cannot be empty when executing the sql select * from table_75_binary_undef as t1 where t1. `col_char(20)_key_signed` <> (select `col_enum_key_signed` from table_1_binary_undef as t2 where t2. `col_decimal(40, 20)_key_signed` like "had" or t2. `col_int_undef_signed` between t2. `col_decimal(40, 20)_key_signed` and '05:06:40' and t2. `col_smallint_undef_signed` not between t2. `col_datetime_key_signed` and t2. `col_varchar(20)_undef_signed` order by pk asc limit 1); . While the TiKV's engine is successful.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the reported SQL against TiFlash and TiKV, then compare how each engine handles the DataTypeEnum expression. The issue is resolved when TiFlash no longer raises the empty-enumeration error and matches TiKV's successful behavior for this query.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100