flink icon indicating copy to clipboard operation
flink copied to clipboard

[Fix] Fix 'Table.INDEX_TABLE' not found in the Hive3

Open yuzelin opened this issue 3 years ago • 1 comments

What is the purpose of the change

To fix 'Table.INDEX_TABLE' not found in the Hive3 error (It's because hive3 removed this table type).

Brief change log

  • fix TableType.INDEX_TABLE to literally string.

Verifying this change

This change is already covered by existing tests, such as ThriftObjectConversionsTest#testHiveTableTypeToFlinkTableKind.

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
  • The serializers: (yes / no / don't know)
  • The runtime per-record code paths (performance sensitive): (yes / no / don't know)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
  • The S3 file system connector: (yes / no / don't know)

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

yuzelin avatar Aug 09 '22 09:08 yuzelin

CI report:

  • ce5b5703c44161b675cb5004d267f33c96ac1fe6 UNKNOWN
  • 25fce4f907f9bcbf9f798a2d7383b2fc347a4d6b Azure: SUCCESS
Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

flinkbot avatar Aug 09 '22 09:08 flinkbot

I add a commit to trigger the CI test with Hive3 dependencies.

fsk119 avatar Aug 12 '22 02:08 fsk119

The whole project is built successfully after I skip the flink-yarn-tests module. I think the CI compile error will be fixed by other issue. E19ED486-BD6C-4053-AAE6-62547303BC4D

yuzelin avatar Aug 12 '22 04:08 yuzelin

@flinkbot run azure

fsk119 avatar Aug 12 '22 10:08 fsk119