[FEAT MERGE] load data support compress file
Co-authored-by: ant-ob-hengtang <zj458684356@gmail.com>
This commit is contained in:
@ -2772,12 +2772,13 @@ int ObLoadDataSPImpl::ToolBox::init(ObExecContext &ctx, ObLoadDataStmt &load_stm
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
file_read_param.file_location_ = load_file_storage;
|
||||
file_read_param.filename_ = load_args.file_name_;
|
||||
file_read_param.access_info_ = load_args.access_info_;
|
||||
file_read_param.packet_handle_ = &ctx.get_my_session()->get_pl_query_sender()->get_packet_sender();
|
||||
file_read_param.session_ = ctx.get_my_session();
|
||||
file_read_param.timeout_ts_ = THIS_WORKER.get_timeout_ts();
|
||||
file_read_param.file_location_ = load_file_storage;
|
||||
file_read_param.filename_ = load_args.file_name_;
|
||||
file_read_param.compression_format_ = load_args.compression_format_;
|
||||
file_read_param.access_info_ = load_args.access_info_;
|
||||
file_read_param.packet_handle_ = &ctx.get_my_session()->get_pl_query_sender()->get_packet_sender();
|
||||
file_read_param.session_ = ctx.get_my_session();
|
||||
file_read_param.timeout_ts_ = THIS_WORKER.get_timeout_ts();
|
||||
|
||||
if (OB_UNLIKELY(ObLoadFileLocation::OSS == load_file_storage &&
|
||||
ObLoadDataFormat::CSV != load_args.access_info_.get_load_data_format())) {
|
||||
|
||||
Reference in New Issue
Block a user