You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Bowen Li (Jira)" <ji...@apache.org> on 2020/01/02 04:49:00 UTC
[jira] [Commented] (FLINK-15259) HiveInspector.toInspectors()
should convert Flink constant to Hive constant
[ https://issues.apache.org/jira/browse/FLINK-15259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006586#comment-17006586 ]
Bowen Li commented on FLINK-15259:
----------------------------------
[~lirui] there's conflict when merging in 1.9. if we want to backport to 1.9, can you open a separate hotfix pr?
> HiveInspector.toInspectors() should convert Flink constant to Hive constant
> ----------------------------------------------------------------------------
>
> Key: FLINK-15259
> URL: https://issues.apache.org/jira/browse/FLINK-15259
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Hive
> Affects Versions: 1.9.0, 1.10.0
> Reporter: Bowen Li
> Assignee: Rui Li
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.10.0, 1.11.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> repro test:
> {code:java}
> public class HiveModuleITCase {
> @Test
> public void test() {
> TableEnvironment tEnv = HiveTestUtils.createTableEnvWithBlinkPlannerBatchMode();
> tEnv.unloadModule("core");
> tEnv.loadModule("hive", new HiveModule("2.3.4"));
> tEnv.sqlQuery("select concat('an', 'bn')");
> }
> }
> {code}
> seems that currently HiveInspector.toInspectors() didn't convert Flink constant to Hive constant before calling hiveShim.getObjectInspectorForConstant
> I don't think it's a blocker
--
This message was sent by Atlassian Jira
(v8.3.4#803005)