wyxxxcat opened a new issue, #31892:
URL: https://github.com/apache/doris/issues/31892

   ### 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
   
   v2.0.5
   
   ### What's Wrong?
   
   ### 错误信息:
   ![alt text](https://krseoul.imgtbl.com/i/2024/03/06/65e824f4770f7.png)
   
   
   ### 错误定位
   seek_to_position_in_page函数返回的status需要通过_seek_to_pos_in_page向上层传递
   但是将1085行static_cast<void>改为RETURN_IF_ERROR 在回归测试中会造成invalid pos
   ![alt text](https://krseoul.imgtbl.com/i/2024/03/06/65e82525958e9.png)
   
   ### What You Expected?
   
   ![alt text](https://krseoul.imgtbl.com/i/2024/03/06/65e863d6ab052.png)
   
   ### How to Reproduce?
   
   ```
   CREATE TABLE IF NOT EXISTS tbl_scalar_types_dup_3keys (
       `c_datetimev2` datetimev2(0) NULL,
       `c_bigint` bigint(20) NULL,
       `c_decimalv3` decimalv3(20, 3) NULL,
       `c_bool` boolean NULL,
       `c_tinyint` tinyint(4) NULL,
       `c_smallint` smallint(6) NULL,
       `c_int` int(11) NULL,
       `c_largeint` largeint(40) NULL,
       `c_float` float NULL,
       `c_double` double NULL,
       `c_decimal` decimal(20, 3) NULL,
       `c_date` datev2 NULL,
       `c_datetime` datetimev2 NULL,
       `c_datev2` datev2 NULL,
       `c_char` char(15) NULL,
       `c_varchar` varchar(100) NULL,
       `c_string` text NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(`c_datetimev2`, `c_bigint`, `c_decimalv3`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`c_bigint`) BUCKETS 10
   PROPERTIES("replication_num" = "1", "store_row_column" = "true");
   
   INSERT INTO tbl_scalar_types_dup_3keys SELECT `c_datetimev2`, `c_bigint`, 
`c_decimalv3`,
               `c_bool`, `c_tinyint`, `c_smallint`, `c_int`, `c_largeint`,
               `c_float`, `c_double`, `c_decimal`, `c_date`, `c_datetime`, 
`c_datev2`,
               `c_char`, `c_varchar`, `c_string` FROM tbl_scalar_types_dup;
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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

Reply via email to