Bug Description
Repro steps
- add Apache Doris v2.1.2 connection
- expand connection view
Expected Behavior
Expand Apache Doris-2.1.2 database table metadata view
Actual Behavior
Unable to expand Apache Doris-2.1.2 database table metadata view
Environment
- DBCode version: 1.31.1
- VS Code (or fork) version: 1.120.0 (system setup)
- OS: Windows_NT x64 10.0.26200
- Database: doris-2.1.2-rc04-b130df2488
- Connection: direct
Error Meesages (if applicable)
Error introspecting database some_dbname, error: errCode = 2, detailMessage = Unknown table 'dual'
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If available, paste relevant logs from the Output panel (View > Output > DBCode).
2026-05-15 16:52:36.837 [info] Connection: opened 'some_dbname' on '127.0.0.1:33306' (mysql:8.0.33)
2026-05-15 16:52:37.517 [info] [Debug - 4:52:37 PM] SchemaFactory: Attempting to load schema from storage for 'some_dbname' on connection 'RKfFJvisWYjb6WJY95jZV'
2026-05-15 16:52:37.519 [info] [Debug - 4:52:37 PM] FileStore: Read file 'schemas/RKfFJvisWYjb6WJY95jZV/some_dbname.data', bytes: 841097
2026-05-15 16:52:37.530 [info] [Debug - 4:52:37 PM] FileStore: Parsed file 'schemas/RKfFJvisWYjb6WJY95jZV/some_dbname.data', format: 'cbor'
2026-05-15 16:52:37.551 [info] [Debug - 4:52:37 PM] SchemaFactory: Loaded V2 schema from storage for 'some_dbname' on connection 'RKfFJvisWYjb6WJY95jZV'
2026-05-15 16:52:37.552 [info] [Debug - 4:52:37 PM] SchemaFactory: Attempting to load databases from storage for connection 'RKfFJvisWYjb6WJY95jZV'
2026-05-15 16:52:37.575 [info] [Debug - 4:52:37 PM] FileStore: Read file 'schemas/RKfFJvisWYjb6WJY95jZV/RKfFJvisWYjb6WJY95jZV.data', bytes: 4978
2026-05-15 16:52:37.575 [info] [Debug - 4:52:37 PM] FileStore: Parsed file 'schemas/RKfFJvisWYjb6WJY95jZV/RKfFJvisWYjb6WJY95jZV.data', format: 'cbor'
2026-05-15 16:52:37.575 [info] [Debug - 4:52:37 PM] SchemaFactory: Loaded 36 databases from storage for connection 'RKfFJvisWYjb6WJY95jZV'
2026-05-15 16:52:44.929 [info] [Debug - 4:52:44 PM] LS: reloading schema for RKfFJvisWYjb6WJY95jZV/some_dbname
2026-05-15 16:52:44.929 [info] [Debug - 4:52:44 PM] SchemaFactory: Attempting to load schema from storage for 'some_dbname' on connection 'RKfFJvisWYjb6WJY95jZV'
2026-05-15 16:52:44.931 [info] [Debug - 4:52:44 PM] FileStore: Read file 'schemas/RKfFJvisWYjb6WJY95jZV/some_dbname.data', bytes: 841097
2026-05-15 16:52:44.945 [info] [Debug - 4:52:44 PM] FileStore: Parsed file 'schemas/RKfFJvisWYjb6WJY95jZV/some_dbname.data', format: 'cbor'
2026-05-15 16:52:44.964 [info] [Debug - 4:52:44 PM] SchemaFactory: Loaded V2 schema from storage for 'some_dbname' on connection 'RKfFJvisWYjb6WJY95jZV'
2026-05-15 18:10:06.366 [error] Connection: introspection of 'some_dbname' on '127.0.0.1:39030' error: errCode = 2, detailMessage = Unknown table 'dual'
Bug Description
Repro steps
Expected Behavior
Expand Apache Doris-2.1.2 database table metadata view
Actual Behavior
Unable to expand Apache Doris-2.1.2 database table metadata view
Environment
Error Meesages (if applicable)
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If available, paste relevant logs from the Output panel (View > Output > DBCode).