aditiwari01 commented on issue #2756: URL: https://github.com/apache/hudi/issues/2756#issuecomment-813447613
The same behaviour is seen for both snapshot query over spark and hive query over _rt table, since both of them uses same read path. To be more specific, the issue seems to be in class `AbstractHoodieLogRecordScanner`, method `createHoodieRecord`. Here we are creating HoodieRecord from IndexRecord without ordering val, and hence setting orderingVal=0 for all Records, irrespective of PayloadClass used. I'm thinking about getting precombine field from hoodie meta client and use that as orderingVal while creating the Hoodie Record. Does it sound fine? -- 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: us...@infra.apache.org