phoema commented on issue #4806: Only Use Hint to shard switch database,with 
not sqlParse
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4806#issuecomment-600016950
 
 
   The answer was timely
   Thanks
   
   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 upper 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 ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to