Revision a5ccbced8c1d6f41e5287269294642f32e445976 authored by madianjun on 06 December 2019, 07:39:49 UTC, committed by Dongjoon Hyun on 06 December 2019, 07:39:49 UTC
### What changes were proposed in this pull request? A bug fixed about the code in getBlockHosts() function. In the case "The fragment ends at a position within this block", the end of fragment should be before the end of block,where the "end of block" means `b.getOffset + b.getLength`,not `b.getLength`. ### Why are the changes needed? When comparing the fragment end and the block end,we should use fragment's `offset + length`,and then compare to the block's `b.getOffset + b.getLength`, not the block's length. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? No test. Closes #26650 from mdianjun/fix-getBlockHosts. Authored-by: madianjun <madianjun@jd.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
1 parent da27f91
File | Mode | Size |
---|---|---|
catalyst | ||
core | ||
hive | ||
hive-thriftserver | ||
README.md | -rw-r--r-- | 1.1 KB |
create-docs.sh | -rwxr-xr-x | 1.6 KB |
gen-sql-markdown.py | -rw-r--r-- | 5.8 KB |
mkdocs.yml | -rw-r--r-- | 871 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...