You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/11/23 08:39:23 UTC

[GitHub] [incubator-streampark] vincent183 opened a new issue, #2080: [Bug] The REGEXP REPLACE function in Flinks-1.14.4 does not take effect

vincent183 opened a new issue, #2080:
URL: https://github.com/apache/incubator-streampark/issues/2080

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   When I used FlinkSQL's built-in functions to parse line strings, I was able to implement REGEXP_REPLACE() in the IDEA test environment and the Flink cli. When I use regexp_replace() in the sql edit bar of streamPark, the REGEXP_REPLACE() function always fails.
   
   
    Here are the SQL files and raw data:
   
   [JSON_STR.txt](https://github.com/apache/incubator-streampark/files/10073780/JSON_STR.txt)
   [SQL_STR.txt](https://github.com/apache/incubator-streampark/files/10073781/SQL_STR.txt)
   
   
   ### StreamPark Version
   
   1.2.4
   
   ### Java Version
   
   1.8
   
   ### Flink Version
   
   1.14.4
   
   ### Scala Version of Flink
   
   2.12
   
   ### Error Exception
   
   ```log
   The result is returned normally (with no change in the data), except that the REGEXP_REPLACE() method does not take effect.
   
   The two methods were tested separately. SubString() works, REGEXP_REPLACE() does not
   ```
   
   
   ### Screenshots
   
   ![image](https://user-images.githubusercontent.com/88198097/203501646-31d3a929-2351-4ce2-b418-e9b98e468002.png)
   
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: issues-unsubscribe@streampark.apache.org.apache.org

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