henrib commented on code in PR #4569:
URL: https://github.com/apache/hive/pull/4569#discussion_r1291066982
##########
standalone-metastore/metastore-server/src/main/sql/mssql/upgrade-4.0.0-alpha-2-to-4.0.0-beta-1.mssql.sql:
##########
@@ -44,6 +44,8 @@ UPDATE "SERDES"
LEFT JOIN "SDS" ON "TBLS"."SD_ID" = "SDS"."SD_ID"
WHERE "TBL_ID" IN (SELECT "TBL_ID" FROM "TABLE_PARAMS" WHERE
"PARAM_VALUE" LIKE '%KuduStorageHandler%')
);
+-- HIVE-27499
+CREATE UNIQUE INDEX NOTIFICATION_LOG_UNIQUE_DB ON NOTIFICATION_LOG (DB_NAME,
EVENT_ID);
Review Comment:
I believe this new index is helping selectivity for notification log queries
qualified by a database name and a range on event_id (if not mistaken). Adding
table,catalog name would not help this purpose.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]