[Refactor] Use file factory to replace create file reader/writer (#9505)

1. Simplify code logic and improve abstraction
2. Fix the mem leak of raw pointer

Co-authored-by: lihaopeng <lihaopeng@baidu.com>
This commit is contained in:
HappenLee
2022-06-08 15:07:39 +08:00
committed by GitHub
parent 2ed523440f
commit 94089b9192
68 changed files with 427 additions and 429 deletions

View File

@ -19,7 +19,7 @@
#include "common/status.h"
#include "exec/decompressor.h"
#include "exec/file_reader.h"
#include "io/file_reader.h"
// INPUT_CHUNK must
// larger than 15B for correct lz4 file decompressing