healchow commented on code in PR #6168:
URL: https://github.com/apache/inlong/pull/6168#discussion_r997644841


##########
inlong-manager/manager-web/sql/apache_inlong_manager.sql:
##########
@@ -338,7 +344,7 @@ CREATE TABLE IF NOT EXISTS `inlong_stream_field`
     `rank_num`            smallint(6)  DEFAULT '0' COMMENT 'Field order 
(front-end display field order)',
     `is_deleted`          int(11)      DEFAULT '0' COMMENT 'Whether to delete, 
0: not deleted, > 0: deleted',
     PRIMARY KEY (`id`),
-    KEY `field_stream_id_index` (`inlong_stream_id`)
+    KEY `group_field_index` (`inlong_group_id`, `inlong_stream_id`)

Review Comment:
   Suggest changing the `KEY` to `INDEX`, because some DBMS will not add an 
index for KEY.



-- 
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]

Reply via email to