pan3793 commented on code in PR #6027: URL: https://github.com/apache/kyuubi/pull/6027#discussion_r1469576615
########## kyuubi-server/src/main/resources/sql/postgresql/metadata-store-schema-1.9.0.postgresql.sql: ########## @@ -0,0 +1,59 @@ +CREATE TABLE IF NOT EXISTS metadata( + key_id bigserial PRIMARY KEY, + identifier varchar(36) NOT NULL, + session_type varchar(32) NOT NULL, + real_user varchar(255) NOT NULL, + user_name varchar(255) NOT NULL, + ip_address varchar(128), + kyuubi_instance varchar(1024), + state varchar(128) NOT NULL, + resource varchar(1024), + class_name varchar(1024), + request_name varchar(1024), + request_conf text, + request_args text, + create_time bigint NOT NULL, + engine_type varchar(32) NOT NULL, + cluster_manager varchar(128), + engine_open_time bigint, + engine_id varchar(128), + engine_name text, + engine_url varchar(1024), + engine_state varchar(32), + engine_error text, + end_time bigint, + priority int NOT NULL DEFAULT 10, + peer_instance_closed boolean DEFAULT FALSE +); + +COMMENT ON COLUMN metadata.key_id IS 'the auto increment key id'; Review Comment: Okay, let's leave it, the current way is fine too. -- 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]
