Skip to content

[Bug]: table not found when the table is with`` #3363

Closed

Description

@aressu1985

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):0.5.0
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

CREATE TABLE BB (col_char_key char(1));
CREATE TABLE CC ( pk int, col_datetime_key datetime);
INSERT INTO BB VALUES ('X');
INSERT INTO CC VALUES (1,'2027-03-17 00:10:00'), (2,'2004-11-14 12:46:43');
#skip_if_hypergraph # Different warnings.
SELECT COUNT(table1.pk) FROM CC table1 JOIN BB table3 JOIN CC table2
WHERE (table3.col_char_key < table2.col_datetime_key);

[ERROR]
[SCRIPT FILE]: cases/function/func_cast.test
[ROW NUMBER]: 483
[SQL STATEMENT]: SELECT COUNT(table1.pk) FROM CC table1 JOIN BB table3 JOIN CC table2
WHERE (table3.col_char_key < table2.col_datetime_key);
[EXPECT RESULT]:
COUNT(table1.pk)
4
[ACTUAL RESULT]:
table "cc" does not exist

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added
    kind/bug
    bvt
    on Jun 24, 2022
  2. added this to the v0.5.0 milestone on Jun 24, 2022
  3. self-assigned this
    on Jun 24, 2022
  4. ouyuanning commented on Jun 24, 2022

    @ouyuanning
    Contributor

    see #3190

  5. added a commit that references this issue on Jun 27, 2022
    c5dfe92
  6. added a commit that references this issue on Jun 28, 2022
    32fd7f5
  7. added 2 commits that reference this issue on May 7, 2026
    811edb6
    0bb60b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bvtkind/bugtriage/accepted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions