mchades commented on issue #2946: URL: https://github.com/apache/gravitino/issues/2946#issuecomment-2270221802
> > > @mchades I had test it with main branch, I found this bug still exists. So I will reopen this issue. > > > > > > I used the table creation request described by you and was able to create it successfully. Can you provide more detailed errors and reproduction steps for failures? > > Sorry, I use mariadb as mysql catalog. So there is a little different in default value for type datetime. > > MySQL is > > ``` > CREATE TABLE `test_table10` ( > `id` int NOT NULL DEFAULT '-1' COMMENT 'id column comment', > `StartingDate` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'StartingDate column comment' > ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='This is an example table (From Gravitino, DO NOT EDIT: gravitino.v1.uid2578171798626417481)' > ``` > > mariadb is > > ``` > CREATE TABLE `test_table10` ( > `id` int(11) NOT NULL DEFAULT -1 COMMENT 'id column comment', > `StartingDate` datetime NOT NULL DEFAULT current_timestamp() COMMENT 'StartingDate column comment' > ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This is an example table (From Gravitino, DO NOT EDIT: gravitino.v1.uid1019119279519593239)' > ``` Could you please provide the error stack as well? -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org