Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15259

HiveInspector.toInspectors() should convert Flink constant to Hive constant

    XMLWordPrintableJSON

    Details

      Description

      repro test:

      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')");
      	}
      }
      

      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

        Attachments

          Activity

            People

            • Assignee:
              lirui Rui Li
              Reporter:
              phoenixjiangnan Bowen Li
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m