morningman commented on code in PR #32052:
URL: https://github.com/apache/doris/pull/32052#discussion_r1519184807
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/hive/HMSExternalTable.java:
##########
@@ -282,6 +304,82 @@ public List<Column> getPartitionColumns() {
return partitionColumns;
}
+ public TableScanParams getScanParams() {
+ return scanParams;
+ }
+
+ public void setScanParams(TableScanParams scanParams) {
+ if (scanParams != null && "incr".equals(scanParams.getParamType())) {
Review Comment:
define the `incr` value somewhere
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/hive/HMSExternalTable.java:
##########
@@ -225,7 +244,10 @@ public boolean isHoodieCowTable() {
return false;
}
String inputFormatName = remoteTable.getSd().getInputFormat();
- return
"org.apache.hudi.hadoop.HoodieParquetInputFormat".equals(inputFormatName);
+ Map<String, String> paras = remoteTable.getParameters();
Review Comment:
```suggestion
Map<String, String> params = remoteTable.getParameters();
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]