kangkaisen opened a new pull request #344: Fix worng query result when column value is Null URL: https://github.com/apache/incubator-doris/pull/344 Fix [343](https://github.com/apache/incubator-doris/issues/343) The root cause for [343](https://github.com/apache/incubator-doris/issues/343) is ScanKey is wrong. ``` I1122 18:12:51.577086 21470 olap_scan_node.cpp:380] BuildScanKey I1122 18:12:51.579259 21470 olap_common.h:200] ScanKeys: I1122 18:12:51.579268 21470 olap_common.h:203] ScanKey=[3001,3,-128,1090050 : 3001,3,-128,1090050] I1122 18:12:51.579274 21470 olap_common.h:203] ScanKey=[3001,3,-127,1090050 : 3001,3,-127,1090050] I1122 18:12:51.579279 21470 olap_common.h:203] ScanKey=[3001,3,-126,1090050 : 3001,3,-126,1090050] I1122 18:12:51.580550 21470 olap_common.h:203] ScanKey=[3001,3,126,1090050 : 3001,3,126,1090050] I1122 18:12:51.580555 21470 olap_common.h:203] ScanKey=[3001,3,127,1090050 : 3001,3,127,1090050] ``` So we should add null to ScanKey when ColumnValueRange convert_to_fixed_value. I will add a test case to olap_common_test tomorrow
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
