[jira] [Created] (FLINK-13503) Correct the behavior of `JDBCLookupFunction`

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13503) Correct the behavior of `JDBCLookupFunction`

Shang Yuanchun (Jira)
Jing Zhang created FLINK-13503:
----------------------------------

             Summary: Correct the behavior of `JDBCLookupFunction`  
                 Key: FLINK-13503
                 URL: https://issues.apache.org/jira/browse/FLINK-13503
             Project: Flink
          Issue Type: Task
          Components: Connectors / JDBC
    Affects Versions: 1.9.0, 1.10
            Reporter: Jing Zhang


The query template in `JdbcLookUpFunction` like:
SELECT c, d, e, f from T where a = ? and b = ?

If pass (null, 1) to `eval` method, it will generate the following query:
SELECT c, d, e, f from T where a = null and b = ?
Which always outputs empty records.
Is this behavior reasonable?




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)