[
https://issues.apache.org/jira/browse/FLINK-15290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998200#comment-16998200
]
Rui Li commented on FLINK-15290:
--------------------------------
I set {{table.exec.hive.fallback-mapred-reader}} in flink-conf.yaml. However,
in {{AbstractUdfStreamOperator::open}}, we open the UDF with [an empty
configuration|https://github.com/apache/flink/blob/master/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractUdfStreamOperator.java#L102].
So what I put in flink-conf.yaml is not visible to HiveTableInputFormat.
Replacing the empty configuration with
{{GlobalConfiguration.loadConfiguration()}} solves the problem.
[~ykt836] [~lzljs3620320] Do you think that's the right way to go?
> Need a way to turn off vectorized orc reader for SQL CLI
> --------------------------------------------------------
>
> Key: FLINK-15290
> URL: https://issues.apache.org/jira/browse/FLINK-15290
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Hive
> Reporter: Rui Li
> Priority: Major
> Fix For: 1.10.0
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)