-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-6.3affects-6.4affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-6.6affects-7.0severity/majorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create table t1(a int);
insert into t1 values(1);
create view tv as select * from t1;
create temporary table t1(a int);
select * from t1 union all select * from tv;
2. What did you expect to see? (Required)
no error
3. What did you see instead (Required)
TiDB root@127.0.0.1:test> select * from t1 union all select * from tv;
(1105, 'runtime error: invalid memory address or nil pointer dereference')
4. What is your TiDB version? (Required)
+--------------------------------+
| tidb_version() |
+--------------------------------+
| Release Version: None |
| Edition: Community |
| Git Commit Hash: None |
| Git Branch: None |
| UTC Build Time: None |
| GoVersion: go1.20.2 |
| Race Enabled: false |
| TiKV Min Version: 6.2.0-alpha |
| Check Table Before Drop: false |
| Store: unistore |
+--------------------------------+
Metadata
Metadata
Assignees
Labels
affects-6.3affects-6.4affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-6.6affects-7.0severity/majorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.