Versions Compared

Key

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

...

In alter statements if a users says to create a primary key on a nullable column the operation should fail.

DDL default value

If a user does not provide the enforcement flag the ENFORCED will be set implicitly. This mode will be unsupported in the initial version and it will throw an exception.

Usage of primary key information for sources and sinks

...

  1. Add the primary key information to CatalogBaseTable
  2. Use the primary key information in optimizer
  3. Modify HiveCatalog connector to provide the primary key information
  4. Introduce DDL (side note: this is not aimed for 1.10)

Test Plan

We want to make sure, we can leverage the primary key information stored in Hive. This might require changes to the Hive catalog connector in regards to the produced TableSchema.

...