ruochenxing opened a new issue, #34748: URL: https://github.com/apache/doris/issues/34748
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version version : 1.2.6 branch: 1.2.6-rc03-hotfix ### What's Wrong? # two tables: CREATE TABLE `test1` ( `id` largeint(40) NULL COMMENT '物理主键' ) ENGINE=OLAP UNIQUE KEY(`id`) COMMENT 'test1' DISTRIBUTED BY HASH(`id`) BUCKETS AUTO PROPERTIES ( "replication_allocation" = "tag.location.default: 3", "in_memory" = "false", "storage_format" = "V2", "light_schema_change" = "true", "disable_auto_compaction" = "false" ); CREATE TABLE `test2` ( `_id` VARCHAR(32) NULL COMMENT '主键', `ruleParam` jsonb NULL , `ruleResult` jsonb NULL ) ENGINE = OLAP UNIQUE KEY(`_id`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`_id`) BUCKETS AUTO PROPERTIES ( "replication_allocation" = "tag.location.default: 3", "in_memory" = "false", "storage_format" = "V2", "disable_auto_compaction" = "false" ); # execute sql: SELECT * FROM test1 LEFT JOIN ( SELECT _id,ruleParam FROM test2) t2 ON 1=1 LIMIT 10 ; # error: errCode = 2, detailMessage = Unexpected exception: Failed analysis after expr substitution: errCode = 2, detailMessage = can not cast from origin type DECIMAL(27,9) to target type=JSONB is bug? how to fixed? ### What You Expected? how to fixed? ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org