You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "kingbabingge (via GitHub)" <gi...@apache.org> on 2023/06/06 05:40:37 UTC

[GitHub] [doris-flink-connector] kingbabingge opened a new pull request, #144: [fix]add streamload Content-type for doris URLdecode

kingbabingge opened a new pull request, #144:
URL: https://github.com/apache/doris-flink-connector/pull/144

   # Proposed changes
   
   Issue Number: close #17267
   
   ## Problem Summary:
   
   doris connector bug.
   
   If the data contains %, the doris connector got error.
   
   Steamload sent http request , if has no content-type , default is application/x-www-form-urlencoded
   
   when request has header application/x-www-form-urlencoded ,then spring mvc will decode the body message in FormHttpMessageConverter
   
   but % is not a Legal content.
   
   give a content-type text/plain, can solve the problem.
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes/No/I Don't know)
   2. Has unit tests been added: (Yes/No/No Need)
   3. Has document been added or modified: (Yes/No/No Need)
   4. Does it need to update dependencies: (Yes/No)
   5. Are there any changes that cannot be rolled back: (Yes/No)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [doris-flink-connector] JNSimba closed pull request #144: [fix]add streamload Content-type for doris URLdecode

Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba closed pull request #144: [fix]add streamload Content-type for doris URLdecode
URL: https://github.com/apache/doris-flink-connector/pull/144


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [doris-flink-connector] JNSimba commented on pull request #144: [fix]add streamload Content-type for doris URLdecode

Posted by "JNSimba (via GitHub)" <gi...@apache.org>.
JNSimba commented on PR #144:
URL: https://github.com/apache/doris-flink-connector/pull/144#issuecomment-1580341788

   This error seems to be a problem with the http client, you can try this example https://github.com/apache/doris/blob/master/samples/stream_load/java/DorisStreamLoad.java , % can be written successfully


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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