Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27748

NUCLEUS_TABLES DDLs are missing from MSSQL metastore installation scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0-beta-1
    • None
    • Standalone Metastore
    • None

    Description

      The DDL statements creating/altering the NUCLEUS_TABLES technical table is present in the installation scripts of:

      but is missing from those of the Microsoft SQL Server (https://github.com/apache/hive/blob/57f096c9a73eb92806f2a7cc97f87fabf5d546fe/standalone-metastore/metastore-server/src/main/sql/mssql/hive-schema-4.0.0-beta-2.mssql.sql).

      According to the comments in the code this table is required if datanucleus.autoStartMechanism=SchemaTable and it may not always be generated automatically.

      I haven't checked to what extend this is problematic for the HMS when running with MSSQL but it certainly creates inconsistencies on the functionality of the SchemaTool that should behave the same on every database.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zabetak Stamatis Zampetakis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: