Skip to content

Abount Exception [Can not find owner from table.] #4810

@phoema

Description

@phoema

Version
5.0.0-RC1-SNAPSHOT from master branch

Question

sorry, ref #4806 was closed timely
may be no user can see new message in it , so I open a new issue.

My
HintManager.clear();
HintManager hintManager = HintManager.getInstance();
hintManager.setDatabaseShardingValue(user.getTenantId());
it means
databaseShardingOnly = true;

if every table must be config,if not config then exception。
but my temp table name Alias will be not config in xml file.
like RES
it can be exception with 【Can not find owner from table.】
org.apache.shardingsphere.sql.parser.binder.segment.select.projection.engine.ProjectionsContextEngine

is this the same question with #4806 question ?

SELECT DISTINCT
RES.*
FROM
(
SELECT
SELF.*,
DEF.NAME_,
DEF.VERSION_
FROM
ACT_HI_PROCINST SELF
LEFT JOIN ACT_RE_PROCDEF DEF ON SELF.PROC_DEF_ID_ = DEF.ID_
WHERE
( 1 = 1 AND SELF.PROC_INST_ID_ = ? )
) RES
ORDER BY
RES.ID_ ASC
LIMIT ? OFFSET ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions