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

Stephan Ewen commented on FLINK-10166:
--------------------------------------

Looks like an dependency that is used, but not declared (only implicitly 
inherited in some cases).

To guard against that in the future, there is an enforcer rule to prevent 
referencing transitive dependencies: 
https://maven.apache.org/enforcer/enforcer-rules/banTransitiveDependencies.html

In this specific case, can we avoid using commons.codec and have a Base64 coder 
in Flink? Seems like a very small piece of functionality, and avoiding too many 
dependencies makes life easier for users of systems like Flink.

> Dependency problems when executing SQL query in sql-client
> ----------------------------------------------------------
>
>                 Key: FLINK-10166
>                 URL: https://issues.apache.org/jira/browse/FLINK-10166
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>    Affects Versions: 1.6.0
>            Reporter: Dawid Wysakowicz
>            Priority: Major
>
> When tried to run query:
> {code}
> select count(distinct name) from (Values ('a'), ('b')) AS NameTable(name)
> {code}
> in {{sql-client.sh}} I got:
> {code}
> [ERROR] Could not execute SQL statement. Reason:
> org.codehaus.commons.compiler.CompileException: Line 43, Column 10: Unknown 
> variable or type "org.apache.commons.codec.binary.Base64"
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to