This is an automated email from the ASF dual-hosted git repository.
diwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 1eb4e5bd06 [Fix](Routineload)routine load does not support lowercase
data source names (#21005)
1eb4e5bd06 is described below
commit 1eb4e5bd065f22f96ddc8052692520e202648cd0
Author: Calvin Kirs <[email protected]>
AuthorDate: Tue Jun 20 11:44:02 2023 +0800
[Fix](Routineload)routine load does not support lowercase data source names
(#21005)
---
.../doris/load/routineload/RoutineLoadDataSourcePropertyFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadDataSourcePropertyFactory.java
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadDataSourcePropertyFactory.java
index bb371ba4ae..ec0d3bbb95 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadDataSourcePropertyFactory.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadDataSourcePropertyFactory.java
@@ -35,14 +35,14 @@ public class RoutineLoadDataSourcePropertyFactory {
public static AbstractDataSourceProperties createDataSource(String type,
Map<String, String> parameters,
boolean
multiLoad) {
- if (type.equals(LoadDataSourceType.KAFKA.name())) {
+ if (type.equalsIgnoreCase(LoadDataSourceType.KAFKA.name())) {
return new KafkaDataSourceProperties(parameters, multiLoad);
}
throw new IllegalArgumentException("Unknown routine load data source
type: " + type);
}
public static AbstractDataSourceProperties createDataSource(String type,
Map<String, String> parameters) {
- if (type.equals(LoadDataSourceType.KAFKA.name())) {
+ if (type.equalsIgnoreCase(LoadDataSourceType.KAFKA.name())) {
return new KafkaDataSourceProperties(parameters);
}
throw new IllegalArgumentException("Unknown routine load data source
type: " + type);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]