[ 
https://issues.apache.org/jira/browse/FLINK-22104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317620#comment-17317620
 ] 

Shengkai Fang commented on FLINK-22104:
---------------------------------------

The actual line is
{code:java}
LOAD MODULE   Load a module. Syntax: 'LOAD MODULE <name> [WITH ('<key1>' =Q 
'<value1>' [, '<key2>' = '<value2>', ...])];'
{code}
But the expected line is
{code:java}
LOAD MODULE   Load a module. Syntax: 'LOAD MODULE <name> [WITH ('<key1>' = 
'<value1>' [, '<key2>' = '<value2>', ...])];'
{code}
The main problem is the we hijack the {{System.in}} and the client echo the 
input to the output. 

However, we don't need {{QUIT}} in this case. 

> SqlClientTest.testExecuteSqlFile fail
> -------------------------------------
>
>                 Key: FLINK-22104
>                 URL: https://issues.apache.org/jira/browse/FLINK-22104
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.13.0
>            Reporter: Guowei Ma
>            Assignee: Shengkai Fang
>            Priority: Major
>              Labels: test-stability
>             Fix For: 1.13.0
>
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=15996&view=logs&j=0e05564a-179a-5e65-3527-d468802ba62b&t=0f3e9f39-333c-5f88-6bce-3254b2cb21e7&l=8654
> {code:java}
> java.lang.AssertionError: 
> Expected: a string containing "LOAD MODULE\t\tLoad a module. Syntax: 'LOAD 
> MODULE <name> [WITH ('<key1>' = '<value1>' [, '<key2>' = '<value2>', ...])];'"
>      but: was "No default environment specified.
> Searching for 
> '/tmp/junit2344703144390059316/conf/sql-client-defaults.yaml'...not found.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to