Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • translate to the Operation that manipulates the Hive MetaStore
  • Users can lookup the Operation status and manage the submitted Operation.

After the FLIP finishes, the users can do all the functionality above in the Flink SQL Gateway with HiveServer2 endpoint.


Overall Design

HiveServer2 has the similar architecture we describe in the FLIP-91. User should register the Session in the SessionManager before submitting the statement. After that, the user uses the SessionHandle to find the registered resources in the Session and execute the statements. All statements will be translated to the Operation and use the OperationHandle to fetch the results or logs. Therefore, the HiveServer2 endpoint gurantees:

...