[fix](new-scan)Fix new scanner load job bugs (#12903)
Fix bugs: 1. Fe need to send file format (e.g. parquet, orc ...) to be while processing load jobs using new scanner. 2. Try to get parquet file column type from SchemaElement.type before getting from Logical type and Converted type.
This commit is contained in:
@ -93,6 +93,7 @@ public class LoadScanProvider implements FileScanProviderIf {
|
||||
ctx.timezone = analyzer.getTimezone();
|
||||
|
||||
TFileScanRangeParams params = new TFileScanRangeParams();
|
||||
params.format_type = formatType(fileGroupInfo.getFileGroup().getFileFormat(), "");
|
||||
params.setStrictMode(fileGroupInfo.isStrictMode());
|
||||
params.setProperties(fileGroupInfo.getBrokerDesc().getProperties());
|
||||
if (fileGroupInfo.getBrokerDesc().getFileType() == TFileType.FILE_HDFS) {
|
||||
|
||||
Reference in New Issue
Block a user