You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/12/20 05:30:32 UTC

[doris-spark-connector] branch master updated: [bug]fix stream load parameter bug (#62)

This is an automated email from the ASF dual-hosted git repository.

jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-spark-connector.git


The following commit(s) were added to refs/heads/master by this push:
     new ccbe097  [bug]fix stream load parameter bug (#62)
ccbe097 is described below

commit ccbe097251f97acb2a01d3bdb1bfbbdaba47d207
Author: Liqf <10...@users.noreply.github.com>
AuthorDate: Tue Dec 20 13:30:26 2022 +0800

    [bug]fix stream load parameter bug (#62)
---
 .../src/main/scala/org/apache/doris/spark/sql/Utils.scala               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spark-doris-connector/src/main/scala/org/apache/doris/spark/sql/Utils.scala b/spark-doris-connector/src/main/scala/org/apache/doris/spark/sql/Utils.scala
index b0e2e15..18dd3b2 100644
--- a/spark-doris-connector/src/main/scala/org/apache/doris/spark/sql/Utils.scala
+++ b/spark-doris-connector/src/main/scala/org/apache/doris/spark/sql/Utils.scala
@@ -104,7 +104,7 @@ private[sql] object Utils {
   def params(parameters: Map[String, String], logger: Logger) = {
     // '.' seems to be problematic when specifying the options
     val dottedParams = parameters.map { case (k, v) =>
-      if (k.startsWith("sink.properties.")){
+      if (k.startsWith("sink.properties.") || k.startsWith("doris.sink.properties.")){
         (k,v)
       }else {
         (k.replace('_', '.'), v)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org